@@ -21,30 +21,39 @@ perform a cert-manager release:
2121 ``` sh
2222 (cd && GO111MODULE=on go get github.com/cert-manager/release/cmd/cmrel@latest)
2323 ```
24- 3 . Make sure you are granted these roles on the GCP project [ cert-manager-release] ( https://console.cloud.google.com/?project=cert-manager-release ) :
24+ 3 . Clone and ` cd ` into the ` cert-manager/release ` repo. ⚠️ All the commands
25+ below have to be run from this cloned folder as it contains the
26+ necessary ` cloudbuild.yml ` files.
27+
28+ ``` sh
29+ git clone https://github.com/cert-manager/release
30+ cd release
31+ ```
32+
33+ 4. Make sure you are granted these roles on the GCP project [cert-manager-release](https://console.cloud.google.com/? project=cert-manager-release):
2534 - " Cloud Build Editor" (` roles/cloudbuild.builds.builder` ),
2635 - " Storage Object Viewer" (` roles/storage.objectViewer` ), and
2736 - " Cloud KMS CryptoKey Encrypter" ` roles/cloudkms.cryptoKeyEncrypter` .
2837
2938 As a quick check, check that you can open [this Cloud
3039 Build](https://console.cloud.google.com/cloud-build? project=cert-manager-release)
3140 page.
32- 4 . You must have time to complete all the steps in the release process (~ 1 hour).
33- 5 . Install the [ ` gcloud ` ] ( https://cloud.google.com/sdk/ ) CLI.
34- 6 . [ Login] ( https://cloud.google.com/sdk/docs/authorizing#running_gcloud_auth_login )
41+ 5 . You must have time to complete all the steps in the release process (~1 hour).
42+ 6 . Install the [` gcloud` ](https://cloud.google.com/sdk/) CLI.
43+ 7 . [Login](https://cloud.google.com/sdk/docs/authorizing#running_gcloud_auth_login)
3544 to ` gcloud` :
3645
3746 ` ` ` sh
3847 gcloud auth application-default login
3948 ` ` `
4049
41- 7 . Make sure ` gcloud ` points to the cert-manager-release project:
50+ 8 . Make sure ` gcloud` points to the cert-manager-release project:
4251
4352 ` ` ` sh
4453 gcloud config set project cert-manager-release
4554 ` ` `
4655
47- 8 . Get a GitHub access token [ here] ( https://github.com/settings/tokens )
56+ 9. Get a GitHub access token [here](https://github.com/settings/tokens)
4857 with no scope ticked. It is used only by the ` release-notes` CLI to
4958 avoid API rate limiting since it will go through all the PRs one by one.
5059
0 commit comments