Commit graph

8689 commits

Author SHA1 Message Date
Joseph Schorr
7068010751
Merge pull request #3186 from quay/joseph.schorr/QUAY-1013-1015/manifest-migration
First phase of V2_2 data model migrations
2018-08-06 13:56:14 -04:00
Joseph Schorr
a46660a06f Add new Manifest, ManifestLabel, ManifestLegacyImage and ManifestBlob tables and start writing and GCing to/from them
This change also starts passing in the manifest interface, rather than the raw data, to the model for writing.

Note that this change does *not* backfill the existing rows in to the new tables; that will occur in a followup PR. The new columns in `tagmanifest` and `tagmanifestlabel` will be used to track the backfill, as it will occur in a worker.
2018-08-06 13:01:11 -04:00
Joseph Schorr
36c7482385 Define a formal manifest interface and implement in the schema1 and schema2 manifests
This will allow us to pass arbitrary manifests to the model
2018-08-06 13:01:11 -04:00
Joseph Schorr
cf5a6e1adc Remove old audit manifests tool 2018-08-06 13:01:11 -04:00
Sida Chen
6efe262217
Merge pull request #3188 from KeyboardNerd/sidchen/notification_datetime_bug
Fixes empty "created" field in notification
2018-08-06 12:58:38 -04:00
Joseph Schorr
2c61c87712
Merge pull request #3184 from quay/joseph.schorr/QUAY-970/logentry
Change id column in LogEntry to a BigInt and migrate back to using that table
2018-08-02 11:02:21 -04:00
Sida Chen
415631153a Fixes empty "created" field in notification
Fixes https://jira.coreos.com/browse/QUAY-1022
2018-08-01 17:17:47 -04:00
Sida Chen
6c7a4215ac
Merge pull request #3185 from KeyboardNerd/sidchen/html-noti
Removes HTML tags shown in Browser Notification
2018-07-31 20:23:11 -04:00
Sida Chen
fbf5134b2e updated according to comment 2018-07-31 17:10:50 -04:00
Joseph Schorr
41b6240945
Merge pull request #3187 from quay/update-roadmap
Update the Quay roadmap
2018-07-31 16:37:49 -04:00
Joseph Schorr
9f556ce50c Update the Quay roadmap 2018-07-31 16:33:54 -04:00
Sida Chen
bf4cef4870 Removes HTML tags shown in Browser Notification
Fixes https://jira.coreos.com/browse/QUAY-956
2018-07-31 11:48:14 -04:00
Joseph Schorr
7325b22c90 Change id column in LogEntry to a BigInt and migrate back to using that table 2018-07-30 12:42:56 -04:00
Joseph Schorr
5e4d52f1fd
Merge pull request #3183 from quay/fix-repo-api
Fix issue accessing a null tagmanifest under a tag in a repository
2018-07-25 17:10:26 -04:00
Joseph Schorr
c34eacb4fa Fix issue accessing a null tagmanifest under a tag in a repository 2018-07-25 16:14:20 -04:00
Brad Ison
cf8e71f1e8
Merge pull request #3182 from bison/nginx-vts
Add vhost-traffic-status module to Nginx
2018-07-25 20:15:11 +02:00
Brad Ison
662daf1351
Add config for nginx vhost-traffic-status module 2018-07-25 12:57:13 -04:00
Joseph Schorr
e6a35157ec
Merge pull request #3129 from quay/peewee-three-july
Upgrade Peewee to latest 3.x
2018-07-25 12:49:12 -04:00
Joseph Schorr
65c1594a81 Remove ACI tests because they are brittle 2018-07-24 17:47:52 -04:00
Joseph Schorr
3ce8a0279a Increase liveserver timeout on older registry tests 2018-07-24 15:51:21 -04:00
Joseph Schorr
57b5f4b363 Increase MySQL timeouts 2018-07-24 13:36:33 -04:00
Joseph Schorr
c599aa5e87 Update peewee 3 to latest version 2018-07-24 12:52:01 -04:00
Joseph Schorr
601ef416cb Fix transaction over savepoint in initdb 2018-07-24 11:37:06 -04:00
Brad Ison
083ba2bc78
Build nginx-vts module for nginx stats 2018-07-23 16:44:19 -04:00
Brad Ison
643a06e73a
Update test.db 2018-07-23 16:44:17 -04:00
Joseph Schorr
8e425ee559 Fix for merge 2018-07-23 12:43:23 -04:00
Joseph Schorr
9a40e99a8f Enhancements for validation of DB urls
We now turn off retries and DB pooling, and make sure to always close the connection
2018-07-23 12:43:23 -04:00
Joseph Schorr
d15dcae505 Reenable retry wrapper on database operations 2018-07-23 12:43:23 -04:00
Brad Ison
d3d9cca182 Upgrade Peewee to latest 3.x
This requires a number of small changes in the data model code, as well as additional testing.
2018-07-23 12:43:23 -04:00
Joseph Schorr
70b7ee4654
Merge pull request #3180 from quay/fix-copy-for-empty
Fix copy table for empty table
2018-07-21 16:34:34 -04:00
Joseph Schorr
b5a1dd8f70 Fix copy table for empty table 2018-07-21 16:20:38 -04:00
Joseph Schorr
0346cb651e
Merge pull request #3148 from quay/joseph.schorr/QUAY-950/appr-step-3
Phase 3 of Appr migration
2018-07-21 15:46:54 -04:00
Joseph Schorr
487edf0ba1 Phase 3 of Appr migration
Deletes the old models and their code
2018-07-21 15:43:00 -04:00
Joseph Schorr
223077ef53 Phase 2 of Appr migration
Backfills the new tables from the old ones, and switches all code to read and write from the new tables
2018-07-21 15:43:00 -04:00
Joseph Schorr
a3c3c0abc7 Phase 1 of migrating APPR-specific tables to tables with the Appr prefix
Fixes https://jira.coreos.com/browse/QUAY-950
2018-07-21 15:43:00 -04:00
Joseph Schorr
11eaab5756
Merge pull request #3134 from quay/joseph.schorr/QUAY-950/appr-step-2
Phase 2 of Appr migration
2018-07-21 15:27:53 -04:00
Joseph Schorr
acb7d626a4 Phase 2 of Appr migration
Backfills the new tables from the old ones, and switches all code to read and write from the new tables
2018-07-21 15:25:04 -04:00
Joseph Schorr
d75e932d09
Merge pull request #3093 from quay/joseph.schorr/QUAY-950/appr-step-1
Phase 1 of Appr migration
2018-07-21 14:58:14 -04:00
Joseph Schorr
113bb96f29 Phase 1 of migrating APPR-specific tables to tables with the Appr prefix
Fixes https://jira.coreos.com/browse/QUAY-950
2018-07-20 13:19:01 -04:00
Joseph Schorr
6622f27c93 Rename oci_model to appr_model 2018-07-20 12:46:19 -04:00
Joseph Schorr
61ff489601
Merge pull request #3179 from quay/move-storagereplication-test
Move storagereplication test under the workers test directory
2018-07-19 15:59:07 -04:00
Sam Chow
e470c0d010
Merge pull request #3178 from quay/project/more-cleanup
Small font-awesome fixes, add favicon, warning against local storage
2018-07-19 15:56:53 -04:00
Joseph Schorr
1a2e2f54e1 Move storagereplication test under the workers test directory 2018-07-19 15:56:20 -04:00
Sam Chow
f0d4841155
Merge pull request #3171 from quay/docs/config-tool
Add docs for using config tool to create config
2018-07-19 14:50:31 -04:00
Sam Chow
e70f0fff7c Small font-awesome fixes, add localstorage warning 2018-07-19 13:45:49 -04:00
Sam Chow
a19836694e Update to reflect db login must be superuser 2018-07-19 13:20:16 -04:00
Sam Chow
a3e71db7fc Update docs remove Container Linux references 2018-07-19 13:17:30 -04:00
Joseph Schorr
eea2dad3ae
Merge pull request #3176 from quay/fix-ssl-import
Fix SSL test import
2018-07-19 12:01:06 -04:00
Joseph Schorr
f4b05df179 Fix SSL test import 2018-07-19 11:59:14 -04:00
Joseph Schorr
dc19bdfb05
Merge pull request #3175 from quay/move-util-tests
Move remaining util tests into pytest
2018-07-19 11:42:57 -04:00