You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: add a dry-run mode to the release workflow #512
Changes to the release workflow (e.g., #507) have to be tested end to end in a fork, on a test tag, with the fork's DOCKERHUB_ORG set first. That takes hands-on time, is easy to get wrong (a fork without DOCKERHUB_ORG falls back to the real namespace) and isn't repeatable on the release-prep branch right before tagging.
Proposal
A dry-run mode of release.yml, for every event other than a pushed tag:
workflow_dispatch (optional input version, default the version in CITATION.cff) and pull_request for changes to the release workflow and its scripts (same-repo PRs only).
Runs every step except the irreversible ones: never enters the release environment, never logs in to Docker Hub; the image is pushed by digest to a local registry (registry:2 on the runner, passed between jobs), scanned and tagged there; the chart is packaged and checked as for the release; attestations and signatures are skipped; the GitHub release is created as a draft under a throwaway tag name (dry-run-v<version>-<run id>, no Git tag), gets its assets and notes, is never published and is deleted at the end.
Tag signature, main and "CI passed" checks don't apply without a tag: skipped (CI check as a warning).
Pilot for the organisation (fork dry runs are to be replaced by this mode in all repos that release); first use: the 0.7.0 release (#510, #511).
Activity
docs: fix the 0.7.0 notes