Cleanup pages_multiple_versions_setting feature flag
What does this MR do and why?
This MR removes all references to the pages_multiple_versions_setting feature flag since it's been enabled by default on production.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Please make sure that you have a GitLab Ultimate license in your GDK environment
- Start on
masterbranch, go to the consolerails cand disable this feature by runningFeature.disable(:pages_multiple_versions_setting) - Create "Create from template" project at http://gdk.test:3000/projects/new
- Choose
Pages/Plain HTMLtemplate - After the project is created, update the
.gitlab-ci.ymlfile with the following:
image: busybox
pages:
stage: deploy
script:
- echo "Pages site is deployed"
artifacts:
paths:
- public
pages:
path_prefix: "v1"
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- The deploy should fail since the
path_prefixis a parallel deployment feature that is behind thepages_multiple_versions_settingflag and we disabled it. - Checkout to this MR branch and retry the same failed pipeline, it should now succeed.
Related to #487161 (closed)
Edited by Alisa Frunza