Commit 7adb7125 authored by charlie ablett's avatar charlie ablett

Merge branch '10io-remove-feature-flag-container_registry_api' into 'master'

Remove the `container_registry_api` feature flag

See merge request gitlab-org/gitlab!44158
parents 1641b7a9 9a40ff5d
---
name: container_registry_api
introduced_by_url:
rollout_issue_url:
group:
type: development
default_enabled: true
...@@ -8,7 +8,6 @@ module API ...@@ -8,7 +8,6 @@ module API
REPOSITORY_ENDPOINT_REQUIREMENTS = API::NAMESPACE_OR_PROJECT_REQUIREMENTS.merge( REPOSITORY_ENDPOINT_REQUIREMENTS = API::NAMESPACE_OR_PROJECT_REQUIREMENTS.merge(
tag_name: API::NO_SLASH_URL_PART_REGEX) tag_name: API::NO_SLASH_URL_PART_REGEX)
before { error!('404 Not Found', 404) unless Feature.enabled?(:container_registry_api, user_project, default_enabled: true) }
before { authorize_read_container_images! } before { authorize_read_container_images! }
params do params do
......
...@@ -25,7 +25,6 @@ RSpec.describe API::GroupContainerRepositories do ...@@ -25,7 +25,6 @@ RSpec.describe API::GroupContainerRepositories do
group.add_reporter(reporter) group.add_reporter(reporter)
group.add_guest(guest) group.add_guest(guest)
stub_feature_flags(container_registry_api: true)
stub_container_registry_config(enabled: true) stub_container_registry_config(enabled: true)
root_repository root_repository
......
...@@ -31,7 +31,6 @@ RSpec.describe API::ProjectContainerRepositories do ...@@ -31,7 +31,6 @@ RSpec.describe API::ProjectContainerRepositories do
project.add_reporter(reporter) project.add_reporter(reporter)
project.add_guest(guest) project.add_guest(guest)
stub_feature_flags(container_registry_api: true)
stub_container_registry_config(enabled: true) stub_container_registry_config(enabled: true)
root_repository root_repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment