Repository navigation
Description
Is your feature request related to a problem? Please describe.
The app version has to be manually raised whenever the app changes. This is likely to be forgotten and leads to cluttering of the commit history.
Describe the solution you'd like
Ideally, versions should be automatically bumped depending on the commit/merge, possibly by setting webhooks.
Describe alternatives you've considered
N/A
Additional context
N/A
Updated scope (2026-10-22, migration plan)
Why?
proTES has no releases: the version in pro_tes/version.py is bumped by hand (or not), and CI pushes images tagged latest and with the date on every push to dev. FOCA and cloud-registry release from signed version tags, with the version taken from the tag only (elixir-cloud-aai/cloud-registry#112, elixir-cloud-aai/cloud-registry#126, elixir-cloud-aai/cloud-registry#153, elixir-cloud-aai/cloud-registry#155, elixir-cloud-aai/cloud-registry#159, elixir-cloud-aai/cloud-registry#161).
How?
.github/workflows/release.yamlas in cloud-registry: onv*tags, check that the tag is a release version, annotated and signed (verified by GitHub), onmain, and that CI passed for its commit; release notes fromdocs/releases/<version>.md(noTODO) or generated; package the Helm chart withversionandappVersionfrom the tag and versioned links (scripts/chart_readme.py); build, check and push the image (X.Y.Z,latestonly for the highest stable release); GitHub release with the chart, a prerelease until 1.0.0. Publishing in thereleaseenvironment (required reviewer).scripts/release_version.pywith tests.- Dev images from
devonly for the branch head (devandsha-<commit>, neverlatest), in thedev-imagesenvironment, with official Docker actions pinned to commits; remove the date tags and the third-party publish action. - "Versioning and releases" in the development docs.
- Repository setup by an admin, as for cloud-registry: a
mainbranch for releases (the oldmaster, last changed in 2019, is retired), thereleaseanddev-imagesenvironments with the Docker Hub secrets, and a tag ruleset makingv*tags immutable.
Acceptance criteria
- Pushing a signed tag
vX.Y.Zonmainpublishes the image, chart and GitHub release with that version; unsigned, unmerged or failing commits are refused. -
devpushes publishdevandsha-images only.
Closes #44.
Activity
uniqueg commentedon Oct 21, 2026
We will update the new release flow from https://github.com/elixir-cloud-aai/foca and https://github.com/elixir-cloud-aai/cloud-registry instead.
[-]Automatic semantic versioning[/-][+]ci: release from signed version tags[/+]uniqueg commentedon Oct 22, 2026
As noted above, we're adopting the release flow of FOCA and cloud-registry: the version comes only from signed
vX.Y.Ztags (setuptools-scm), and a release workflow publishes the image, the Helm chart and the GitHub release (prereleases until 1.0.0). I've updated the issue accordingly.build!: adopt pyproject, harden image and Compose (#223)
uniqueg commentedon Oct 23, 2026
Addition from #235/#244 (citation metadata): the release workflow also checks that
CITATION.cffhas the release version and adate-releasedthat is not in the future (python scripts/citation.py check "${VERSION}"), as in Cloud Registry (elixir-cloud-aai/cloud-registry#180), since Zenodo archives each release with it. #244 adds the script and the docs, but not the workflow step, as #230 isn't merged yet; details in #230 (comment).uniqueg commentedon Oct 23, 2026
Note from #214: proTES may temporarily pin unreleased dependencies (e.g., a FOCA
devcommit and FOCA's dated development image), as cloud-registry does.scripts/check_release_pins.py(standard library only) fails while such pins are left. Until this release workflow exists,.github/workflows/release-pins.yamlruns it for each pushedv*tag (and the tests for checkouts of release tags). The release workflow must run it before publishing, as cloud-registry'srelease.yamldoes ("Check that dependencies are releases":python scripts/check_release_pins.py), and then replacerelease-pins.yaml.