Commit graph

9144 commits

Author SHA1 Message Date
Sida Chen
d0d44605a9 Fix null path exception when checking path
tsc compiles default parameter to have `path === void 0`, which doesn't
catch the case of path is null.
2018-10-22 23:50:40 -04:00
Joseph Schorr
d18a7935e1 Fix pytest fixture import issue with hashability of tmpdir_factory 2018-10-18 14:42:54 -04:00
Joseph Schorr
4a7b4ad06a Fix disabled namespace check 2018-10-18 14:25:40 -04:00
Joseph Schorr
cbf0edb164 Address remaining usage of the old data interface 2018-10-18 14:25:40 -04:00
Joseph Schorr
3a8a913ad3 Convert V2's catalog endpoint to use the new data model interface 2018-10-18 14:25:40 -04:00
Joseph Schorr
e91ba98e1b Convert V2's tag endpoints to use the new data model interface 2018-10-18 14:25:40 -04:00
Joseph Schorr
6b5064aba4 Convert V2's manifest endpoints to use the new data model interface 2018-10-18 14:25:40 -04:00
Joseph Schorr
a172de4fdc Reimplement cache support for blobs in the registry data model 2018-10-18 14:25:40 -04:00
Joseph Schorr
7a68c41f1c Convert V2 to use the blob uploader interface 2018-10-18 14:25:40 -04:00
Joseph Schorr
0ae062be62 Add manifest creation to new registry data model interface 2018-10-18 14:25:39 -04:00
Joseph Schorr
818ed32f87 Add function in data interface for mounting blobs into other repositories 2018-10-18 14:25:39 -04:00
Joseph Schorr
03789b2210 Add interface for batch creation of labels on a manifest
This cannot be a true batch operation right now because of the current mapping table entries needed, but we can create and use the interface now and change the underlying implementation later
2018-10-18 14:25:39 -04:00
Joseph Schorr
8cfb3f4fe8 Add interface function for deleting tags pointing to a manifest 2018-10-18 14:25:39 -04:00
Kenny Lee Sin Cheong
bb01e08d44
Fix ipresolver test_thread_missing_file (#3268)
There is no guarantee that the assertion would happen AFTER "sleep" is
called.

Block the caller for an amount of time to give "update_ip_thread" time to call "sleep" and raise LoopInterruptionForTest exception to terminate the thread.
2018-10-15 17:18:11 -04:00
Kenny Lee Sin Cheong
fc67bbd0a6
IPResolver: fix unreachable code (#3267)
* Fix unreachable code

_get_aws_ip_ranges handles missing file exceptions and returns None,
so the excepttion handling block in the UpdateIPRange thread is never reached.

* Test for missing range file in resolver thread
2018-10-12 10:24:28 -04:00
Joseph Schorr
0f1d415c49
Merge pull request #3263 from quay/new-tier
Add new 2000 repo pricing tier
2018-10-02 22:44:29 -04:00
Joseph Schorr
ce19273c54
Merge pull request #3257 from quay/joseph.schorr/QUAY-1030/interfacing-part-9-2
Finish changing V1 to use new registry data model
2018-09-30 15:59:50 -04:00
Joseph Schorr
4520f9e842 Change V1 to use the manifest builder and new registry data model 2018-09-28 17:30:04 -04:00
Joseph Schorr
65d5be23c7 Implement a manifest builder, to allow for easier management of state around constructing manifests 2018-09-28 15:52:43 -04:00
Joseph Schorr
91afeefebe Add new 2000 repo pricing tier 2018-09-28 15:42:57 -04:00
Joseph Schorr
8b7254d377
Merge pull request #3260 from quay/delete-swift-empty-segments
Make sure empty segments in Swift are deleted on upload cancelation
2018-09-27 17:22:56 -04:00
Joseph Schorr
dd23718142
Merge pull request #3262 from quay/fix-trigger-sperc
Fix spec for test of manage trigger
2018-09-27 16:31:50 -04:00
Joseph Schorr
db8219185c Fix spec for test of manage trigger 2018-09-27 16:29:09 -04:00
Joseph Schorr
9cd17d78d2
Merge pull request #3261 from quay/joseph.schorr/QUAY-1096/github-org
Add clear instructions to the github trigger setup on how to authorize additional organizations
2018-09-27 16:14:14 -04:00
Joseph Schorr
1f8e0b72be Add clear instructions to the github trigger setup on how to authorize additional organizations
Until now, this has been quite hard for customers to find
2018-09-27 15:59:00 -04:00
Joseph Schorr
b1411d4d52 Make sure empty segments in Swift are deleted on upload cancelation 2018-09-27 15:12:04 -04:00
Joseph Schorr
b894d8e58c
Merge pull request #3203 from quay/joseph.schorr/QUAY-1029/backfill-tag-labels
Add a worker for backfilling labels on manifests that have already been backfilled
2018-09-26 16:17:13 -04:00
Joseph Schorr
aeceea0f97 Add a worker for backfilling labels on manifests that have already been backfilled 2018-09-26 14:55:14 -04:00
Joseph Schorr
01ee1e693c
Merge pull request #3259 from quay/client-v1-test
Turns out that box version 0.9.1 also needs the V1 SSL cert
2018-09-26 14:15:00 -04:00
Joseph Schorr
c76fc2935a Turns out that box version 0.9.1 also needs the V1 SSL cert 2018-09-26 13:27:49 -04:00
Joseph Schorr
1224930af8
Merge pull request #3258 from quay/more-client-tests
Add additional versions of Docker against which we can test
2018-09-26 12:50:28 -04:00
Joseph Schorr
e70abfa09e Add additional versions of Docker against which we can test 2018-09-25 18:21:39 -04:00
Joseph Schorr
ccb1670d78
Merge pull request #3256 from quay/docker-client-tester
Add an end-to-end test suite for different versions of Docker
2018-09-25 16:55:06 -04:00
Joseph Schorr
7f1835c978 Add an end-to-end test suite for different versions of Docker
This script, when run, will boot up a Container Linux VM (via vagrant) with a specific version of Docker installed, and then run a login, push and pull test against the host machine's Quay instance.
2018-09-25 14:33:30 -04:00
Joseph Schorr
468e5a8fc2
Merge pull request #3250 from quay/joseph.schorr/QUAY-1030/interfacing-part-9
Implement blob uploader and change V1 to use it
2018-09-24 16:03:41 -04:00
Joseph Schorr
5422386de4 Make absolutely sure we have foreign keys enabled on all tests 2018-09-24 12:54:56 -04:00
Joseph Schorr
3dc9ddc6b3 Add an additional multilayer push/pull test 2018-09-24 12:54:56 -04:00
Joseph Schorr
7567808a10 Fix bug in V1 delete tag code and add a test 2018-09-24 12:54:56 -04:00
Joseph Schorr
077c3908e4 Change V1 upload code to use the new blob uploader 2018-09-24 12:54:56 -04:00
Joseph Schorr
ba39737c3a Add blob uploader helper class, for easy management of all the state associated with uploading blobs 2018-09-24 12:54:56 -04:00
Joseph Schorr
c10e3bf973
Merge pull request #3255 from quay/joseph.schorr/QUAY-1087/allow-basic-auth-on-secscan
Allow use of basic auth for security scan endpoints
2018-09-21 15:06:26 -04:00
Joseph Schorr
a38edea11b Allow use of basic auth for security scan endpoints
This will allow the security labeler to send a pull secret to retrieve security information for a manifest

Fixes https://jira.coreos.com/browse/QUAY-1087
2018-09-21 13:54:33 -04:00
Joseph Schorr
f9da0caaa4
Merge pull request #3254 from quay/joseph.schorr/QUAY-1069/robot-creds
Set maximum width on display of robot names
2018-09-20 16:55:09 -04:00
Joseph Schorr
a1b9c1086d
Merge pull request #3253 from quay/joseph.schorr/QUAY-981/logs-markdown
Only markdown strings in builder service when explicitly whitelisted
2018-09-20 15:27:14 -04:00
Joseph Schorr
8404d25fd4 Set maximum width on display of robot names
Fixes https://jira.coreos.com/browse/QUAY-1069
2018-09-20 13:59:03 -04:00
Joseph Schorr
430f91b868
Merge pull request #3252 from quay/joseph.schorr/QUAY-1004/fix-clipboard-copy
Fix clipboard copy box to not cause reflow
2018-09-20 11:40:19 -04:00
Joseph Schorr
bfd873c8e4 Only markdown strings in builder service when explicitly whitelisted 2018-09-20 11:35:31 -04:00
Joseph Schorr
5cde147426 Fix clipboard copy box to not cause reflow
Instead, we now put the "Copied" message inline in the box and have it both fade and slide rightward away
2018-09-18 14:17:33 -04:00
Joseph Schorr
5d2fe535b4 Add ability to commit blob uploads into blobs 2018-09-14 17:15:25 -04:00
Joseph Schorr
f68fbb8028 Add blob upload to new registry data model 2018-09-14 17:15:25 -04:00