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
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/new_release.md
+25-6Lines changed: 25 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,42 @@ title: Tasks for v<release-tag> release cycle
10
10
Tasks for a new release `vX.Y.Z` of the Cluster API Provider OpenStack.
11
11
For details, see [RELEASE.md](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/RELEASE.md).
12
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 of new release branch to [depandabot.yml](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/.github/dependabot.yml).
15
-
-[ ][When bumping `X` or `Y`] Add a new entry of new release branch to [security-scan.yaml](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/.github/workflows/security-scan.yaml).
13
+
### Pre-release tasks
14
+
15
+
These tasks must be completed for alpha/beta releases.
16
+
16
17
-[ ][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)
17
-
as [described in the CAPI book](https://cluster-api.sigs.k8s.io/clusterctl/provider-contract.html#metadata-yaml)
18
+
as [described in the CAPI book](https://cluster-api.sigs.k8s.io/developer/providers/contracts/clusterctl#metadata-yaml)
18
19
on the release branch prior to release.
19
-
-[ ] Push tag to the repository.
20
+
21
+
### Release candidate and branch tasks
22
+
23
+
The first release candidate (`-rc.0`) will trigger the creation of the release branch.
24
+
Once this is done, complete the following tasks:
25
+
26
+
-[ ][When bumping `X` or `Y`] Add an entry for the new release branch to [depandabot.yml](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/.github/dependabot.yml).
27
+
-[ ][When bumping `X` or `Y`] Add an entry for the new release branch to [security-scan.yaml](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/.github/workflows/security-scan.yaml).
28
+
29
+
### Release process
30
+
31
+
These tasks must be done for each release and pre-release.
32
+
33
+
-[ ] Create the PR after generating release notes according to [RELEASE.md](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/main/RELEASE.md). Verify that the release PR looks good and make changes if necessary. When this PR is merged, release automation will push the tag to upstream and create a draft release.
20
34
-[ ] Promote the [staging image](https://console.cloud.google.com/cloud-build/builds?project=k8s-staging-capi-openstack) by
21
35
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).
22
-
-[ ] Verify that the new draft release looks good and make changes if necessary.
36
+
-[ ] Verify that the new draft release looks good.
23
37
-[ ] Verify that the image was promoted sucessfully.
38
+
```bash
39
+
docker run --rm registry.k8s.io/capi-openstack/capi-openstack-controller:vX.Y.Z --version
40
+
```
24
41
-[ ] Publish the release.
25
42
Mark the release as "latest" if it is the most recent minor release.
26
43
E.g. if both v1.1 and v1.2 are supported with patch releases, then only v1.2.z should be marked as "latest".
27
44
28
45
## Post-release tasks
29
46
47
+
These tasks can be completed after a release candidate (and branch) is done, or after the final release is out.
48
+
30
49
-[ ][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).
31
50
Make sure there are periodic jobs for the new release branch, and clean up jobs for branches that are no longer supported.
32
51
-[ ][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)
0 commit comments