Skip to content

ci: migrate to shared release and promote workflows#42

Merged
ezekiel-alexrod merged 1 commit into
mainfrom
ci/adopt-shared-release-promote
Jul 13, 2026
Merged

ci: migrate to shared release and promote workflows#42
ezekiel-alexrod merged 1 commit into
mainfrom
ci/adopt-shared-release-promote

Conversation

@ezekiel-alexrod

Copy link
Copy Markdown
Contributor

Summary

Migrate the release flow to the shared reusable workflows from
scality/workflows (@v2.9.1),
replacing the inline implementation:

  • release.yaml: tag computation (semver bump, alpha/beta/GA) and tag
    push now come from the reusable release.yaml.
  • promote.yaml: the GitHub Release creation now comes from the
    reusable promote.yaml.
  • The local build.yaml is untouched and still runs before the release
    is created (build -> create-release), so a broken image build
    keeps blocking the GitHub Release.

Behavior changes

  • The release title is now the tag alone (e.g. v1.2.3) instead of
    being prefixed with the product name, per the shared workflow
    convention.
  • Tag computation is branch-scoped and semver-sorted
    (git tag --merged HEAD --sort=version:refname): an out-of-order
    hotfix tag can no longer be picked as the base version.

Same migration as scality/raidmgmt#81.

@ezekiel-alexrod ezekiel-alexrod requested a review from a team as a code owner July 13, 2026 14:00
Replace the inline tag-computation and GitHub-release logic with the
reusable workflows from scality/workflows@v2.9.1.

The local build workflow is unchanged and still gates the release
(build -> create-release), so a broken image build keeps blocking the
GitHub Release.

The release title now defaults to the tag alone (previously prefixed
with the product name), following the shared workflow convention.
@ezekiel-alexrod ezekiel-alexrod force-pushed the ci/adopt-shared-release-promote branch from 45ff150 to c0f6ec2 Compare July 13, 2026 14:34
@claude

claude Bot commented Jul 13, 2026

Copy link
Copy Markdown

LGTM — clean migration to the shared reusable workflows. Pinned by SHA, permissions properly scoped (read for release, write for promote), secrets passed only where needed. The removed if: github.ref_name == 'main' guard is documented as a deliberate behavior change (branch-scoped tag computation in the shared workflow).

Review by Claude Code

@ezekiel-alexrod ezekiel-alexrod merged commit dfe4dad into main Jul 13, 2026
9 checks passed
@ezekiel-alexrod ezekiel-alexrod deleted the ci/adopt-shared-release-promote branch July 13, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants