diff options
author | Steve Abrams <sabrams@gitlab.com> | 2022-12-21 11:43:28 +0300 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2022-12-21 11:43:28 +0300 |
commit | 65ba9b1cd7464b43d221f470caa6e689c1f1783f (patch) | |
tree | b6179f8ff339fa91f096475f553ecb6f62f412db /.gitlab | |
parent | 17b1b5ea753603a3f8f40d3eb6e73919a20b25b0 (diff) |
Revise the release process for managed versioning
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/issue_templates/release.md | 45 | ||||
-rw-r--r-- | .gitlab/merge_request_templates/Security Release.md | 5 |
2 files changed, 2 insertions, 48 deletions
diff --git a/.gitlab/issue_templates/release.md b/.gitlab/issue_templates/release.md deleted file mode 100644 index 7b985184..00000000 --- a/.gitlab/issue_templates/release.md +++ /dev/null @@ -1,45 +0,0 @@ -- [ ] Set the milestone on this issue -- Decide on the version number by reference to - the [Versioning](https://gitlab.com/gitlab-org/gitlab-pages/blob/master/PROCESS.md#versioning) - * Typically if you want to release code from current `master` branch you will update `MINOR` version, e.g. `1.12.0` -> `1.13.0`. In that case you **don't** need to create stable branch - * If you want to backport some bug fix or security fix you will need to create a stable branch `X-Y-stable` on the [security project](https://gitlab.com/gitlab-org/security/gitlab-pages). You will need maintainer access to create the stable branch. -- [ ] Create an MR for [gitlab-pages project](https://gitlab.com/gitlab-org/gitlab-pages). - You can use [this MR](https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/711) as an example. - - [ ] Update `VERSION`, and push your branch - - [ ] Update `CHANGELOG` by running `GITLAB_PRIVATE_TOKEN= make changelog`, note that you need to create a personal access token - - [ ] Assign to reviewer -- [ ] Once `gitlab-pages` is merged create a signed+annotated tag pointing to the **merge commit** on the **stable branch** - In case of `master` branch: - ```shell - git fetch origin master - git fetch dev master - git tag -a -s -m "Release v1.0.0" v1.0.0 origin/master - ``` - In case of `stable` branch: - ```shell - git fetch origin 1-0-stable - git fetch dev 1-0-stable - git tag -a -s -m "Release v1.0.0" v1.0.0 origin/1-0-stable - ``` -- [ ] Verify that you created tag properly: - ```shell - git show v1.0.0 - ``` - it should include something like: - * ```(tag: v1.0.0, origin/master, dev/master, master)``` for `master` - * ```(tag: v1.0.1, origin/1-0-stable, dev/1-0-stable, 1-0-stable)``` for `stable` branch -- [ ] Push this tag to origin(**Skip this for security release!**) - ```shell - git push origin v1.0.0 - ``` -- [ ] Wait for tag to be mirrored to `dev` or push it: - ```shell - git push dev v1.0.0 - ``` -- [ ] Create an MR for [gitlab project](https://gitlab.com/gitlab-org/gitlab). - You can use [this MR](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/82901) as an example. - - [ ] Update `GITLAB_PAGES_VERSION` - - [ ] Added `Changelog: added` footer to your commit - - [ ] Assign to a reviewer - -/label ~backend ~"Category:Pages" ~"section::dev" ~"devops::create" ~"group::editor" ~"type::maintenance" diff --git a/.gitlab/merge_request_templates/Security Release.md b/.gitlab/merge_request_templates/Security Release.md index 2f7b41d7..7f115f16 100644 --- a/.gitlab/merge_request_templates/Security Release.md +++ b/.gitlab/merge_request_templates/Security Release.md @@ -26,9 +26,8 @@ When submitting a merge request for gitlab-pages, CE and EE merge requests for u ## Reviewer checklist -- [ ] Correct milestone is applied and the title is matching across all backports -- [ ] Merge this merge request -- [ ] Create corresponding tag and push it to https://gitlab.com/gitlab-org/security/gitlab-pages +- [ ] Correct milestone is applied and the title is matching across all backports. +- [ ] Approve the MR. Do not merge it, release managers will assist with merging at the time of release. [CHANGELOG entry]: https://docs.gitlab.com/ee/development/changelog.html#overview |