Skip to content

Add a semver-version workflow, helm-docs in chart-pr and OCI push retries - #1

Merged
vramperez merged 2 commits into
mainfrom
semver-version-workflow
Oct 29, 2026
Merged

vramperez merged 2 commits into
mainfrom
semver-version-workflow

Conversation

@vramperez

Copy link
Copy Markdown
Contributor

Adds what the FIWARE application repositories and helm-charts need to move onto these workflows, and points the examples to the repository's new home in the FIWARE organization.

  • semver-version.yml (new): works out the version from the semver label of the pull request. On a pull request it requires exactly one of major, minor, patch (commenting when it is missing) and returns X.Y.Z-PRE-<number>. On a push to the main branch it reads the label of the merged pull request and returns X.Y.Z. It replaces the check.yml and generate-version jobs that fdsc-edc, contract-management and consent-facade copy from one another, built on zwaldowski/* and actions-ecosystem/action-get-merged-pull-request.
  • next-version.sh: TAG_PREFIX (default v, unchanged behaviour), for repositories whose tags are plain 1.2.3.
  • chart-pr.yml: optional helm-docs-version, which regenerates the README of the charts the pull request changes after the bump. Only those charts: regenerating a stale README of another chart would change that chart without a new version, which chart-release.yml refuses. bump-chart-versions.sh now also outputs the changed charts (changed=).
  • publish-oci.sh: retries a failed helm push (3 attempts by default). quay.io answered 502 twice on 2026-10-28, and the script stopped at the first chart that failed.
  • README: the examples use FIWARE/github-workflows.

test.yml also runs semver-version.yml on its own pull requests.

Checks: shellcheck scripts/*.sh, bats tests (41 tests) and actionlint pass. Dry run of the version on the callers' tags: fdsc-edc 1.8.6, contract-management 3.4.2, consent-facade 0.4.3 for a patch.

Once released (v1.1.0), the callers switch from SEAMWARE/github-workflows to FIWARE/github-workflows: data-space-connector, decentralized-iam, vc-authentication and odrl-authorization, plus helm-charts, fdsc-edc, contract-management and consent-facade, which move onto these workflows.

🤖 Generated with Claude Code

vramperez and others added 2 commits October 28, 2026 14:18
semver-version.yml works out the version a pull request releases from
its semver label: X.Y.Z-PRE-<number> on the pull request, X.Y.Z on the
push of its merge. It replaces the per-repository label check and
version jobs of application repositories. next-version.sh takes the tag
prefix, for repositories whose tags are plain X.Y.Z.

chart-pr.yml can regenerate the charts' documentation with helm-docs
after the bump, and publish-oci.sh retries a push that fails, as quay
answers 502 now and then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The repository moved to the FIWARE organization.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vramperez
vramperez merged commit 4783652 into main Oct 29, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant