Commit graph

9208 commits

Author SHA1 Message Date
Joseph Schorr
b86d389c8e Add ability to restrict V1 push behind a namespace whitelist
Also enables the feature by default with an empty whitelist for QE

Fixes https://jira.coreos.com/browse/QUAY-1342
2019-03-05 17:33:32 -05:00
Joseph Schorr
d3dd2f7b7c
Merge pull request #3397 from quay/joseph.schorr/QUAY-1418/fix-v1-push
Fix V1 push for layers already uploaded
2019-03-05 13:40:19 -05:00
Joseph Schorr
bdae32630e Fix V1 push for layers already uploaded 2019-03-05 12:13:01 -05:00
Sida Chen
79a115b01d
Merge pull request #3391 from KeyboardNerd/cert_on_client_tests
Add support to verify TLS on client tests
2019-03-04 15:34:47 -05:00
Sida Chen
3edbd6caf6
Merge pull request #3396 from KeyboardNerd/QUAY-1227
Mount SSL certs in config_app if given
2019-03-04 14:16:26 -05:00
Sida Chen
c8dd36dcc6 Mount SSL certs in config_app if given
Fixes https://jira.coreos.com/browse/QUAY-1227
2019-03-04 14:06:00 -05:00
Joseph Schorr
393b5dff9d
Merge pull request #3395 from quay/joseph.schorr/QUAY-1385/remove-superuser-req
Remove requirement for superuser when loading existing config
2019-03-04 13:53:56 -05:00
Joseph Schorr
9b23c7a174 Remove requirement for superuser when loading existing config 2019-03-04 13:28:40 -05:00
Sida Chen
2819c264cd
Merge pull request #3393 from KeyboardNerd/wtf
Remove wtf
2019-03-01 18:33:53 -05:00
Sida Chen
09b37f10aa Add support to verify TLS on client tests 2019-03-01 15:38:24 -05:00
Sida Chen
20f93a6805 Remove wtf 2019-03-01 15:32:39 -05:00
Joseph Schorr
c7fe467cc8
Merge pull request #3392 from quay/squashed-additional-logging
Add additional logging information to squashed image exception
2019-03-01 13:04:42 -05:00
Joseph Schorr
ef13fd06e0 Add additional logging information to squashed image exception 2019-03-01 12:53:03 -05:00
Joseph Schorr
26b1aef33e
Merge pull request #3390 from quay/joseph.schorr/QUAY-1383/change-logo
Update references from CoreOS to Red Hat
2019-03-01 11:32:29 -05:00
Joseph Schorr
4a42d782a6
Merge pull request #3389 from quay/joseph.schorr/QUAY-1176/remove-default-support
Remove pre-defined Quay.io specific contact information
2019-02-28 15:54:37 -05:00
Joseph Schorr
dcf6a68af8 Update references from CoreOS to Red Hat 2019-02-28 15:53:45 -05:00
Joseph Schorr
b9ec390ff6 Remove pre-defined Quay.io specific contact information
Fixes https://jira.coreos.com/browse/QUAY-1176
2019-02-28 15:40:23 -05:00
Joseph Schorr
9d3543a353
Merge pull request #3315 from quay/joseph.schorr/QUAY-1266/manifestlist-validation
Add architecture validation to manifest lists that contain schema 1 manifests
2019-02-27 18:32:21 -05:00
Joseph Schorr
dbe64c8327
Merge pull request #3386 from quay/joseph.schorr/QUAY-1352/storage-proxy
Add storage proxy option into the configuration tool
2019-02-27 16:59:24 -05:00
Joseph Schorr
17c624e596 Add storage proxy option into the configuration tool 2019-02-27 16:44:43 -05:00
Joseph Schorr
e78e021ea6
Merge pull request #3385 from quay/external-lib-retry
Add automatic retry to external lib downloader
2019-02-26 16:26:45 -05:00
Joseph Schorr
ab3a1983f9 Add automatic retry to external lib downloader 2019-02-26 16:21:24 -05:00
Joseph Schorr
07fccb8703
Merge pull request #3383 from quay/joseph.schorr/QUAY-1371/optimize-log-archive
Optimize the logs archiving worker to not issue extremely long queries
2019-02-26 16:05:50 -05:00
Joseph Schorr
694734a042
Merge pull request #3384 from quay/hide-export-logs
Hide all of the export log APIs when the feature is disabled
2019-02-26 15:57:13 -05:00
Joseph Schorr
1bf2875eca Hide all of the export log APIs when the feature is disabled 2019-02-26 14:41:00 -05:00
Joseph Schorr
91e9fe8050 Optimize the logs archiving worker to not issue extremely long queries
Fixes https://jira.coreos.com/browse/QUAY-1371
2019-02-26 14:37:42 -05:00
thomasmckay
2bebea23f7
Merge pull request #3382 from thomasmckay/1166-rebrand-quay
1166 - 'Quay Enterprise' to 'Red Hat Quay'
2019-02-26 10:42:08 -05:00
Tom McKay
674e471973 1166 - 'Quay Enterprise' to 'Red Hat Quay' 2019-02-25 18:27:11 -05:00
Joseph Schorr
f0f2d9cdf4 Add architecture validation to manifest lists that contain schema 1 manifests
Fixes https://jira.coreos.com/browse/QUAY-1266
2019-02-22 13:39:54 -05:00
Joseph Schorr
b5a5ce7c43
Merge pull request #3380 from quay/joseph.schorr/QUAY-1353/always-new-tag-manifest
Always create a new tag manifest row when backfilling in the old data model
2019-02-20 17:20:32 -05:00
Joseph Schorr
a8d64f153e
Merge pull request #3346 from quay/client-test-improvements
Client test improvements
2019-02-20 16:25:13 -05:00
Joseph Schorr
72ef93b73c Add a podman client test 2019-02-20 16:07:05 -05:00
Joseph Schorr
77fa28a749 Always create a new tag manifest row when backfilling in the old data model
This is temporary anyway, but it will allow us to finish the backfill without having to worry about newer tags being displayed with just their V1IDs

Fixes https://jira.coreos.com/browse/QUAY-1353
2019-02-20 16:04:31 -05:00
Joseph Schorr
6e36138251
Merge pull request #3359 from quay/logs-interface-tests
Add tests for the logs model interface
2019-02-20 15:06:12 -05:00
Joseph Schorr
d763361069
Merge pull request #3378 from quay/joseph.schorr/QUAY-1351/fix-super-large-manifest-backfill
Fix backfills of super large manifests by stripping metadata from all but the final layer
2019-02-20 15:00:13 -05:00
Joseph Schorr
96083956b9
Merge pull request #3377 from quay/joseph.schorr/QUAY-1350/additional-storage-assertions
Add additional assertions and further checks in storage code
2019-02-20 13:12:07 -05:00
Joseph Schorr
693e47e063 Add additional assertions and further checks in storage code 2019-02-20 12:12:56 -05:00
Joseph Schorr
bacf074219 Fix backfills of super large manifests by stripping metadata from all but the final layer
This is semantically valid because Docker only uses the leaf layer as the image config when reading a V2_1 manifest

Fixes https://jira.coreos.com/browse/QUAY-1351
2019-02-20 12:08:20 -05:00
Joseph Schorr
6b30702699
Merge pull request #3375 from quay/catch-manifest-exceptions
Catch manifest exceptions when backfilling for invalid images
2019-02-19 15:39:52 -05:00
Joseph Schorr
b6272c8934 Catch manifest exceptions when backfilling for invalid images 2019-02-19 15:36:19 -05:00
Joseph Schorr
46478bc603
Merge pull request #3374 from quay/joseph.schorr/QUAY-1309/oci-rollout
Add ability for proportional rollout of the OCI data model
2019-02-19 11:55:19 -05:00
Joseph Schorr
77d7600b64 Add ability for proportional rollout of the OCI data model 2019-02-18 16:34:43 -05:00
Joseph Schorr
66ddf66fb0
Merge pull request #3372 from quay/small-exception-fixes
Small exception fixes
2019-02-18 14:59:46 -05:00
Joseph Schorr
bcbcb1e197
Merge pull request #3373 from quay/remove-head-check
Remove the HEAD check for a file being read in cloud storage
2019-02-18 14:59:36 -05:00
Joseph Schorr
f07d7e0a73 Remove the HEAD check for a file being read in cloud storage
In addition to being unnecessary, it also causes read-after-write issues occasionally on S3
2019-02-18 14:27:28 -05:00
Joseph Schorr
15ec09cb58
Merge pull request #3365 from quay/joseph.schorr/QUAY-1332/anon-access-header
Have the V2 registry endpoints raise Unauthorized with the proper header when anonymous access is disabled
2019-02-18 13:08:25 -05:00
Joseph Schorr
eef4094f56 Catch parsing errors in image API
Fixes https://sentry.io/organizations/coreos/issues/664440779/
2019-02-18 13:02:46 -05:00
Joseph Schorr
ca5ec6f10f
Merge pull request #3366 from quay/joseph.schorr/QUAY-1333/creds-dialog-fix
Remove dex from the CLI username whitelist
2019-02-18 12:16:01 -05:00
Joseph Schorr
68300b2644 Catch exceptions when trying to read HTTP body in logs
Fixes https://sentry.io/organizations/coreos/issues/627586398/events/9ea9873f11e6456abc58f5de10951e44/?project=52148
2019-02-18 12:11:35 -05:00
Joseph Schorr
166fd671c8 Validate the namespace before looking it up
This will prevent unicode errors when trying to lookup unicode in the database

Fixes https://sentry.io/organizations/coreos/issues/628269769/?project=52148
2019-02-18 12:09:25 -05:00