summaryrefslogtreecommitdiff
path: root/app/models/container_repository.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add Container Registry APIKamil TrzciƄski2019-01-251-3/+8
| | | | | | This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
* Move registry destroy out of project transactionStan Hu2018-09-191-2/+0
|
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-modelsgfyoung2018-07-261-0/+2
| | | | Partially addresses #47424.
* Sanitize container repository path in model classfix/gb/fix-registry-for-uppercased-project-pathsGrzegorz Bizon2017-04-131-1/+2
|
* Add method that returns a registry repository locationGrzegorz Bizon2017-04-101-0/+4
|
* Remove redundant code from container registry classesGrzegorz Bizon2017-04-051-2/+2
|
* Remove legacy registry tags when deleting a projectGrzegorz Bizon2017-04-041-0/+4
|
* Ensure root container repository when visiting registryGrzegorz Bizon2017-04-031-2/+10
| | | | | 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/+1
|
* Add missing test example for container repository tagsGrzegorz Bizon2017-04-031-2/+0
|
* Add serveral minor improvements to container registryGrzegorz Bizon2017-03-311-1/+2
|
* Add specs for container repository factory methodGrzegorz Bizon2017-03-311-1/+1
|
* Improve code related to removing container image tagsGrzegorz Bizon2017-03-311-6/+5
|
* Create container repository on successful push authGrzegorz Bizon2017-03-301-1/+2
| | | | | | | Because we do not have yet two way communication between container registry and GitLab, we need to eagerly create a new container repository objects in database. We now do that after user/build successfully authenticates a push action using auth service.
* Add container repository create service with specsGrzegorz Bizon2017-03-301-0/+4
|
* Use container repository path inside auth serviceGrzegorz Bizon2017-03-291-7/+0
|
* Rename method for checking tags in container repositoryGrzegorz Bizon2017-03-291-6/+6
| | | | | | This is important because method `empty?` is triggered when validation happens, and we don't want to make API request to registry when record is validated.
* Use new registry path class to match repository projectGrzegorz Bizon2017-03-291-14/+2
|
* Do not require a manifest for container repositoryGrzegorz Bizon2017-03-241-1/+10
| | | | Container repository can be empty - no tags or blogs is OK.
* Fix specs for container repository tagsGrzegorz Bizon2017-03-241-3/+5
|
* Fix Rubocop offenses in container repository codeGrzegorz Bizon2017-03-231-1/+1
|
* Fix specs for container repository model classGrzegorz Bizon2017-03-231-7/+14
|
* Rename container image model to container repositoryGrzegorz Bizon2017-03-231-0/+62