Commit b5e2361f authored by Rubén Dávila's avatar Rubén Dávila

Don't disable Container Registry for CI/CD projects

We should respect the default state from the application config for
these setting.
parent 63b4c19d
...@@ -12,7 +12,6 @@ module CiCd ...@@ -12,7 +12,6 @@ module CiCd
def update_project def update_project
project.update_attributes( project.update_attributes(
container_registry_enabled: false,
mirror: true, mirror: true,
mirror_trigger_builds: true, mirror_trigger_builds: true,
mirror_overwrites_diverged_branches: true, mirror_overwrites_diverged_branches: true,
......
...@@ -21,8 +21,6 @@ describe Projects::SetupCiCd do ...@@ -21,8 +21,6 @@ describe Projects::SetupCiCd do
project_feature = project.project_feature project_feature = project.project_feature
expect(project.container_registry_enabled).to be_falsey
expect(project_feature).not_to be_issues_enabled expect(project_feature).not_to be_issues_enabled
expect(project_feature).not_to be_merge_requests_enabled expect(project_feature).not_to be_merge_requests_enabled
expect(project_feature).not_to be_wiki_enabled expect(project_feature).not_to be_wiki_enabled
......
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