You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.github/ISSUE_TEMPLATE: replace templates with new instructions
The new instructions have been used for a couple releases already so we
can safely use them and remove the old instructions.
Signed-off-by: André Martins <[email protected]>
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/release_template_patch.md
+92-52Lines changed: 92 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
name: Release a new patch version of Cilium from a stable branch
2
+
name: NEW Release a new patch version of Cilium from a stable branch
3
3
about: Create a checklist for an upcoming release
4
4
title: 'vX.Y.Z release'
5
5
labels: kind/release
@@ -10,75 +10,79 @@ assignees: ''
10
10
## Setup preparation
11
11
12
12
-[ ] Depending on your OS, make sure Docker is running
13
-
-[ ] Export a [`GITHUB_TOKEN`](https://github.com/settings/tokens/new?description=Cilium%20Release%20Script&scopes=write:org,public_repo) that has access to the repository. Only classic tokens are
14
-
[supported at the moment][GitHub PAT tracker], the needed scope is `public_repo`.
15
-
-[ ] Make sure a setup (GPG, SSH, S/MIME) is in place for [signing tags] with Git and install [Hub](https://github.com/github/hub).
16
-
-[ ] Make sure the `GOPATH` environment variable is set and pointing to the relevant path
13
+
-[ ] Export a [`GITHUB_TOKEN`](https://github.com/settings/tokens/new?description=Cilium%20Release%20Script&scopes=write:org,public_repo,project) that has access to the repository. Only classic tokens are
14
+
[supported at the moment][GitHub PAT tracker], the needed scopes are `write:org`, `public_repo` and `project`.
15
+
-[ ] Make sure a setup (GPG, SSH, S/MIME) is in place for [signing tags]
16
+
with Git and install [gh](https://cli.github.com).
17
17
-[ ] Make sure the [Cilium helm charts][Cilium charts] and [release][Cilium release-notes tool] repositories are installed locally:
18
18
-[ ] Run `git clone https://github.com/cilium/charts.git "$GOPATH/src/github.com/cilium/charts"`
19
19
-[ ] Run `git clone https://github.com/cilium/release.git "$GOPATH/src/github.com/cilium/release"`
20
20
-[ ] If you already have the repo checked out, make sure the `release` binary is up to date:
21
21
22
22
git checkout master && git pull && make
23
+
-[ ] Read the documentation of `release start --help` tool to understand what
24
+
each automated step does.
23
25
24
-
## Pre-release
26
+
## Pre-check (run ~1 week before release date)
25
27
26
28
-[ ] When you create a GitHub issue using this issue template, GitHub Slack app posts a
27
29
message in #launchpad Slack channel. Create a thread for that message and ping the
28
30
current backporter to merge the outstanding [backport PRs] and stop merging any new
29
31
backport PRs until the GitHub issue is closed (to avoid generating incomplete
30
32
release notes).
31
-
-[ ] Check that there are no [release blockers] for the targeted release version.
32
-
-[ ] Ensure that outstanding [backport PRs] are merged (these may be skipped on
33
-
case by case basis in coordination with the backporter).
34
-
-[ ] Check with @cilium/security team if there are any security fixes to include
35
-
in the release.
36
-
-[ ] Push a PR to cilium/cilium including the changes necessary for the new release:
37
-
-[ ] Change directory to the local copy of cilium/cilium repository and pull latest
38
-
changes from the branch being released
39
-
-[ ] Run `../release/internal/start-release.sh X.Y.Z`. You can ignore
40
-
warnings about commits with no related PR found.
41
-
Note that this script produces some files at the root of the Cilium
42
-
repository, and that these files are required at a later step for
43
-
tagging the release. Do not commit them.
44
-
-[ ] Commit all changed files with title `Prepare for release vX.Y.Z`. New
45
-
generated files, such as release-state.json and vX.Y.Z-changes.txt
46
-
should not be committed. Tip: use `git add -p` to review the changes and
47
-
compare them with the previous release PR.
48
-
-[ ] Submit PR (`../release/internal/submit-release.sh`). Note that only the smoke tests
49
-
need to succeed in order to merge this PR. Full e2e test runs are not required.
33
+
-[ ] Run `./release start --steps 1-pre-check --target-version vX.Y.Z`
34
+
-[ ] Check that there are no [release blockers] for the targeted release
35
+
version.
36
+
-[ ] Ensure that outstanding [backport PRs] are merged (these may be
37
+
skipped on case by case basis in coordination with the backporter).
38
+
-[ ] Check with @cilium/security team in case there are any CVEs found in the
39
+
docker image.
40
+
-[ ] Check with @cilium/security team if there are any security fixes to
41
+
include in the release.
42
+
43
+
## Preparation PR (run ~1 day before release date. It can be re-run multiple times.)
44
+
45
+
-[ ] Go to [release workflow] and Run the workflow from "Branch: main", for
46
+
step "2-prepare-release" and version for vX.Y.Z
47
+
-[ ] Check if the workflow was successful and check the PR opened by the
48
+
Release bot.
50
49
-[ ] Merge PR
50
+
51
+
## Tagging
52
+
51
53
-[ ] Ask a maintainer if there are any known issues that should hold up the release
52
54
-[ ] FYI, do not wait too much time between a tag is created and the helm charts are published.
53
55
Once the tags are published the documentation will be pointing to them. Until we release
54
56
the helm chart, users will face issues while trying out our documentation.
55
-
-[ ] Create and push *both* tags to GitHub (`vX.Y.Z`, `X.Y.Z`)
56
-
-[ ] Pull latest `upstream/vX.Y` branch locally
57
-
-[ ] Run `../release/internal/tag-release.sh`.
57
+
-[ ] Run `./release start --steps 3-tag --target-version vX.Y.Z`
58
58
-[ ] Ask a maintainer to approve the build in the following link (keep the URL
Cilium vX.Y.Z, vA.B.C, and vD.E.F have been released. Thanks all for your contributions! Please see the release notes below for details :cilium-gopher:
This is the first monthly snapshot for the vX.Y development cycle. There are [vX.Y.Z-rc.W OSS docs](https://docs.cilium.io/en/vX.Y.Z-rc.W) available if you want to pull this version & try it out.
124
+
```
125
+
126
+
### Subsequent pre-/rc- releases
127
+
128
+
```
129
+
*Announcement* :tada: :tada:
130
+
131
+
:cilium-new: *Cilium vX.Y.Z-rc.W has been released:*
Thank you for the testing and contributing to the previous pre-releases. There are [vX.Y.Z-rc.W OSS docs](https://docs.cilium.io/en/vX.Y.Z-rc.W) available if you want to pull this version & try it out.
Cilium vX.Y.Z, vA.B.C, and vD.E.F have been released. Thanks all for your contributions! Please see the release notes below for details :cilium-gopher:
102
+
Cilium vX.Y.Z-pre.W, vA.B.C, and vD.E.F have been released. Thanks all for your contributions! Please see the release notes below for details :cilium-gopher:
This is the first monthly snapshot for the vX.Y development cycle. There are [vX.Y.Z-rc.W OSS docs](https://docs.cilium.io/en/vX.Y.Z-rc.W) available if you want to pull this version & try it out.
115
+
This is the first monthly snapshot for the vX.Y development cycle. There are [vX.Y.Z-pre.W OSS docs](https://docs.cilium.io/en/vX.Y.Z-pre.W) available if you want to pull this version & try it out.
124
116
```
125
117
126
118
### Subsequent pre-/rc- releases
127
119
128
120
```
129
121
*Announcement* :tada: :tada:
130
122
131
-
:cilium-new: *Cilium vX.Y.Z-rc.W has been released:*
Thank you for the testing and contributing to the previous pre-releases. There are [vX.Y.Z-rc.W OSS docs](https://docs.cilium.io/en/vX.Y.Z-rc.W) available if you want to pull this version & try it out.
126
+
Thank you for the testing and contributing to the previous pre-releases. There are [vX.Y.Z-pre.W OSS docs](https://docs.cilium.io/en/vX.Y.Z-pre.W) available if you want to pull this version & try it out.
0 commit comments