Repository navigation
Conversation
Add the release scripts of the org's FOCA apps (as in DRS-Filer and proTES): version and chart version from the tag, citation metadata, release pins, chart README links, release notes and release assets, with their tests. Check `scripts/` with mypy and count it in the coverage, as in DRS-Filer. Refs #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Add release.yml (Release) and scan.yml (Scan) following the org's release pattern: prepare checks the signed tag, the commit on main, CI, citation metadata, pins and notes and packages the chart; the image is pushed by digest, scanned, then attested, signed and tagged; the GitHub release (prerelease until 1.0) gets the chart, its Sigstore bundle and the curated plus generated notes. Add the CI job Release readiness to the gate, and leave CI values out of the packaged chart. Refs #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Document the release steps, the workflows' checks, the repository settings they rely on, how to verify release images and charts, and how to install a released chart. Closes #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Add scripts/check_action_pins.py (from tes-authz), which checks that every action of elixir-cloud-aai/.github is pinned to the commit of the release its comment names, with its tests. Refs #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rework release.yml on the org's release pattern, as in tes-authz: check-release and publish-release check the tag, the commit, the citation metadata and the curated notes (prepare); the image is pushed by digest, scanned, then attested, signed and tagged X.Y.Z (no latest) in release-image; release-chart pushes the chart to oci://ghcr.io/<owner>/charts and signs it; notify registers the image at Pubgrade; publish creates the GitHub release with the chart and its Sigstore bundle attached. scan.yml scans the image of the highest published release. The CI job Release readiness checks the notes with publish-release's checker and the pins of shared actions and dependencies. The release scripts that the shared actions replace (citation.py, release_notes.py, release_assets.py, release_version.py) go, with their tests. Refs #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe the release steps (release-prep PR with CITATION.cff and curated notes, tag commands, post-release DOI PR), the jobs of the release workflow, the chart in GHCR, the end of the latest tag and the verification of released charts. Refs #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewer's GuideImplementationAdd the chart README rewriter and release-pin checker that validate release inputs and prepare chart links for the tagged version.
Add the shared-action pin checker so releases use organization actions at the commits of their named releases.
ConfigurationAdd tag-triggered image and chart release jobs, a weekly scan of the highest published release, and CI release-readiness checks that gate publishing.
Exclude CI-only files from packaged charts and clarify that release preparation sets the packaged chart version and app version.
Include the new release scripts in type checking and coverage, with an exclusion for their directly tested entry points.
DocumentationDocument release preparation and publishing, workflow checks, chart distribution, scanning, verification, and the operational settings required for releases.
TestsAdd tests for release workflow structure and behavior, including readiness checks, chart packaging and publication, image digest handling, Pubgrade notification, and scheduled release selection.
Test the chart README rewriting and the checks that prevent unreleased dependency and shared-action pins.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
📖 5 files modified
Preview · build overview · proWES · built Dec. 4, 2026, 4:41 p.m. UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #214 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 22 26 +4
Lines 1451 1806 +355
==========================================
+ Hits 1451 1806 +355 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Run the scripts of CI's Release readiness job (release in preparation, checker pin, levels, notes and pin checks) and of the release steps that check digests, read the chart's digest from helm push, check the app version and tag the image, with stand-ins for git, python, docker and helm. Fix the comment on latest in ci.yml and say how the Changelog entry becomes a section with the first release notes. Refs #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #116
Summary
Adds the release workflows of proWES on the org's release pattern, modelled on tes-authz's
release.ymland using the shared actions ofelixir-cloud-aai/.github(v1.3.0):release.yml/Release, on version tagsv*:prepare(Prepare release):check-release(signed, verified annotated tag; commit onmain; CI passed for its push todev;CITATION.cffversion and date),publish-releasewithcheck-only(curated notesdocs/releases/<version>.md, no published release yet), the version form (X.Y.Z,X.Y.ZaN,X.Y.ZbN,X.Y.ZrcN, as setuptools-scm reports it) and its SemVer chart version,scripts/check_release_pins.py, then packages the chart (scripts/chart_readme.pypins the README links to the release).push(Push release image): image by digest with SBOM and provenance, refuses an existingX.Y.Ztag, checks the app reports the version.scan(Scan release image): Trivy on that digest, no credentials,fail-on-pip.release-image(Release image): attest, sign (cosign keyless), tagX.Y.Z. Nolatest(as tes-authz).release-chart(Release chart): checks the chart artifact by name and SHA-256, refuses a published chart version,helm pushtooci://ghcr.io/<owner, lowercased>/charts, attests and signs it in GHCR and as a file (Sigstore bundle).notify(Notify Pubgrade): as proTES, only withPUBGRADE_URLandPUBGRADE_REPOSITORY_IDset.publish(Publish release):publish-releasewith the chart and its bundle as assets; prerelease until 1.0.push,release-image,release-chartandnotifyrun in the environmentrelease.scan.yml/Scan: weekly scan of the image of the highest published release (PEP 440 order, pre-releases included); skipped before the first release.ci.yml: thereadinessjob (Release readiness) now checks the curated notes withpublish-release's checker at the pinned commit, plusscripts/check_action_pins.pyandscripts/check_release_pins.py, whileCITATION.cffnames an untagged version (warnings on PRs and forks, errors on pushes). It is in the gate'sneedsand inpublish's.scripts/check_action_pins.py(from tes-authz) with tests; removescitation.py,release_notes.py,release_assets.pyandrelease_version.py(replaced by the shared actions) with their tests.docs/development.md"Versioning and releases" (release-prep PR withCITATION.cffand notes, tag commands in a worktree, the jobs, re-runs, post-release DOI PR, settings, Pubgrade, forks),docs/operations.md(verifying the chart in GHCR and as a file),docs/deployment.md(install fromoci://ghcr.io/elixir-cloud-aai/charts/prowes),docs/upgrading.md(latestis no longer updated),docs/changelog.md.Decisions taken here (Claude's proposal, from the plan for #116): no
latesttag for releases (as tes-authz; the legacylatestimage stays as it is); the chart goes both to GHCR (as the issue asks) and onto the GitHub release.Full review lane (release workflow).
How it was verified
uv run coverage run -m pytest && uv run coverage report: RESULT_TESTSuv run pre-commit run --all-files(ruff, mypy, semgrep, ast-grep, actionlint with shellcheck 0.11.0, uv lock): passeduv run --extra docs mkdocs build --strict: RESULT_DOCStests/test_release_workflows.pyruns the scripts of the steps (chart version, chart checks, chart repository, chart version check, image tag checks, highest-release lookup) with stand-ins forgh,dockerandhelm.DOCKERHUB_ORG, Docker Hub secrets andreleaseenvironment).Declined review findings
RESULT_DECLINED
Open questions
None.
Merge gate: maintainer review; the fork dry run follows before the first tag.
🤖 Generated with Claude Code
Summary by Sourcery
Automate versioned releases of proWES images and Helm charts, with release readiness checks and ongoing scans.
New Features:
Enhancements:
Build:
CI:
Documentation:
latestimage tag is no longer updated.Tests:
Chores: