summaryrefslogtreecommitdiff
path: root/lib/container_registry
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-151-3/+7
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-122-7/+28
|
* Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898GitLab Bot2019-12-161-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-111-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-2/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-192-1/+59
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Validates tag names and tags#bulk_destroyGiorgenes Gelatti2019-07-301-0/+7
|
* Explicitly reject non http(s) schemesThong Kuah2019-07-291-1/+4
| | | | Rather than relying on NoMethodError deep inside faraday
* Support Docker OCI imagessh-support-docker-oci-imagesStan Hu2019-07-251-3/+6
| | | | | | | | | | | | | | | | | | 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 Container Registry APIKamil Trzciński2019-01-251-11/+27
| | | | | | 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.
* Enable more frozen string in lib/**/*.rbgfyoung2018-10-066-0/+12
| | | | | | | | | | | | | Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-112-0/+6
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Setup Faraday middleware before adapterLin Jen-Shin2018-03-161-2/+3
| | | | | | This eliminate the warnings: WARNING: Unexpected middleware set after the adapter. This won't be supported from Faraday 1.0.
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
|
* Properly handle container registry redirects to fix metadata stored on a S3 ↵sh-fix-container-registry-s3-redirectsStan Hu2017-05-171-4/+10
| | | | | | | | | | | 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
* Fix duplicated container repository namesGrzegorz Bizon2017-04-181-2/+8
|
* Sanitize container repository path in model classfix/gb/fix-registry-for-uppercased-project-pathsGrzegorz Bizon2017-04-131-2/+2
|
* Fix registry for projects with uppercases in pathGrzegorz Bizon2017-04-131-1/+1
|
* Revert "Fix registry for projects with uppercases in path"Grzegorz Bizon2017-04-131-1/+1
| | | | This reverts commit 22726942fe0b6c11c20de070cc9784de12ca2ce6.
* Fix registry for projects with uppercases in pathGrzegorz Bizon2017-04-131-1/+1
|
* Add method that returns location of registry imageGrzegorz Bizon2017-04-101-0/+4
|
* Add minor improvements to container registry codeGrzegorz Bizon2017-04-061-2/+6
|
* Remove unneeded char in registry repository pathGrzegorz Bizon2017-04-041-1/+1
|
* Swap method names in containe registry path classGrzegorz Bizon2017-04-041-8/+8
|
* Improve code in container repository path classGrzegorz Bizon2017-04-031-10/+13
|
* Check registry repository name against regexpGrzegorz Bizon2017-04-031-1/+3
| | | | | This regexp is extracted from Docker Distribution 2.4.1 docs, contains additional `/` element that can be a separator of components.
* Add serveral minor improvements to container registryGrzegorz Bizon2017-03-311-3/+1
|
* Remove unused method from container registry clientGrzegorz Bizon2017-03-311-4/+0
|
* Create container repository on successful push authGrzegorz Bizon2017-03-301-0/+4
| | | | | | | 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.
* Check container repository exists for a given pathGrzegorz Bizon2017-03-301-2/+9
|
* Make container repository path code more readableGrzegorz Bizon2017-03-291-5/+19
|
* Fix rubocop offense in container registry path classGrzegorz Bizon2017-03-291-2/+1
|
* Implement method matching container repository namesGrzegorz Bizon2017-03-281-0/+8
|
* Implement container repository path classGrzegorz Bizon2017-03-281-0/+29
|
* Fix specs for container repository tagsGrzegorz Bizon2017-03-242-5/+5
|
* Remove out-of-scope changes for multi-level imagesGrzegorz Bizon2017-03-221-7/+0
|
* Merge branch 'master' into feature/multi-level-container-registry-imagesGrzegorz Bizon2017-03-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1327 commits) Merge branch 'render-json-leak' into 'security' Merge branch 'ssrf' into 'security' Merge branch 'ssrf' into 'security' Merge branch 'fix-links-target-blank' into 'security' Merge branch '28058-hide-emails-in-atom-feeds' into 'security' Fix karma test Reset filters after click Handle Route#name being nil after an update Only add frontend code coverage instrumentation when generating coverage report fix recompile assets step in 9.0 upgrade guide to use yarn Undo explicit conversion to Integer Make level_value accept string integers Make feature spec more robust Removed d3.js from the main application.js bundle Extend compound status for manual actions specs Update css to be nice and tidy. Fix pipeline status for transition between stages add an index to the ghost column Return 404 in project issues API endpoint when project cannot be found Improve rename projects migration ... Conflicts: doc/ci/docker/using_docker_build.md spec/lib/gitlab/import_export/all_models.yml
| * Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
| |
* | Fixes broken and missing testsAndre Guedes2017-02-223-54/+2
| |
* | Multi-level container image names backend implementationAndre Guedes2017-02-222-5/+7
| | | | | | | | | | | | | | - Adds Registry events API endpoint - Adds container_images_repository and container_images models - Changes JWT authentication to allow multi-level scopes - Adds services for container image maintenance
* | Added MR Road mapAndre Guedes2017-02-221-0/+7
|/
* Make rubocop happyKamil Trzcinski2016-07-151-1/+1
|
* Explicitly remove authorization token and make sure that invalid addresses ↵Kamil Trzcinski2016-07-151-37/+35
| | | | are properly handled
* Allow blob to be redirectedKamil Trzcinski2016-07-151-3/+34
|
* Make docker registry work with location redirects when external storage is usedKamil Trzcinski2016-07-151-1/+1
|
* Show proper image ID on registry pageKamil Trzcinski2016-06-211-0/+1
|
* Use response_bodyKamil Trzcinski2016-06-171-6/+7
|
* Fix regression introduced by ↵registry-500-fixKamil Trzcinski2016-06-171-3/+7
| | | | | | 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-153-4/+16
|