Skip to content

Commit b3c65f9

Browse files
authored
Merge pull request kubernetes-csi#99 from msau42/add-release-process
Update release process
2 parents e53f3e8 + d129462 commit b3c65f9

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

SIDECAR_RELEASE_PROCESS.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ naming convention `<hostpath-deployment-version>-on-<kubernetes-version>`.
3939
1. Changes can then be updated in all the sidecar repos and hostpath driver repo
4040
by following the [update
4141
instructions](https://github.com/kubernetes-csi/csi-release-tools/blob/master/README.md#sharing-and-updating).
42-
1. New pull and CI jobs are configured by
42+
1. New pull and CI jobs are configured by adding new K8s versions to the top of
4343
[gen-jobs.sh](https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-csi/gen-jobs.sh).
44-
New pull jobs that have been unverified should be initially made optional.
45-
[Example](https://github.com/kubernetes/test-infra/pull/15055)
44+
New pull jobs that have been unverified should be initially made optional by
45+
setting the new K8s version as
46+
[experimental](https://github.com/kubernetes/test-infra/blob/a1858f46d6014480b130789df58b230a49203a64/config/jobs/kubernetes-csi/gen-jobs.sh#L40).
4647
1. Once new pull and CI jobs have been verified, and the new Kubernetes version
4748
is released, we can make the optional jobs required, and also remove the
4849
Kubernetes versions that are no longer supported.
@@ -54,14 +55,19 @@ naming convention `<hostpath-deployment-version>-on-<kubernetes-version>`.
5455
generator](https://github.com/kubernetes/release/tree/master/cmd/release-notes)
5556
1. Generate release notes for the release. Replace arguments with the relevant
5657
information.
58+
* Clean up old cached information (also needed if you are generating release
59+
notes for multiple repos)
60+
```bash
61+
rm -rf /tmp/k8s-repo
62+
```
5763
* For new minor releases on master:
58-
```
64+
```bash
5965
GITHUB_TOKEN=<token> release-notes --discover=mergebase-to-latest
6066
--github-org=kubernetes-csi --github-repo=external-provisioner
6167
--required-author="" --output out.md
6268
```
6369
* For new patch releases on a release branch:
64-
```
70+
```bash
6571
GITHUB_TOKEN=<token> release-notes --discover=patch-to-latest --branch=release-1.1
6672
--github-org=kubernetes-csi --github-repo=external-provisioner
6773
--required-author="" --output out.md

0 commit comments

Comments
 (0)