diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-01-22 17:06:44 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-01-22 17:06:44 +0300 |
commit | bf3139e36afef23fd6b03e4cc07062d36adcdad3 (patch) | |
tree | d317a296b284de63e70f15a6cb1f57afa173afd7 /.gitlab/merge_request_templates | |
parent | c5defa2ce3ea18e03307771b211b832617d93346 (diff) |
Update the release template
Diffstat (limited to '.gitlab/merge_request_templates')
-rw-r--r-- | .gitlab/merge_request_templates/Release.md | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/.gitlab/merge_request_templates/Release.md b/.gitlab/merge_request_templates/Release.md index 5c9ea65a..c44c33a1 100644 --- a/.gitlab/merge_request_templates/Release.md +++ b/.gitlab/merge_request_templates/Release.md @@ -2,18 +2,30 @@ [> How to](https://gitlab.com/gitlab-com/gitlab-docs/blob/master/dockerfiles/README.md) -## Before release +## During release -- [ ] Create and push a branch with the release name (that will create a Docker image with the stable version). +- [ ] Push the new version which will create a Docker image with the stable version. -## During release + ```sh + bundle exec rake "release:single[11.7]" + ``` + +1. [ ] \(Optional) If there are changes in the stable branches of the docs **after** the release version Docker image was created, rerun the release version pipeline. +1. [ ] Make sure the proper milestone is assigned to this MR and: + 1. [ ] Edit `content/_data/versions.yaml` and rotate the versions. + 1. [ ] Edit `content/404.html` and add the old removed version to the list of redirects at the bottom of the file. + 1. [ ] Edit `dockerfiles/Dockerfile.archives` and add the new version. + 1. [ ] Edit `Dockerfile.master` and rotate the versions. + +## Before merge + +On the 22nd, a few minutes before merging this and **before the scheduled pipeline runs**: + +1. [ ] Bump the versions in `content/_data/versions.yaml` for all online versions by pushing the change to the according stable branches. +1. [ ] Now it's time to merge. + +## After merge -- [ ] Make sure the proper milestone is assigned to the MR. -- [ ] \(Optional) If there are changes in the stable branches of the docs **after** the release version Docker image was created, rerun the release version pipeline. -- [ ] Edit `content/_data/versions.yaml` and rotate the versions. -- [ ] Edit `content/404.html` and add the old removed version to the list of redirects at the bottom of the file. -- [ ] Edit `dockerfiles/Dockerfile.archives` and add the new version. -- [ ] Edit `Dockerfile.master` and rotate the versions. -- [ ] Merge and manually run the [scheduled pipeline](https://gitlab.com/gitlab-com/gitlab-docs/pipeline_schedules). +1. [ ] Manually run the [scheduled pipeline](https://gitlab.com/gitlab-com/gitlab-docs/pipeline_schedules). /label ~release |