summaryrefslogtreecommitdiff
path: root/spec/lib/container_registry
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-0/+53
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-205-5/+5
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-1/+51
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-151-14/+53
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-121-0/+53
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-062-10/+10
|
* Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898GitLab Bot2019-12-161-0/+23
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-111-2/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-192-2/+67
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-171-1/+0
|
* Explicitly reject non http(s) schemesThong Kuah2019-07-291-1/+18
| | | | Rather than relying on NoMethodError deep inside faraday
* Write out sham_rack gemThong Kuah2019-07-291-1/+1
| | | | | | | This means we have one less Net::HTTP monkeypatch. sham_rack cannot handle IPv6 addresses which means it breaks Net::HTTP connections because it monkey-patches Net::HTTP
* Add frozen_string_literal to spec/lib (part 1)Thong Kuah2019-07-265-0/+10
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Support Docker OCI imagessh-support-docker-oci-imagesStan Hu2019-07-252-1/+37
| | | | | | | | | | | | | | | | | | Docker Distribution v2.7.0 shipped with OCI support, but our container registry client was not updated to handle the manifest format in the HTTP `Accept` header. As a result, API calls to retrieve a manifest would return with an error, "OCI manifest found, but accept header does not support OCI manifests". This would result in blank fields in the container registry page and prevent tags from being deleted. To fix this, we just need to add `application/vnd.oci.image.manifest.v1+json` to the `Accept` header and configure Faraday to parse the response as JSON. The response structure is the same as the standard Docker Distribution V2 manifest. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58685 Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/12877
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
|
* Update container repository path referenceGrzegorz Bizon2017-11-161-0/+18
| | | | | | | We should allow to use double underscore in the path, and it seems that our container repository path regexp was outdated. See https://github.com/docker/distribution/blob/master/reference/regexp.go
* Prevent new / renamed project from using a repository path that already ↵Gabriel Mazetto2017-08-251-1/+1
| | | | | | | | | | exists on disk There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-022-7/+7
|
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-1/+1
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-213-30/+30
|
* Properly handle container registry redirects to fix metadata stored on a S3 ↵sh-fix-container-registry-s3-redirectsStan Hu2017-05-172-1/+40
| | | | | | | | | | | backend The previous behavior would include the Authorization header, which would make fetching an S3 blob fail quietly. Closes #22403 Update sh-fix-container-registry-s3-redirects.yml
* Improve container registry repository path specsfix/gb/container-registry-repository-pathsGrzegorz Bizon2017-04-191-15/+4
|
* Fix duplicated container repository namesGrzegorz Bizon2017-04-181-1/+30
|
* Fix registry for projects with uppercases in pathGrzegorz Bizon2017-04-131-3/+19
|
* Revert "Fix registry for projects with uppercases in path"Grzegorz Bizon2017-04-131-19/+3
| | | | This reverts commit 22726942fe0b6c11c20de070cc9784de12ca2ce6.
* Fix registry for projects with uppercases in pathGrzegorz Bizon2017-04-131-3/+19
|
* Add method that returns location of registry imageGrzegorz Bizon2017-04-101-0/+7
|
* Remove redundant code from container registry classesGrzegorz Bizon2017-04-051-1/+1
|
* Swap method names in containe registry path classGrzegorz Bizon2017-04-041-9/+9
|
* Improve code in container repository path classGrzegorz Bizon2017-04-031-0/+8
|
* Check registry repository name against regexpGrzegorz Bizon2017-04-031-9/+15
| | | | | This regexp is extracted from Docker Distribution 2.4.1 docs, contains additional `/` element that can be a separator of components.
* Remove redundant stubs from container image tag specsGrzegorz Bizon2017-04-031-18/+17
|
* Fix rubocop offense in registry path specsGrzegorz Bizon2017-03-311-1/+1
|
* Check container repository exists for a given pathGrzegorz Bizon2017-03-301-1/+29
|
* Use container repository path inside auth serviceGrzegorz Bizon2017-03-291-2/+2
|
* Make container repository path code more readableGrzegorz Bizon2017-03-291-31/+39
|
* Implement method matching container repository namesGrzegorz Bizon2017-03-281-1/+44
|
* Implement container repository path classGrzegorz Bizon2017-03-281-0/+119
|
* Fix container registry blob specsGrzegorz Bizon2017-03-241-55/+59
|
* Fix specs for container repository tagsGrzegorz Bizon2017-03-241-15/+43
|
* Rename container image to repository in specsGrzegorz Bizon2017-03-232-2/+2
|
* Fixes broken and missing testsAndre Guedes2017-02-224-72/+21
|
* Explicitly remove authorization token and make sure that invalid addresses ↵Kamil Trzcinski2016-07-152-14/+87
| | | | are properly handled
* Fix regression introduced by ↵registry-500-fixKamil Trzcinski2016-06-171-1/+1
| | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4669 When requesting tags a `application/json` is used.
* Add support for Docker Registry manifest v1Kamil Trzcinski2016-06-151-25/+64
|
* Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonotRobert Speicher2016-05-243-6/+6
| | | | Also removes the note from the development/testing.md guide
* Provide full test coverage to lib/container_registry API implementationKamil Trzcinski2016-05-174-1/+216
|
* Add .gitkeepKamil Trzcinski2016-05-171-0/+28