Commit graph

9123 commits

Author SHA1 Message Date
Joseph Schorr
36db133b86 Pull out common shared code in the data model interface 2018-11-01 17:59:10 -04:00
Joseph Schorr
c0653ef2ad Add Tag, TagKind and ManifestChild tables in prep for new data model 2018-11-01 17:59:09 -04:00
Joseph Schorr
053d918d67 Rename pre oci model tests in preparation for the new model (the tests will be applicable to both models) 2018-11-01 17:59:09 -04:00
Joseph Schorr
6c29baf3fc
Merge pull request #3281 from quay/georep-fix
Fixes for georeplication
2018-11-01 17:58:32 -04:00
Joseph Schorr
ebc57da843 Tiny fixes found in review 2018-11-01 17:45:39 -04:00
Joseph Schorr
0fb3d6847e Add a script for verifying the placements of blobs in storage. If a blob is not present in storage, its placement will be removed. 2018-11-01 11:44:49 -04:00
Kenny Lee Sin Cheong
8805d64eca Build phase message: add missing case 2018-11-01 11:22:59 -04:00
Joseph Schorr
859bbec3dc
Merge pull request #3272 from quay/joseph.schorr/QUAY-1171/registry-jwt-tests
Implement a basic test suite for jwtutil and add extra checks to the decode method
2018-10-31 17:03:49 -04:00
Joseph Schorr
6a9634dffb Harden the storage replication worker to failures by explicitly catching certain errors, having better backoff and explicitly ensuring a layer has been replicated to a region before adding the placement into the database
Also adds tests for the various failure cases
2018-10-31 14:13:25 -04:00
Joseph Schorr
088a301754 Add extra exception handling around stream_write in verbs 2018-10-31 12:46:58 -04:00
Joseph Schorr
3a0adfcb11 Fix stream_write to properly raise an exception on failure, instead of just silently failing
This was causing problems for customers using georeplication over unstable storage engines

Also adds tests for stream_write and copy,  to ensure we detect failure
2018-10-31 12:46:49 -04:00
Joseph Schorr
a048ff3633
Merge pull request #3279 from quay/fix-torrent-info-bug
Fix NPE bug in torrentinfo set call
2018-10-31 11:33:11 -04:00
Joseph Schorr
366bddd20a Fix NPE bug in torrentinfo set call
Fixes https://sentry.io/coreos/backend-production/issues/747494304
2018-10-30 16:47:59 -04:00
Joseph Schorr
4868f17832 Implement a basic test suite for jwtutil and add extra checks to the decode method 2018-10-30 16:45:30 -04:00
Kenny Lee Sin Cheong
436e8cb760
Merge pull request #3275 from kleesc/fix-tag-ui-function-name
Fix tag ui function name
2018-10-30 14:07:55 -04:00
Kenny Lee Sin Cheong
9cf74227ee typo 2018-10-30 13:21:14 -04:00
Sida Chen
203bffbbbb
Merge pull request #3276 from KeyboardNerd/about_page
Add dependent packages in about page
2018-10-30 12:57:18 -04:00
Sida Chen
c7730d2438 Add copying bill-of-materials.json before compiling javascript files 2018-10-30 09:53:03 -04:00
Sida Chen
79a7b9f617 Update bill-of-materials 2018-10-30 09:53:03 -04:00
Sida Chen
1dcc5d9d64 Add dependent packages in about page
Content of bill-of-materials.json is added to about page as a table.

Fixes https://jira.coreos.com/browse/QUAY-1170
2018-10-30 09:53:03 -04:00
Kenny Lee Sin Cheong
e61551d6b9 Show loader when tags are loading instead of empty msg 2018-10-29 19:25:19 -04:00
Kenny Lee Sin Cheong
1cda2e1a62 Fix undefined function name 2018-10-29 19:25:19 -04:00
Joseph Schorr
0666e0bedc
Merge pull request #3265 from quay/joseph.schorr/QUAY-1030/interfacing-part-10
Change V2 registry code to use new registry data model
2018-10-29 12:49:20 -05:00
Joseph Schorr
88f19ee0b9 Make blob upload errors more specific 2018-10-29 12:21:18 -04:00
Kenny Lee Sin Cheong
60048f6da1
Force reload on any change to repositoryTags (#3273) 2018-10-24 13:28:55 -04:00
Sida Chen
f76d153764
Merge pull request #3270 from KeyboardNerd/readme
Update Quay architecture diagram
2018-10-23 18:19:52 -04:00
Sida Chen
14e14eb359
Merge pull request #3271 from KeyboardNerd/bug/null-path
Fix null path exception when checking path
2018-10-23 16:39:50 -04:00
Kenny Lee Sin Cheong
8b25d5b77b
Fix UI rendering issue when creating/deleting tags from the UI (#3269)
### Description of Changes

Tag operations in UI would not be rendered properly when using the paginated tags endpoint.
When a user would create/delete a tag from the repo-panel-tags, `digest` would be called. This caused the `$scope.repository.tags` to be removed.

To fix this:
* Bind the tags directly to the scope instead of the repository
* Change references to scope.repository.tags to use scope.repositoryTags

---
2018-10-23 13:26:40 -04:00
Sida Chen
08a86f46fd Update Quay architecture diagram
Fixes https://jira.coreos.com/browse/QUAY-1175
2018-10-23 13:17:53 -04:00
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