summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-02-18 16:01:28 +0000
committerStan Hu <stanhu@gmail.com>2019-02-18 16:01:28 +0000
commit22264555b141d8baf1260a919fb76c3ed88b1055 (patch)
treebc2719c1e77cbf44e6cdbe05e5f926b4fa844b8b
parenta5cdbad0a6826e3c4ef295b9b6ec0cab24a50e84 (diff)
parentb8fbec30362c84ed43a7dc4e8fc62aa7ab6def67 (diff)
downloadgitlab-ce-22264555b141d8baf1260a919fb76c3ed88b1055.tar.gz
Merge branch 'feature/gb/enable-ci-persisted-stages-by-default' into 'master'
Enable persisted pipeline stages by default Closes #57610 See merge request gitlab-org/gitlab-ce!25347
-rw-r--r--app/models/ci/pipeline.rb2
-rw-r--r--changelogs/unreleased/feature-gb-enable-ci-persisted-stages-by-default.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 372f6d678f6..f0ae516a2f8 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -315,7 +315,7 @@ module Ci
def ordered_stages
return legacy_stages unless complete?
- if Feature.enabled?('ci_pipeline_persisted_stages')
+ if Feature.enabled?('ci_pipeline_persisted_stages', default_enabled: true)
stages
else
legacy_stages
diff --git a/changelogs/unreleased/feature-gb-enable-ci-persisted-stages-by-default.yml b/changelogs/unreleased/feature-gb-enable-ci-persisted-stages-by-default.yml
new file mode 100644
index 00000000000..ad92135d401
--- /dev/null
+++ b/changelogs/unreleased/feature-gb-enable-ci-persisted-stages-by-default.yml
@@ -0,0 +1,5 @@
+---
+title: Enable persisted pipeline stages by default
+merge_request: 25347
+author:
+type: performance