Skip to content

Commit 3213ad2

Browse files
authored
Merge pull request #2608 from Nordix/lentzi90/release-docs
📖 Add issue template for release tasks
2 parents bde78b1 + d7c8c88 commit 3213ad2

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.github/ISSUE_TEMPLATE/new_release.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: New release
3+
about: "[Only for maintainers] Create an issue to track release activities"
4+
title: Tasks for v<release-tag> release cycle
5+
6+
---
7+
8+
## Tasks
9+
10+
Tasks for a new release `vX.Y.Z` of the Cluster API Provider OpenStack.
11+
For details, see [RELEASE.md](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/RELEASE.md).
12+
13+
- [ ] [When bumping `X` or `Y`] Create a new release branch called `release-X.Y`.
14+
- [ ] [When bumping `X` or `Y`] Add a new entry to [metadata.yaml](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/metadata.yaml)
15+
as [described in the CAPI book](https://cluster-api.sigs.k8s.io/clusterctl/provider-contract.html#metadata-yaml)
16+
on the release branch prior to release.
17+
- [ ] Push tag to the repository.
18+
- [ ] Promote the [staging image](https://console.cloud.google.com/cloud-build/builds?project=k8s-staging-capi-openstack) by
19+
adding the new sha=>tag mapping to [images.yaml](https://github.com/kubernetes/k8s.io/blob/main/registry.k8s.io/images/k8s-staging-capi-openstack/images.yaml).
20+
- [ ] Verify that the new draft release looks good and make changes if necessary.
21+
- [ ] Verify that the image was promoted sucessfully.
22+
- [ ] Publish the release.
23+
Mark the release as "latest" if it is the most recent minor release.
24+
E.g. if both v1.1 and v1.2 are supported with patch releases, then only v1.2.z should be marked as "latest".
25+
26+
## Post-release tasks
27+
28+
- [ ] [When bumping `X` or `Y`] Update the [periodic jobs](https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/cluster-api-provider-openstack).
29+
Make sure there are periodic jobs for the new release branch, and clean up jobs for branches that are no longer supported.
30+
- [ ] [When bumping `X` or `Y`] Update the [clusterctl upgrade tests](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/test/e2e/suites/e2e/clusterctl_upgrade_test.go)
31+
and the [e2e config](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/test/e2e/data/e2e_conf.yaml)
32+
to include the new release branch.
33+
It is also a good idea to update the Cluster API versions we test against and to clean up older versions that we no longer want
34+
to test.

RELEASE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ The content of the release notes differs depending on the type of release, speci
3838

3939
## Process
4040

41+
There is an [issue template](.github/ISSUE_TEMPLATE/new_release.md) to help track release activities.
42+
4143
1. Make sure your repo is clean by git's standards. It is recommended to use a fresh checkout.
4244
1. When bumping `X` or `Y` (but not Z or the pre-release suffix) in the release version you must create a new release branch called `release-X.Y`.
4345
> NOTE: `upstream` should be the name of the remote pointing to `github.com/kubernetes-sigs/cluster-api-provider-openstack`
@@ -75,6 +77,14 @@ The content of the release notes differs depending on the type of release, speci
7577
1. Ensure that the release image has been promoted.
7678
1. Publish release.
7779

80+
### Post release actions
81+
82+
1. When bumping `X` or `Y` (but not Z or the pre-release suffix), update the [periodic jobs](https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/cluster-api-provider-openstack).
83+
Make sure there are periodic jobs for the new release branch, and clean up jobs for branches that are no longer supported.
84+
1. When bumping `X` or `Y` (but not Z or the pre-release suffix), update the [clusterctl upgrade tests](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/test/e2e/suites/e2e/clusterctl_upgrade_test.go) and the [e2e config](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/test/e2e/data/e2e_conf.yaml)
85+
to include the new release branch.
86+
It is also a good idea to update the Cluster API versions we test against and to clean up older versions that we no longer want to test.
87+
7888
### Permissions
7989

8090
Releasing requires a particular set of permissions.

0 commit comments

Comments
 (0)