Release Version v4.19.0-gitlab
What's New in this Version
[copy changelog here]
Tasks
All tasks must be completed (in order) for the release to be considered workflowproduction.
1. Prepare
-
Set the milestone of this issue to the target GitLab release. -
Set the due date of this issue to 10 days before the date of the target GitLab release
Documentation/resources
The due date is set to 10 days before the targeted GitLab release date to create a buffer of 5 days before the merge deadline. See Product Development Timeline for more information about the GitLab release timings.
2. Release
-
Run the make release-dry-runcommand. -
Review each MR in the new release and check if the cannot-rollback or the high-risk-change label has been applied. If any MR contains the label: -
Ensure that no code changes that rely on the cannot-rollback MRg are included in this release. These should be separated into two consecutive releases.
-
-
Run the make releasecommand. A new tag should have been created and pushed.
Documentation/resources
The release documentation can be found here.
3. Update
- The version bump for CNG is automatically created by the renovate bot, which is triggered every 15-30 minutes.
-
Check for the renovate MR here. Once the MR is created: -
Mark it as related to this release issue. -
Either request a review from @gitlab-org/maintainers/container-registryto speed up the process, or just let the bot pick a Distribution reviewer. If reviewing the MR, make sure:-
The MR is targeting the masterbranch. -
The MR has a green pipeline on GitLab.com.
-
-
-
- The version bump for GDK is automatically done using the internal
release-cli.-
Assign to the reviewer suggested by reviewer roulette
-
- The version bump for Omnibus is automatically created by the renovate bot, which is triggered every 15-30 minutes.
-
Check for the renovate MR here. Once the MR is created: -
Mark it as related to this release issue; -
Let the bot pick a Distribution reviewer.
-
-
- The version bump for Charts is automatically created by the renovate bot, which is triggered every 15-30 minutes.
-
Check for the renovate MR here. Once the MR is created: -
Mark it as related to this release issue; -
Let the bot pick a Distribution reviewer.
-
-
- Version bumps in K8s Workloads need to be done manually for now as CI is broken. The MR title should be "Bump Container Registry to [version] ([environment(s)])".
-
Wait for the CNG version bump to be merged. -
Check MRs included in the release for the labels high-risk-change, cannot-rollback. -
If they exist, add the same label to each deployment stage. -
Follow the potentially risky deployments instructions.
-
- Each environment needs to be deployed and confirmed working in the order listed below, before merging the next MR. To see the version deployed in each environment, look at the versions chart in Grafana
-
Version bump for Pre-Production and Staging. -
Version bump for Production Canary. -
Version bump for Production Main Stage.
-
-
Potentially risky deployments
Instructions
-
Add the following instructions to each deployment MR.
-
Version bump for Pre-Production and Staging. -
Check the #qa-stagingSlack channel forstaging end-to-end tests passed!. Make sure the corresponding pipeline started after the registry deployment completed. Otherwise, wait for the next one. -
Check logs for errors. -
Check metrics dashboard.
-
-
Version bump for Production Canary. -
Check the #qa-productionSlack channel forcanary end-to-end tests passed!. -
Check logs for errors ( json.stage: cny). -
Check metrics dashboard.
-
-
Version bump for Production Main Stage. -
Check the #qa-productionSlack channel forproduction end-to-end tests passed!. Make sure the corresponding pipeline started after the registry deployment completed. Otherwise, wait for the next one. -
Check logs for errors. -
Check metrics dashboard.
-
-
-
Let the assignee SRE know about these changes.
4. Complete
-
Assign label workflowverification once all changes have been merged. -
Assign label workflowproduction once all changes have been deployed. - Close this issue.
Edited by SAhmed