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
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
Sam Chow
ec14007268
Merge pull request #3207 from quay/project/gen-sec-key
...
Add the service key creation to config tool
2018-08-16 16:48:15 -04:00
Sam Chow
9faba7f5c3
Add backend ability to generate sec keys in config app
2018-08-16 16:45:41 -04:00
Joseph Schorr
e13baa9041
Merge pull request #3206 from quay/fix-unicode-schemas
...
Fix unicode manifests in the backfill
2018-08-16 13:24:17 -04:00
Sam Chow
0bc22d810a
Add components for generating sec keys
2018-08-15 17:18:41 -04:00
Sam Chow
cc9bedbeb9
refactor approval service key to not need approver
2018-08-15 17:18:41 -04:00
Jimmy Zelinskie
7edf679670
Merge pull request #3195 from jzelinskie/v2-accept-headers
...
V2 accept headers
2018-08-15 16:54:47 -04:00
Sam Chow
3c8252d808
Merge pull request #3200 from quay/project/kube-config
...
Kube QE user can create/modify deployment with config tool
2018-08-15 16:34:45 -04:00
Jimmy Zelinskie
9f8b1e2831
gitignore: ignore all of the pytest cache
2018-08-15 14:49:26 -04:00
Jimmy Zelinskie
6d4300a92a
test/registry: add accept header test
2018-08-15 14:49:26 -04:00
Jimmy Zelinskie
b7573a8c88
endpoints/v2: fail clients not accepting schema v1
2018-08-15 14:49:26 -04:00
Sam Chow
eea5fe3391
Add cycling deployments and updating config
...
Add kube config with refactor to kube accessor
Add tests for k8s accessor, some styling changes
2018-08-15 14:17:12 -04:00
Jimmy Zelinskie
568ca1d7ba
delete trailing whitespace
2018-08-15 13:21:26 -04:00
Joseph Schorr
2b4d52a357
Migrate the manifest bytes column to UTF8
2018-08-15 11:41:26 -04:00
Joseph Schorr
fa58f3b1d2
Fix handling of manifests with unicode in the backfill
...
Also adds a bunch of tests around manifests to ensure we get the same information in and out
2018-08-15 11:41:15 -04:00
Joseph Schorr
a66a4d6a10
Merge pull request #3205 from quay/backfill-storages-from-manifest
...
Change manifest backfill to lookup missing content checksums in the repository
2018-08-14 16:42:25 -04:00