summaryrefslogtreecommitdiff
path: root/spec/models/container_repository_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot2021-08-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot2021-07-201-37/+18
|
* Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot2021-06-161-1/+54
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-12/+83
|
* Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot2020-12-171-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-0/+16
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-0/+27
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-181-0/+6
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-1/+11
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-301-0/+12
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-121-2/+32
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-041-0/+32
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-1/+3
|
* Support Docker OCI imagessh-support-docker-oci-imagesStan Hu2019-07-251-1/+1
| | | | | | | | | | | | | | | | | | 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
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* 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.
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-2/+2
|
* Sanitize container repository path in model classfix/gb/fix-registry-for-uppercased-project-pathsGrzegorz Bizon2017-04-131-2/+12
|
* Improve test examples for container repository classGrzegorz Bizon2017-04-101-21/+21
|
* Add method that returns a registry repository locationGrzegorz Bizon2017-04-101-0/+15
|
* Fix indexes in container repositories tableGrzegorz Bizon2017-04-061-7/+0
|
* Remove legacy registry tags when deleting a projectGrzegorz Bizon2017-04-041-0/+18
|
* Simplify container repository build method specsGrzegorz Bizon2017-04-031-3/+4
|
* Ensure root container repository when visiting registryGrzegorz Bizon2017-04-031-0/+37
| | | | | Root container repository is a images repository that had been created before 9.1, before we introduced multi-level images support.
* Validate uniqueness of container repository nameGrzegorz Bizon2017-04-031-0/+7
|
* Add missing test example for container repository tagsGrzegorz Bizon2017-04-031-0/+6
|
* Add specs for container repository factory methodGrzegorz Bizon2017-03-311-8/+43
|
* Improve code related to removing container image tagsGrzegorz Bizon2017-03-311-19/+11
|
* Add a few pending specs for container repositoryGrzegorz Bizon2017-03-271-0/+25
|
* Fix Rubocop offenses in container repository codeGrzegorz Bizon2017-03-231-5/+4
|
* Fix specs for container repository model classGrzegorz Bizon2017-03-231-0/+96