Skip to content

Commit a16779a

Browse files
authored
Merge pull request #1729 from SgtCoDFish/oci-charts
Add documentation of manual OCI chart uploading
2 parents d817691 + 4134d88 commit a16779a

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

content/docs/contributing/release-process.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ First, ensure that you have all the tools required to perform a cert-manager rel
9797
with no scope ticked. It is used only by the `release-notes` CLI to
9898
avoid API rate limiting since it will go through all the PRs one by one.
9999

100+
8. Ensure that you have `gsutil` installed; it's part of the Google Cloud SDK.
101+
102+
9. Ensure you have `cosign` installed. See [the cosign installation instructions](https://docs.sigstore.dev/cosign/system_config/installation/).
103+
104+
10. Ensure you have permissions to push to the OCI Helm chart registry, `quay.io/jetstack/charts`. You may need to run commands from [Helm's documentation](https://helm.sh/docs/topics/registries/#commands-for-working-with-registries).
105+
Specifically, you will need to have run `helm registry login -u=USERNAME -p=PASSWORD quay.io` to authenticate with the registry.
106+
Credentials can be obtained from the `quay.io` web UI if you're already a member of the `jetstack` organization on Quay.
107+
100108
## Minor releases
101109
102110
A minor release is a backwards-compatible 'feature' release. It can contain new
@@ -589,7 +597,26 @@ page if a step is missing or if it is outdated.
589597
5. Merge the PR
590598
6. Check that the [cert-manager Helm chart is visible on ArtifactHUB](https://artifacthub.io/packages/helm/cert-manager/cert-manager).
591599
592-
15. **(final + patch releases)** Merge the 4 Website PRs:
600+
15. Upload the Helm chart to the OCI registry:
601+
602+
1. Run the following command to upload the Helm chart to the OCI registry, and sign it with cosign:
603+
604+
```bash
605+
# Must be run from the "cert-manager/release" repo folder.
606+
./hack/push_and_sign_chart.sh
607+
```
608+
609+
This command will also check the cosign signature it creates.
610+
611+
2. Check that the Helm chart is available in the OCI registry by running:
612+
613+
```bash
614+
crane manifest quay.io/jetstack/charts/cert-manager:$RELEASE_VERSION
615+
```
616+
617+
Look for config, content and provenance layers in the output.
618+
619+
16. **(final + patch releases)** Merge the 4 Website PRs:
593620
594621
1. Merge the PRs "Release Notes", "Upgrade Notes", and "Freeze And Bump
595622
Versions" that you have created previously.
@@ -607,15 +634,15 @@ page if a step is missing or if it is outdated.
607634
608635
[ff-release-next]: https://github.com/cert-manager/website/compare/master...release-next?quick_pull=1&title=%5BPost-Release%5D+Merge+release-next+into+master&body=%3C%21--%0A%0AThe+command+%22%2Foverride+dco%22+is+necessary+because+some+the+merge+commits%0Ahave+been+written+by+the+bot+and+do+not+have+a+DCO+signoff.%0A%0A--%3E%0A%0A%2Foverride+dco
609636
610-
16. Post a Slack message as an answer to the first message. Toggle the check
637+
17. Post a Slack message as an answer to the first message. Toggle the check
611638
box "Also send to `#cert-manager-dev`" so that the message is well
612639
visible. Also cross-post the message on `#cert-manager`.
613640
614641
<div className="pageinfo pageinfo-primary"><p>
615642
https://github.com/cert-manager/cert-manager/releases/tag/v1.0.0 🎉
616643
</p></div>
617644
618-
17. **(final release only)** Show the release to the world:
645+
18. **(final release only)** Show the release to the world:
619646
620647
1. Send an email to
621648
[`[email protected]`](https://groups.google.com/g/cert-manager-dev)
@@ -631,7 +658,7 @@ page if a step is missing or if it is outdated.
631658
4. Create a post on the cert-manager BlueSky account! Login details are in the cert-manager 1password.
632659
([Example post](https://bsky.app/profile/cert-manager.bsky.social/post/3lhdtn7c2222u))
633660
634-
18. Proceed to the post-release "testing and release" steps:
661+
19. Proceed to the post-release "testing and release" steps:
635662
636663
1. **(initial beta only)** Create a PR on
637664
[cert-manager/testing](https://github.com/cert-manager/testing) in order to

0 commit comments

Comments
 (0)