Skip to content

ci: add a dry-run mode to the release workflow #512

Done

Description

@uniqueg

Problem

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

  1. self-assigned this
    on Nov 22, 2026
  2. added
    priority: high
    status: in progress
    type: ci / cd
    workload: hours
    on Nov 22, 2026
  3. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 22, 2026
  4. moved this from In progress to In review in ELIXIR On-Cloudon Nov 22, 2026
  5. added a commit that references this issue on Nov 25, 2026
  6. moved this from In review to Done in ELIXIR On-Cloudon Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: highstatus: in progresstype: ci / cdworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions