ci: open main -> prod-main promotion PR after devnet bump merges#308
Open
shibaeff wants to merge 1 commit into
Open
ci: open main -> prod-main promotion PR after devnet bump merges#308shibaeff wants to merge 1 commit into
shibaeff wants to merge 1 commit into
Conversation
After the devnet image-tag bump PR is merged into main on infra-kubernetes, open a promotion PR from main into prod-main.
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
=======================================
Coverage ? 30.46%
=======================================
Files ? 150
Lines ? 11272
Branches ? 0
=======================================
Hits ? 3434
Misses ? 7565
Partials ? 273
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
open-prod-prjob to thedocker-build-releaseworkflow so that releases are automatically promoted toward prod:open-devnet-prjob opens the image-tag bump PR onChainSafe/infra-kuberneteswith auto-merge enabled (unchanged).open-prod-prjob polls that bump PR (up to 30 minutes) and proceeds only once the commit with the new version is merged intomainon infra-kubernetes. It fails if the bump PR is closed without merging or the wait times out.mainintoprod-mainon infra-kubernetes (no auto-merge — prod promotion stays a manual approval).The job is idempotent: it skips PR creation if
mainhas no commits ahead ofprod-mainor if amain→prod-mainPR is already open (an open one picks up newmaincommits automatically).