Skip to content

Commit a639d6a

Browse files
authored
Merge pull request #224 from SgtCoDFish/document-release
Add initial documentation of release process
2 parents 1e50bd7 + 27273fd commit a639d6a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,36 @@ the features that cert-manager provides.
3535
Please follow the documentation at
3636
[cert-manager.io](https://cert-manager.io/docs/projects/csi-driver/) for
3737
installing and using csi-driver.
38+
39+
## Release Process
40+
41+
There is a semi-automated release process for csi-driver.
42+
When you create a Git tag with a tagname that has a `v` prefix and push it to GitHub
43+
it will trigger the [release workflow].
44+
45+
This will:
46+
47+
1. Create and push a Docker image to `quay.io/jetstack/cert-manager-csi-driver:${{ github.ref_name }}`
48+
2. Create a Helm chart
49+
3. Create a *draft* GitHub release with the Helm chart file attached and containing a reference to the Docker image.
50+
51+
To perform a release:
52+
53+
1. Create and push a Git tag
54+
55+
```sh
56+
export VERSION=v0.5.0-alpha.0
57+
git tag --annotate --message="Release ${VERSION}" "${VERSION}"
58+
git push origin "${VERSION}"
59+
```
60+
61+
2. Wait for the [release workflow] to succeed and if successful visit the draft release page to download the attached Helm chart attachment.
62+
63+
3. Create a PR in the [jetstack/jetstack-charts repository on GitHub](https://github.com/jetstack/jetstack-charts), containing the Helm chart file that is attached to the draft GitHub release. This is only currently possible for maintainers inside Venafi, but will be changed in the future.
64+
65+
4. Wait for the PR to be merged and verify that the Helm chart is available from https://charts.jetstack.io.
66+
67+
5. Visit the [releases page], edit the draft release, click "Generate release notes", and publish the release.
68+
69+
[release workflow]: https://github.com/cert-manager/csi-driver/actions/workflows/release.yaml
70+
[releases page]: https://github.com/cert-manager/csi-driver/releases

0 commit comments

Comments
 (0)