Commit graph

8808 commits

Author SHA1 Message Date
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
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
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
Kenny Lee Sin Cheong
b39051c142
Merge pull request #3223 from kleesc/UpdateIPRange
Create UpdateIPRange class
2018-08-31 17:09:17 -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
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
a04658085b Add configuration flag to control whether we backfill manifests
This will allow us to easily turn off the backfill once it is initially complete, but also reenable it if necessary
2018-08-27 17:22:43 -04:00
Joseph Schorr
2cc4fdd48b
Merge pull request #3228 from quay/joseph.schorr/QUAY-1030/interfacing-part-7
Move manifest backfill into the new registry model
2018-08-27 17:19:42 -04:00
Will Gordon
7cfc7e2a70 Update Quay enterprise trial page
Signed-off-by: Will Gordon <wgordon@redhat.com>
2018-08-27 15:40:49 -04:00
Joseph Schorr
581ec47798 Handle the cases where an existing tag manifest or manifest has already been created 2018-08-27 15:02:03 -04:00
Joseph Schorr
f297249100 Move manifest backfill for V1 tags into the new registry model interface 2018-08-27 15:01:27 -04:00
Joseph Schorr
95b7850c20
Merge pull request #3226 from quay/retarget-return
Reverting a tag doesn't mean it always has an existing image, so remove that check
2018-08-27 12:56:13 -04:00
Joseph Schorr
55afa2ca08 Reverting a tag doesn't mean it always has an existing image, so remove that check 2018-08-27 12:52:27 -04:00
Sam Chow
fb9c4fecce
Merge pull request #3212 from quay/delete-setup-page
Delete setup page
2018-08-27 12:47:15 -04:00
Sam Chow
128cf0a28d Copy over more services for polling
Use a class for rollout status response

Add some better errors

Add override styles for success case
2018-08-27 11:45:51 -04:00
Sam Chow
a40e1e939a Merge branch 'master' into delete-setup-page 2018-08-27 11:26:51 -04:00
Will Gordon
c0e0cf0934 Add missing setup steps to README 2018-08-26 15:17:09 -04:00
Joseph Schorr
f209c7e8ea
Merge pull request #3224 from quay/joseph.schorr/QUAY-1030/interfacing-part6
Continue work on interfacing registry data access
2018-08-24 15:42:53 -04:00
Joseph Schorr
bbf9e52a6d Remove recursive image history
We don't need it and it breaks our API for larger manifests
2018-08-24 15:27:13 -04:00
Joseph Schorr
17920d3071 Change test API usage to use new registry model
Note: We remove some incompatible tests here, but they are covered by the new-style tests in the secscan package under API
2018-08-24 15:04:22 -04:00
Joseph Schorr
5dfccb9f2c Update manifest test to use new registry_model 2018-08-24 13:18:34 -04:00
Joseph Schorr
f9f47e68c3 Remove unused imagetree class 2018-08-24 13:16:05 -04:00
Joseph Schorr
6f8ec1deac
Merge pull request #3222 from quay/joseph.schorr/QUAY-1030/interfacing-part5
More data interfacing
2018-08-24 13:07:05 -04:00
Sam Chow
975a3bfe3b
Merge pull request #3221 from quay/test-certs
Script to test certs
2018-08-24 12:54:10 -04:00
Joseph Schorr
a9ebb183f9 Change repositories API endpoint to use the new registry data model 2018-08-24 11:25:36 -04:00
Joseph Schorr
a96c5a7f64 Optimize the new registry data model to avoid unnecessary queries 2018-08-24 11:25:24 -04:00
Sam Chow
dabad24cae Add test for certs_install script
Add make ability for travis ci
2018-08-24 11:04:13 -04:00
Joseph Schorr
46edebe6b0 Change secscan API endpoints to use new registry model interface 2018-08-23 16:36:04 -04:00
Joseph Schorr
dcaa98a428
Merge pull request #3219 from quay/joseph.schorr/QUAY-1030/interfacing-part4
Change tags API endpoint to use new registry model interface
2018-08-23 15:30:16 -04:00
Sam Chow
0681784012
Merge pull request #3220 from quay/certs-fix
Fix certs install script (again)
2018-08-23 14:05:21 -04:00
Sam Chow
d58930095f Fix certs install script (again) 2018-08-23 13:33:57 -04:00
Sam Chow
cd6b0a6f46 Merge branch 'master' into delete-setup-page 2018-08-23 12:46:08 -04:00
Joseph Schorr
bc99dd7963 Change tags API endpoint to use new registry model interface 2018-08-22 18:03:57 -04:00
Joseph Schorr
8225c61a1f Implement tag functions in new registry model interface 2018-08-22 18:03:57 -04:00
Sam Chow
d936d778da Add Rollout status to kube config tool 2018-08-22 16:56:58 -04:00