fix: gate wave release on master and release-* branches DEVOPS-1531#1072
fix: gate wave release on master and release-* branches DEVOPS-1531#1072ShahzebMahmood wants to merge 5 commits into
Conversation
|
Is this really needed? we need to test features with temporary releases, and this constraint adds a lot of friction |
|
The intent is to prevent internal releases and beta releases surfacing in customer deployed locations and limit their use in production environment. There should still be a retained capability to cut a container from a branch for use in development environments for testing and validation. @ShahzebMahmood can you look at this PR with that context. We are trying to ensure the public release of wave artifacts to enterprise customers and consumers meet our quality bar. We are not trying to require a merge before container build for testing and development, for example pr-preview image creation. having a tag such as |
Yes, working on this |
|
Reworked this based on your feedback. Two tags now:
Let me know if that matches what you had in mind. |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
1 similar comment
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Claude finished @ShahzebMahmood's task in 1m 23s —— View job PR Review
|

Summary
A
[release]commit now only triggers the release steps when pushed frommasteror arelease-*branch. On any other branch it logs a warning and skips, instead of failing at thewave-ecr-pusherOIDC assume.Run 28649252557 failed with
Not authorized to perform sts:AssumeRoleWithWebIdentitybecause a[release] Bump 1.35.1-B1commit was pushed from the feature branchadd-which-tool-conda-templates. Thewave-ecr-pushertrust only allowsmasterandrelease-*(which is correct), so the assume was rightly rejected. The real issue is thatdetect-releasefired a full release from any branch with[release]in the commit.This aligns the workflow trigger with the existing OIDC trust. No infra change needed.
DEVOPS-1531