Move multiple versions FF to beta
What does this MR do and why?
This MR moves the pages_multiple_versions_setting
Feature flag to beta state, default enables it and updates the documentation
Screenshots or screen recordings
no visual changes
How to set up and validate locally
- Set up your GDK to support Runners and Pages
- Create a Pages project by creating a new project with the "pages/Plain HTML" template. Make sure to use your user namespace for the project.
- Run the Pipeline once for the default branch.
- Go to "Deploy > Pages" and check the box near "Use multiple deployments"
- Replace the below config in the
.gitlab-ci.yml
:
image: busybox
pages:
stage: deploy
script:
- echo "Pages accessible through ${CI_PAGES_URL}/${PAGES_PREFIX}"
variables:
PAGES_PREFIX: "" # no prefix by default (master)
pages:
path_prefix: "$PAGES_PREFIX"
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == "master" # ensure to run on master (with default PAGES_PREFIX)
variables:
PAGES_PREFIX: ''
- if: $CI_PIPELINE_SOURCE == "merge_request_event" # conditionally change the prefix on Merge Requests
variables:
PAGES_PREFIX: 'mr$CI_MERGE_REQUEST_IID' # prefix with the mr<iid>, like `mr123`
- Create one or more MRs in the project. Ensure each MR's pipeline creates a Pages deployment.
Related to #484861 (closed)
Edited by Janis Altherr