Skip to content

ci: open main -> prod-main promotion PR after devnet bump merges#308

Open
shibaeff wants to merge 1 commit into
mainfrom
chore/open-prod-promotion-pr
Open

ci: open main -> prod-main promotion PR after devnet bump merges#308
shibaeff wants to merge 1 commit into
mainfrom
chore/open-prod-promotion-pr

Conversation

@shibaeff

Copy link
Copy Markdown

Summary

Adds an open-prod-pr job to the docker-build-release workflow so that releases are automatically promoted toward prod:

  1. The existing open-devnet-pr job opens the image-tag bump PR on ChainSafe/infra-kubernetes with auto-merge enabled (unchanged).
  2. The new open-prod-pr job polls that bump PR (up to 30 minutes) and proceeds only once the commit with the new version is merged into main on infra-kubernetes. It fails if the bump PR is closed without merging or the wait times out.
  3. It then opens a PR from main into prod-main on infra-kubernetes (no auto-merge — prod promotion stays a manual approval).

The job is idempotent: it skips PR creation if main has no commits ahead of prod-main or if a mainprod-main PR is already open (an open one picks up new main commits automatically).

After the devnet image-tag bump PR is merged into main on
infra-kubernetes, open a promotion PR from main into prod-main.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@79a861d). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #308   +/-   ##
=======================================
  Coverage        ?   30.46%           
=======================================
  Files           ?      150           
  Lines           ?    11272           
  Branches        ?        0           
=======================================
  Hits            ?     3434           
  Misses          ?     7565           
  Partials        ?      273           
Flag Coverage Δ
unittests 30.46% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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