1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Joseph Schorr
0844256a71 Major post-OCI cleanup (#225)
* Remove V3_UPGRADE_MODE

* Remove tag backfill worker and all callers to tag backfill and upgrades

* Change initdb to create all test data via the manifest builder, rather than manually via legacy images

* Convert various code paths to use the registry_model where we previously did not do so

* Convert the GC test suite to build via the manifest builder

* Delete an old, unused tool

* Delete the Pre OCI registry model

* Add additional error handling to the manifest creation code path

* Add additional error handling to the OCI tag creation code path

* Change how we respond to invalid manifest content types to better handle unknowns

* Change legacy secscan test suite to use the registry model

* Change the repo build badge to use the registry model (also fixes a bug)

* Delete now-unused data model code

* Remove old model adjustment code from OCI model

* Mark older data models as deprecated which will prevent new rows from being inserted

* Remove references to old registry test suite from various testing files

* Remove tag backfill worker (again; got re-added during rebase)

* Move all deprecated model checks into a central function

* Make data_migration more Pythonic

* Small requested fixes to Tag module styling

* Have tag backfill worker fail to migrate if there are TagManifest's

Since this backfill should only be called in future releases for empty models, this should catch someone attempting to upgrade from a too-old version

* Remove labelbackfillworker as it is no longer needed

* Remove unused invalid import

* Reimplement the tag test for the remaining method used
2020-03-17 13:27:29 -04:00
alecmerdler
3dd5f045ff fix all the docstrings 2020-02-05 19:55:07 -08:00
Joseph Schorr
6db1910a97 Change repository deletion to occur in the background
Fixes https://issues.redhat.com/browse/PROJQUAY-124
2020-01-27 14:16:01 -05:00
Tejas Parikh
431bdfb282 Fixed CI failure due to formatting issue
Signed-off-by: Tejas Parikh <tparikh@redhat.com>
2020-01-21 11:32:11 -05:00
Tejas Parikh
56a3bc443f PROJQUAY-181: updated nginx to redirect http to https for quay.io
[ci skip]

JIRA: https://issues.redhat.com/browse/PROJQUAY-181

http://quay.io should be redirected to https://quay.io

Set FEATURE_PROXY_PROTOCOL to True in config.yml to enable proxy protocol support for HTTP traffic.

Signed-off-by: Tejas Parikh <tparikh@redhat.com>
2020-01-21 11:12:52 -05:00
Tejas Parikh
33149f253c follow sym links for extra certs
Signed-off-by: Tejas Parikh <tparikh@redhat.com>
2019-12-17 12:34:47 -05:00
Jake Moshenko
23750e2d2a Allow quay to forward logs to syslog 2019-12-13 15:07:41 -05:00
Jimmy Zelinskie
2b3d4f7bf9 conf/init: add validate supervisord config test
This test replaces the previous test that made sure jinja templated to
an exact match of what is expected. This was brittle and required that
both be maintained synchrously. This replacement test instead verifies
that what jinja generates validates when parsed by supervisord.
2019-12-05 12:05:43 -05:00
Jimmy Zelinskie
51bdb627f9 conf/init: remove service directory
These are no longer used and have been replaced with the jinja templated
supervisord.conf at conf/supervisord.conf.jnj.
2019-12-05 12:05:43 -05:00
Jimmy Zelinskie
7687e16fc1 conf: replace prometheus aggregator w/ pushgateway
This change replaces the homegrown Prometheus aggregation process that
runs inside the container with the upstream Prometheus PushGateway.
2019-12-05 12:05:43 -05:00
Tom McKay
e6ae94db8b 'make black' results 2019-12-02 12:23:08 -05:00
Joseph Schorr
9834bddae6 Fix the alembic version returned if there is no active data migration 2019-11-15 13:12:20 -05:00
kbrwn
92aa3cf963 issues.jboss.org/projects/PROJQUAY/issues/PROJQUAY-4
Fixes an issue encountered when attempting to pull images from Quay via podman when storage proxying is enabled. Configures nginx to clear the Authorization header to ensure that storage engine does not raise a 400
2019-11-12 13:27:05 -08:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00