Backport AI settings
Why is this backport needed (background and context)
- Merge request to backport: gitlab-org/gitlab!180284 (merged)
Except the docs are different in the older versions...
Get the approval of TW Leadership
The person requesting the backport does this step.
If the backport is for a version older than the latest stable branch, ask Technical Writing Leadership for approval:
-
Mention TW Leadership in a comment in this issue and wait for their approval: @gitlab-org/tw-leadership could I get your approval for this documentation backport?
Create the merge request to backport the change
The person requesting the backport does this step. Requires at least the Developer role on the project that needs the backport.
To backport a change, you will merge your changes into the stable branch of the version where you want the change to occur.
-
Open a merge request with the backport. The MR should target the stable release branch, for example: 16-11-stable-eeor17-0-stable-ee. Link the MR to this issue. -
If the backport targets the current stable branch, assign to a Technical Writer for review and merge. Usually, the Technical Writer of the relevant group. -
If the backport targets any branch other than the latest stable branch, assign the MR to a Technical Writer for review. After the TW approves, ask a release manager to review and merge the change. Mention this issue to them and give them all the context they need.
For the change to appear in docs.gitlab.com, merging to the stable branch is all you need.
For the change to appear under /help, the change needs to be part of a GitLab release.
The next time a release manager creates a release, they will include the change in the release.
Deploy the backport change
A member of the Technical Writing team does this step. Usually, the same Technical Writer who created the merge request.
After the change is backported to a stable branch, the Docker image that holds that version's docs needs to be updated. These Docker images determine the contents that are displayed when you select the Version drop-down list on the upper-right corner of the docs site.
-
Run a new pipeline in gitlab-docs. Choose the branch name that matches the stable version, for example15.11or16.0.
If the backport change was made to one of the last three stable branches, you need to update the main docs site:
-
After the pipeline finishes and the Docker image is updated, go to the pipeline schedules and run the Build docker images manually schedule. -
Open the Build docker images pipeline you just started, find the image:docs-latestjob, and start it manually. -
When the image:docs-latestjob is done, run a new pipeline that targets themainbranch. -
After the pipeline finishes, go to https://docs.gitlab.com and verify that the changes are available for the respective version.
If the backport change was made to a version other than the last three stable branches, you need to update the docs archives site:
-
Run a new pipeline in gitlab-docs-archives. -
After the pipeline finishes, go to https://archives.docs.gitlab.com and verify that the changes are available for the respective version.