Skip to content

Commit 230d110

Browse files
committed
Improved clarity and fixed content (third batch CR)
1 parent a3169e8 commit 230d110

File tree

3 files changed

+129
-81
lines changed

3 files changed

+129
-81
lines changed

.github/ISSUE_TEMPLATE/post-release-branch-creation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Post Release Branch Creation Tasks
3-
about: Tasks to perform after the release candidate 0 is cut
4-
title: Post Release Branch Creation Tasks for <version v1.x>
3+
about: Tasks to perform after the rc.0 is cut and the upcoming release branch is created
4+
title: Post Release Branch Creation Tasks for v1.x.y-rc.0
55
labels: sig/release, area/release-eng
66
---
77

@@ -18,7 +18,7 @@ Help? Ring @release-managers on slack!
1818
-->
1919

2020
- [ ] Create a thread in #release-management: <!-- Paste link to Slack thread -->
21-
- [ ] (optional) Remove EOL version jobs from test-infra, **only** if agreed upon with Release Managers
21+
- [ ] (optional) Remove jobs for EOL versions, **only** if agreed upon with Release Managers
2222
<!--
2323
Branch Managers might not have a context on if it is "safe" to remove the EOL jobs. We try to be firm with the deadlines and stop cutting patches as soon as we reach the EOL date, but e.g. there might be a new patch needed because of some important security fix, in which case only Release Managers will know about that.
2424
@@ -28,15 +28,15 @@ The trigger for removing such jobs should be solely the EOL date but we shouldn'
2828
-->
2929
- [ ] Update [`milestone_applier` rules](https://github.com/kubernetes/test-infra/blob/master/config/prow/plugins.yaml)
3030
- [ ] Update [`kubekins-e2e-v2/variants.yaml`](https://github.com/kubernetes/test-infra/blob/master/images/kubekins-e2e-v2/variants.yaml) with the new version config
31-
- [ ] Rotate test-infra jobs configuration for the new release
31+
- [ ] Rotate configuration of release branch jobs in kubernetes/test-infra for the upcoming release
32+
- [ ] Run test generation script
3233
- [ ] Create the new release dashboards
3334
- [ ] Monitor the new release dashboard with the Release Signal Lead for at least 48 hours - mainly for missing or misconfigured jobs
34-
- [ ] Run test generation script
3535
- [ ] Add a new variant for the `kube-cross` image (`kubernetes/release` repository) and ensure the image is built and pushed properly
3636
- [ ] Add new variants for `k8s-cloud-builder` and `k8s-ci-builder` images (`kubernetes/release` repository) and ensure images are build and pushed properly
3737
- [ ] Update references in `kubernetes/kubernetes` with the new kube-cross image
3838
- [ ] Update publishing-bot rules to include the new release branch
39-
- [ ] Ensure that a new [performance tests](https://github.com/kubernetes/perf-tests/) branch is created
39+
- [ ] Ensure that a new [performance tests](https://github.com/kubernetes/perf-tests/) branch is created by SIG Scalability maintainers
4040
- [ ] Coordinate the next alpha release cut - <!-- mention @release-managers nudging them to perform the propedeutic tasks for the next alpha (e.g. setting up the new OBS project) -->
4141
- [ ] Inform stakeholders about the post branch creation tasks being completed
4242

release-engineering/handbooks/k8s-release-cut.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Cutting a Kubernetes release
22

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+
336
A step by step guide for cutting Kubernetes patch releases. At a high-level:
437

538
- Maintain GitHub release cut issue
@@ -117,12 +150,20 @@ krel version
117150

118151
#### Download or update the latest `kpromo` tool
119152

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`:
121154

122155
```
123156
go install sigs.k8s.io/promo-tools/v4/cmd/kpromo@latest
124157
```
125158

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+
126167
Validate with:
127168

128169
```

0 commit comments

Comments
 (0)