Skip to content

ci: verify release secrets before deploy#2185

Open
zeitlinger wants to merge 5 commits into
mainfrom
verify-release-secrets
Open

ci: verify release secrets before deploy#2185
zeitlinger wants to merge 5 commits into
mainfrom
verify-release-secrets

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

@zeitlinger zeitlinger commented Jun 4, 2026

Summary

  • Replace Debug gpg key step with explicit checks for Sonatype token, GPG key import, and GPG passphrase match.
  • Each failure points at the matching RELEASING.md section.
  • Add If the Sonatype Central Token is Invalid section to RELEASING.md.

Context: recent release attempt failed with 403 on Maven Central upload because the user token was stale. The token mismatch was only visible deep in Maven output.

Note: Also fixes zizmor - I'm still investigating why flint didn't catch this before

Test plan

  • Re-run release workflow with current secrets and confirm verify step passes (or surfaces the actual broken secret).

Replaces debug step with explicit checks for Sonatype token, GPG key
import, and GPG passphrase. Each failure points at the matching
RELEASING.md section so the fix is clear from the workflow log.
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger marked this pull request as ready for review June 4, 2026 12:18
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger force-pushed the verify-release-secrets branch from 80e565a to f8f679c Compare June 4, 2026 13:57
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant