Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9a40ff5d
Commit
9a40ff5d
authored
Oct 02, 2020
by
David Fernandez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the `container_registry_api` feature flag
It has been enabled by default for a few milestones
parent
9cd8f37f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
10 deletions
+0
-10
config/feature_flags/development/container_registry_api.yml
config/feature_flags/development/container_registry_api.yml
+0
-7
lib/api/project_container_repositories.rb
lib/api/project_container_repositories.rb
+0
-1
spec/requests/api/group_container_repositories_spec.rb
spec/requests/api/group_container_repositories_spec.rb
+0
-1
spec/requests/api/project_container_repositories_spec.rb
spec/requests/api/project_container_repositories_spec.rb
+0
-1
No files found.
config/feature_flags/development/container_registry_api.yml
deleted
100644 → 0
View file @
9cd8f37f
---
name
:
container_registry_api
introduced_by_url
:
rollout_issue_url
:
group
:
type
:
development
default_enabled
:
true
lib/api/project_container_repositories.rb
View file @
9a40ff5d
...
@@ -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
...
...
spec/requests/api/group_container_repositories_spec.rb
View file @
9a40ff5d
...
@@ -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
...
...
spec/requests/api/project_container_repositories_spec.rb
View file @
9a40ff5d
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment