Commit graph

9037 commits

Author SHA1 Message Date
Joseph Schorr
54aca8206b
Merge pull request #3246 from quay/joseph.schorr/QUAY-1079/oidc-improvements
OIDC improvements
2018-09-12 16:17:51 -04:00
Joseph Schorr
7424a6d73a Add additional multi-layer complex squashing test 2018-09-12 15:26:57 -04:00
Jimmy Zelinskie
867e809ddc
Merge pull request #3247 from jzelinskie/fix
endpoints/api: fix docs on dates for logs API
2018-09-12 13:09:41 -04:00
Jimmy Zelinskie
2da80aa1a0 endpoints/api: fix docs on dates for logs API
The code actually adds the timezone, so previously this was very
confusing telling the user that they needed to provide the timezone.
2018-09-12 13:06:42 -04:00
Joseph Schorr
90c0e34945 Add ability to configure custom email and username claims
This will help customers support active directory-based OIDC
2018-09-12 11:14:23 -04:00
Joseph Schorr
995ba4fd75
Merge pull request #3245 from quay/log-archive-json-bug
Handle the case where the log metadata JSON cannot be parsed
2018-09-07 16:06:22 -04:00
Joseph Schorr
b19443c4e1
Merge pull request #3244 from kleesc/IPResolver-fix
Fix: Should not break from ipresolver thread
2018-09-07 15:48:08 -04:00
Joseph Schorr
5240140a96 Add support for POST calls to OIDC endpoints 2018-09-07 14:52:00 -04:00
Kenny Lee Sin Cheong
4834c281cb nit: styling 2018-09-07 13:50:56 -04:00
Kenny Lee Sin Cheong
105a7c0ea6 Worker started flag 2018-09-07 13:40:20 -04:00
Joseph Schorr
a4fff886a6 Handle the case where the log metadata JSON cannot be parsed
This can happen if the JSON overflowed the text field in the table, for example

Fixes https://sentry.io/coreos/backend-production/issues/670957592/
2018-09-07 13:34:22 -04:00
Kenny Lee Sin Cheong
7743cc44fa Handle exceptions when trying to start resolver thread 2018-09-07 13:26:49 -04:00
Kenny Lee Sin Cheong
7563d97be4 Fix: Should not break from ipresolver thread 2018-09-07 09:55:09 -04:00
Joseph Schorr
f9414c256d
Merge pull request #3241 from quay/joseph.schorr/QUAY-1047/diskspace-health
Add health check for node disk space
2018-09-06 14:35:47 -04:00
Joseph Schorr
8ed8817a31
Merge pull request #3240 from quay/joseph.schorr/QUAY-1035/builder-cloudconfig
Move SSH keys and other config hard-coded config out of the build worker template
2018-09-06 14:35:34 -04:00
Joseph Schorr
49edf51a48
Merge pull request #3243 from quay/fix-old-ssl-handling
Forgot that we use proxy protocol for production, so we need a new block for v1.quay.io
2018-09-06 14:00:31 -04:00
Joseph Schorr
d71201ac50 Forgot that we use proxy protocol for production, so we need a new block for v1.quay.io 2018-09-06 13:59:21 -04:00
Joseph Schorr
7bc173ed62
Merge pull request #3242 from quay/remove-v1-staging
Remove v1-staging from server_name
2018-09-06 13:53:35 -04:00
Joseph Schorr
2439cc6327 Remove v1-staging from server_name 2018-09-06 13:50:19 -04:00
Joseph Schorr
a94f657cb7 Add health check for node disk space
If a node runs out of disk space, nginx can no longer swap, and this can cause issues with large pushes

Fixes https://jira.coreos.com/browse/QUAY-1047
2018-09-05 17:57:22 -04:00
Joseph Schorr
cd1b4042ae Move SSH keys and other config hard-coded config out of the build worker template
In addition to removing our public keys from git, this will also allow additional customization

Fixes https://jira.coreos.com/browse/QUAY-1035
2018-09-05 17:36:01 -04:00
Kenny Lee Sin Cheong
56809ef125
Merge pull request #3239 from kleesc/IPResolver-fix
UpdateIPRange thread start on the 1st call to _get_location_function
2018-09-05 13:45:50 -04:00
Kenny Lee Sin Cheong
bff91c0fb9 UpdateIPRange thread start on the 1st call to _get_location_function
Thread will start on first call to _get_location_function as opposed
to IPResolver's new instance.
2018-09-05 13:35:55 -04:00
Joseph Schorr
d4233595a2
Merge pull request #3235 from quay/serve-old-certs
Add nginx configuration to serve our older SSL certificate from v1.quay.io and v1-staging.quay.io
2018-09-05 13:10:22 -04:00
Joseph Schorr
109bda3a6a Add nginx configuration to serve our older SSL certificate from v1.quay.io and v1-staging.quay.io
This will allow us to upgrade our cluster to the new SSL certificate, while still serving the older one for older clients
2018-09-05 13:05:47 -04:00
Joseph Schorr
1953cfcd6e
Merge pull request #3236 from quay/small-fixes
Setup reroutes when complete, fix gunicorn healthcheck
2018-09-04 16:35:57 -04:00
Joseph Schorr
db5b8e68f0
Merge pull request #3237 from quay/qe-readiness
Add all kube templates
2018-09-04 16:35:48 -04:00
Kenny Lee Sin Cheong
b39051c142
Merge pull request #3223 from kleesc/UpdateIPRange
Create UpdateIPRange class
2018-08-31 17:09:17 -04:00
Sam Chow
9ecf5c1c27 Add all kube templates 2018-08-31 15:39:56 -04:00
Sam Chow
dbce986af6 Setup reroutes when complete, fix gunicorn check 2018-08-31 15:17:48 -04:00
Kenny Lee Sin Cheong
b6336393de Make IPResolver run the update in a separate thread
A separate thread will cache the results of parsing the range
file, and the IPResolver will hit the cache instead of blocking while recomputing the
ranges everytime. The thread updates every 600s, and retry every 60s on
failures.
2018-08-31 14:00:53 -04:00
Sam Chow
e711c1efe6
Merge pull request #3230 from quay/project/rollback-deploy
Add ability to rollback config to config tool (kube deployments)
2018-08-30 10:17:43 -04:00
Joseph Schorr
f252b0b16f Move verbs endpoint to use new registry data model 2018-08-29 16:38:54 -04:00
Joseph Schorr
bafab2e734 Change tar stream formatters to be based on tag and manifest, instead of legacy images 2018-08-29 16:38:54 -04:00
Joseph Schorr
c92294c218 Add compressed_size to both schema formats on their layers 2018-08-29 16:38:54 -04:00
Joseph Schorr
6c5c2f1a75 Add new methods to registry data model interface in prep for moving verbs to using it 2018-08-29 16:38:54 -04:00
Joseph Schorr
4854f123da
Merge pull request #3225 from wgordon17/add-missing-setup-steps
Add missing setup steps to README
2018-08-29 16:13:57 -04:00
Sam Chow
465e342aba Adds tests for some config helpers 2018-08-29 16:12:56 -04:00
Sam Chow
d80f995433
Merge pull request #3233 from quay/config-readme
Add config app README
2018-08-29 16:04:39 -04:00
Joseph Schorr
7aa0091398
Merge pull request #3232 from quay/fix-shared-manifest-gc-bug
Fix bug where GC attempts to delete manifests that are shared by multiple tag manifests
2018-08-29 13:58:03 -04:00
Sam Chow
9695c98e5f Add config ability to rollback changes on kube 2018-08-29 13:37:52 -04:00
Sam Chow
630d52f70e Add config app readme 2018-08-29 12:48:17 -04:00
Sam Chow
2b59432414
Merge pull request #3218 from quay/project/pod-status
Add Rollout status to kube config tool
2018-08-29 12:42:33 -04:00
Joseph Schorr
ce61ec6668 Fix bug where GC attempts to delete manifests that are shared by multiple tag manifests
Also adds a test for this case

All of this will be moot once we get rid of tag manifests, but for now, its causing exceptions
2018-08-29 11:11:52 -04:00
Sam Chow
a6ffe49cba Extract out deployment rollout and add tests 2018-08-28 17:29:09 -04:00
Joseph Schorr
cd513f7482
Merge pull request #3231 from quay/hidden-tags-fix
Disallow access in the new registry model to hidden tags
2018-08-28 15:53:11 -04:00
Joseph Schorr
70e233ab5c Disallow access in the new registry model to hidden tags
This was causing problems with certain build cache pulls
2018-08-28 13:34:58 -04:00
Joseph Schorr
f2050bfbe7
Merge pull request #3227 from wgordon17/update-enterprise-trial
Update Quay enterprise trial page
2018-08-28 13:17:52 -04:00
Joseph Schorr
c67da0c814
Merge pull request #3229 from quay/backfill-config-flag
Add configuration flag to control whether we backfill manifests
2018-08-27 19:55:14 -04:00
Joseph Schorr
7fa3506723 Add created_datetime to schema1 format 2018-08-27 18:03:58 -04:00