|
1 | 1 | # Cutting a Kubernetes release
|
2 | 2 |
|
| 3 | +<!-- toc --> |
| 4 | +- [Cutting a Kubernetes release](#cutting-a-kubernetes-release) |
| 5 | + - [Prerequisites](#prerequisites) |
| 6 | + - [Green Release Signal](#green-release-signal) |
| 7 | + - [Access to GCP](#access-to-gcp) |
| 8 | + - [Install latest software (every time)](#install-latest-software-every-time) |
| 9 | + - [Download or update `Go` to the latest available stable version:](#download-or-update-go-to-the-latest-available-stable-version) |
| 10 | + - [Download or update the `gcloud` CLI to interact with GCP.](#download-or-update-the-gcloud-cli-to-interact-with-gcp) |
| 11 | + - [Download or update `krel`](#download-or-update-krel) |
| 12 | + - [Download or update the latest `kpromo` tool](#download-or-update-the-latest-kpromo-tool) |
| 13 | + - [Download schedule-builder](#download-schedule-builder) |
| 14 | + - [Configure GitHub Personal Access Token](#configure-github-personal-access-token) |
| 15 | + - [1. Release cut issue](#1-release-cut-issue) |
| 16 | + - [2. Create a thread on the `#release-management` Slack channel](#2-create-a-thread-on-the-release-management-slack-channel) |
| 17 | + - [3. Generate testgrid screenshots](#3-generate-testgrid-screenshots) |
| 18 | + - [4. Check publishing-bot status](#4-check-publishing-bot-status) |
| 19 | + - [5. Mock stage and Mock release](#5-mock-stage-and-mock-release) |
| 20 | + - [6. No-mock stage](#6-no-mock-stage) |
| 21 | + - [7. Image promotion](#7-image-promotion) |
| 22 | + - [Merge promo PR](#merge-promo-pr) |
| 23 | + - [Wait on image promotion job](#wait-on-image-promotion-job) |
| 24 | + - [8. No-mock release](#8-no-mock-release) |
| 25 | + - [9. Notify public dev Google group mailinglist](#9-notify-public-dev-google-group-mailinglist) |
| 26 | + - [Manually create release HTML announcements](#manually-create-release-html-announcements) |
| 27 | + - [Legacy Sendgrid method:](#legacy-sendgrid-method) |
| 28 | + - [10. Post release tasks](#10-post-release-tasks) |
| 29 | + - [\[RC.0 only\] Considerations and post branch creation release tasks](#rc0-only-considerations-and-post-branch-creation-release-tasks) |
| 30 | + - [Next Release Branch Creation](#next-release-branch-creation) |
| 31 | + - [Post branch creation release tasks](#post-branch-creation-release-tasks) |
| 32 | + - [\[Stable only\] Code Thaw](#stable-only-code-thaw) |
| 33 | + - [\[Patch only\] Update schedule on k/website](#patch-only-update-schedule-on-kwebsite) |
| 34 | + - [Cleanup](#cleanup) |
| 35 | + |
3 | 36 | A step by step guide for cutting Kubernetes patch releases. At a high-level:
|
4 | 37 |
|
5 | 38 | - Maintain GitHub release cut issue
|
@@ -117,12 +150,20 @@ krel version
|
117 | 150 |
|
118 | 151 | #### Download or update the latest `kpromo` tool
|
119 | 152 |
|
120 |
| -Run the following command ([source](https://github.com/kubernetes-sigs/promo-tools/blob/main/docs/promotion-pull-requests.md#preparing-environment)): |
| 153 | +Run the following command ([source](https://github.com/kubernetes-sigs/promo-tools/blob/main/docs/promotion-pull-requests.md#preparing-environment)) to get the latest release of `kpromo`: |
121 | 154 |
|
122 | 155 | ```
|
123 | 156 | go install sigs.k8s.io/promo-tools/v4/cmd/kpromo@latest
|
124 | 157 | ```
|
125 | 158 |
|
| 159 | +or to get the latest version directly from main: |
| 160 | + |
| 161 | +``` |
| 162 | +git clone https://github.com/kubernetes-sigs/promo-tools |
| 163 | +git pull origin main |
| 164 | +make kpromo |
| 165 | +``` |
| 166 | + |
126 | 167 | Validate with:
|
127 | 168 |
|
128 | 169 | ```
|
|
0 commit comments