Skip to content

Add Production promotion to release-cloud workflow [WPB-26469]#21664

Merged
screendriver merged 2 commits into
devfrom
release-process
Jun 29, 2026
Merged

Add Production promotion to release-cloud workflow [WPB-26469]#21664
screendriver merged 2 commits into
devfrom
release-process

Conversation

@screendriver

@screendriver screendriver commented Jun 26, 2026

Copy link
Copy Markdown
Member
TaskWPB-26469 [Web] Use a trunk-based automated release process

Summary

Extends the release-cloud workflow with optional Production promotion for ADR 0002.

The workflow can now promote the Beta-tested artifact to Production after successful Beta deployment and E2E validation.

Details

This extends .github/workflows/release-cloud.yml.

The workflow now:

  • keeps release-cloud manual-only during the transition
  • adds an explicit promote_to_production input
  • runs Production preflight after successful Beta E2E
  • verifies that the Beta tag points to the selected release commit
  • computes the YYYY-MM-DD.N-production tag
  • skips Production deployment when promotion was not requested
  • skips Production deployment when the matching Production tag already points to the selected release commit
  • fails when the Production tag exists for a different commit
  • waits for wire-webapp-prod GitHub Environment approval
  • deploys the same artifact that was deployed to Beta
  • creates the Production tag only after successful Production deployment

Notes

This pull request intentionally does not rebuild from source for Production.

Production promotion is opt-in during the transition so Beta-only workflow runs do not request Production approval.

This pull request also does not change:

  • the old tag-driven release path
  • rollback behavior
  • maintenance release behavior
  • Docker publishing
  • Helm publishing
  • wire-builds updates
  • branch renaming

The Production approval gate is enforced through the wire-webapp-prod GitHub Environment settings.

Tracking

Part of #21597.

Follow-up to:

Comment thread .github/workflows/release-cloud.yml Outdated
Extend the release-cloud workflow with optional Production promotion for ADR 0002.

The workflow now supports promoting the Beta-tested artifact to Production after successful Beta deployment and E2E validation. Production promotion is opt-in during the transition so Beta-only workflow runs do not request Production approval.

When promotion is requested, the workflow performs a Production preflight, checks the Beta tag, computes the Production tag, and decides whether Production deployment is required.

Production deployment waits for the wire-webapp-prod GitHub Environment approval and deploys the same artifact that was previously deployed to Beta. It does not rebuild from source.

After a successful Production deployment, the workflow creates the YYYY-MM-DD.N-production tag for the selected release commit.

The workflow skips Production deployment when promotion was not requested or when the matching Production tag already points to the selected release commit. It fails if the Production tag exists for a different commit.

This commit does not change the old tag-driven release path, rollback, maintenance releases, Docker publishing, Helm publishing, or wire-builds behavior.
@screendriver screendriver added this pull request to the merge queue Jun 29, 2026
Merged via the queue into dev with commit 65f5804 Jun 29, 2026
12 checks passed
@screendriver screendriver deleted the release-process branch June 29, 2026 12:55
@sonarqubecloud

Copy link
Copy Markdown

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