Skip to content

Install cmrel from master and drop the checkout requirement - #2280

Draft
wallrj wants to merge 1 commit into
cert-manager:masterfrom
wallrj:release-docs-cmrel-install
Draft

Install cmrel from master and drop the checkout requirement#2280
wallrj wants to merge 1 commit into
cert-manager:masterfrom
wallrj:release-docs-cmrel-install

Conversation

@wallrj

@wallrj wallrj commented Sep 11, 2026

Copy link
Copy Markdown
Member

/hold until cert-manager/release#376 merges, because the new text says cmrel no longer needs the checkout.

Release managers install cmrel with go install ...@master and no longer run it from a clone of cert-manager/release. The clone stays, but only for the chart signing script.

Why

The v1.21.2 release found that go install ...@latest gave a binary from April 2024 that cannot publish, because the publish job now refuses to install an unpinned cmrel (cert-manager/release#334). Details: cert-manager/cert-manager#9237 (comment)

Tagging cert-manager/release (v1.13.0) fixes @latest for now, but a tag and a checkout are two things to keep in sync, and nothing checks that they match. Building from the checkout is not safe either: Go stamps the binary vcs.modified=true if git status shows anything, including untracked files, and the pin then refuses to run. Evidence is in cert-manager/release#376.

What changes

  • Install step: @master, with two sentences on why, and a warning not to build from a local checkout.
  • Clone step: kept, with its real purpose stated. The cd release is gone because nothing before the chart step needs it.
  • The two cmrel publish commands lose their "must be run from the release repo folder" comment. The chart script keeps its comment.

[Claude Fable 5.1]

The release process told release managers to install cmrel with
`@latest` and then run it from a clone of cert-manager/release. Until
this week `@latest` resolved to a tag from April 2024, and that binary
fails at the first step of publish because the publish job now refuses
to install an unpinned cmrel. Once cert-manager/release#376 merges,
cmrel also carries its own Cloud Build config, so the clone is only
needed for the chart signing script.

Tell release managers to install from `@master` immediately before a
release and warn them not to build from a local checkout, because an
untracked file makes the binary "dirty" and the publish job rejects it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Richard Wall <[email protected]>
@cert-manager-prow cert-manager-prow Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. labels Sep 11, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign erikgb for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 11, 2026
@netlify

netlify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7ebdd00
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6aa3f6c23640f6000870eb41
😎 Deploy Preview https://deploy-preview-2280--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant