summaryrefslogtreecommitdiff
path: root/app/services/ci/pipeline_creation
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-13 12:08:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-13 12:08:49 +0000
commit988424215cf104d9ee24bb1751141424cffb32d1 (patch)
tree9d2525571ecc693902b949ac8441e8c97b299c3c /app/services/ci/pipeline_creation
parent2705a15deaef07b1a38a53b9539d02f8ad499ce3 (diff)
downloadgitlab-ce-988424215cf104d9ee24bb1751141424cffb32d1.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/ci/pipeline_creation')
-rw-r--r--app/services/ci/pipeline_creation/start_pipeline_service.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/services/ci/pipeline_creation/start_pipeline_service.rb b/app/services/ci/pipeline_creation/start_pipeline_service.rb
index bdbb021e4e8..65a045f32dd 100644
--- a/app/services/ci/pipeline_creation/start_pipeline_service.rb
+++ b/app/services/ci/pipeline_creation/start_pipeline_service.rb
@@ -13,9 +13,7 @@ module Ci
##
# Create a persistent ref for the pipeline.
# The pipeline ref is fetched in the jobs and deleted when the pipeline transitions to a finished state.
- if ::Feature.enabled?(:ci_reduce_persistent_ref_writes, pipeline.project)
- pipeline.ensure_persistent_ref
- end
+ pipeline.ensure_persistent_ref
Ci::ProcessPipelineService.new(pipeline).execute
end