Commit graph

8783 commits

Author SHA1 Message Date
Joseph Schorr
7fa3506723 Add created_datetime to schema1 format 2018-08-27 18:03:58 -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
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
a40e1e939a Merge branch 'master' into delete-setup-page 2018-08-27 11:26:51 -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
Joseph Schorr
affe80972f
Merge pull request #3216 from quay/joseph.schorr/QUAY-1030/interfacing-part3
Change manifest API endpoints to use new registry data interface
2018-08-22 13:19:41 -04:00
Joseph Schorr
a0a6a3d67d Change manifest API endpoints to use new registry data interface 2018-08-21 17:26:32 -04:00
Joseph Schorr
6c494f4917
Merge pull request #3213 from quay/joseph.schorr/QUAY-1030/continue-interfacing
Continue work on changing registry data access to be behind an interface
2018-08-21 15:32:20 -04:00
Sam Chow
d9f7c07f42 Add db configuration to modifying config
Move more tests over
2018-08-21 15:19:24 -04:00
Joseph Schorr
5a997eb4e3 Change label creation function to return the label created 2018-08-21 14:27:10 -04:00
Sam Chow
b56899aa96
Merge pull request #3214 from quay/project/mod-cluster
Add ability to populate q.e. config from kube cluster
2018-08-21 10:24:34 -04:00
Sam Chow
d44aa8f566 Add error message to app if secret missing in quay 2018-08-20 17:14:52 -04:00
Sam Chow
df25ec0061 Add ability to populate config from kube cluster 2018-08-20 16:47:42 -04:00
Joseph Schorr
23ff49f0c1 Adjust usage of image model in manifest model 2018-08-20 16:47:38 -04:00
Joseph Schorr
584a18c0e1 Change datatype base to raise AttributeError on missing keys 2018-08-20 15:49:51 -04:00
Joseph Schorr
7b95082a99 Change image API endpoint to use new registry model 2018-08-20 15:49:51 -04:00
Joseph Schorr
254f06e634 Implement legacy image portion of the data model
This also makes use of the newly created input system
2018-08-20 15:49:51 -04:00
Joseph Schorr
8aafbf8b8c Switch the registry data model types to our own class constructor
This allows us to hide the DB ID from external-to-the-package users of the types and will allow us to add model-level caching as well
2018-08-20 15:49:51 -04:00
Joseph Schorr
9f96e595ac Change build component labeling to use new registry interface 2018-08-20 15:49:51 -04:00
Joseph Schorr
b096e793fd
Merge pull request #3211 from quay/backfill-shared-manifests
Fix TagManifests with shared digests under the same repository.
2018-08-20 15:31:24 -04:00
Joseph Schorr
301532279c Fix broken registry data interface tests 2018-08-20 13:01:12 -04:00
Joseph Schorr
ed897626a2 Handle data model exceptions when loading parent images in manifest backfill 2018-08-20 11:32:59 -04:00
Joseph Schorr
e30b746aef Fix TagManifests with shared digests under the same repository.
TagManifests can (apparently, in very rare scenarios) share manifests with the exact same digests, so we need to support that case in the backfill worker. We also need to remove a unique constraint on the manifest column in the mapping table to support this case.
2018-08-20 11:32:59 -04:00
Sam Chow
6afc00bf77 Remove old setup page from main app
Change page for incomplete setup

Remove old endpoints not in use
2018-08-20 10:30:21 -04:00
Sam Chow
8a83bf7c81
Merge pull request #3210 from quay/project/kube-tls
Add ability to add extra certs for config tool
2018-08-20 10:07:10 -04:00
Sam Chow
ff294d6c52 Add init script to download extra ca certs 2018-08-17 15:42:42 -04:00
Joseph Schorr
6414e580f6
Merge pull request #3204 from quay/joseph.schorr/QUAY-1030/registry-interface
Start on a basic registry_model interface
2018-08-17 15:31:11 -04:00
Sam Chow
5b400f4c22 Add one-action transplant of kube secret 2018-08-17 11:00:04 -04:00
Sam Chow
8eb7d73f22
Merge pull request #3208 from quay/project/2-spaces
Fix formatting for the config app
2018-08-17 10:30:22 -04:00
Sam Chow
efa66d84e4 Change spacing from 4 spaces to 2 spaces 2018-08-16 16:49:10 -04:00