Add build_and_test_release_candidate.yml workflow#3999
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
06e205c to
e608911
Compare
| # This workflow will build and test the MaxText package, and build Docker images | ||
| # for a Release Candidate when a new release tag is created. | ||
|
|
||
| name: Build and Test MaxText Release Candidate |
There was a problem hiding this comment.
nit: MaxText Release Pipeline
There was a problem hiding this comment.
Can we also rename the file to release_pipeline.yml?
There was a problem hiding this comment.
Also change commit and PR description accordingly.
| name: Build and Test MaxText Release Candidate | ||
|
|
||
| on: | ||
| release: |
There was a problem hiding this comment.
Add a comment: # Triggers when a new "release" is published in the GitHub UI
|
|
||
| permissions: | ||
| contents: read | ||
| issues: write |
There was a problem hiding this comment.
add: id-token: write
| name: Approve Release Candidate | ||
| if: github.event_name != 'workflow_dispatch' | ||
| runs-on: ubuntu-latest | ||
| environment: release |
There was a problem hiding this comment.
Add a comment: # "release" environment is configured in MaxText repository settings. # This environment requires manual approval before proceeding to the next job.
| secrets: inherit | ||
|
|
||
| build_release_candidate_images: | ||
| name: Build Release Candidate Images |
There was a problem hiding this comment.
name: ${{ matrix.image_name }}
| release: | ||
| types: [published] | ||
| workflow_dispatch: | ||
| inputs: |
There was a problem hiding this comment.
These inputs are not required
Description
Add build_and_test_release_candidate.yml workflow with
release_approval,build_and_test_maxtext_package, andbuild_release_candidate_imagesjobsTests
Workflow is tested through
workflow_dispatch: https://github.com/AI-Hypercomputer/maxtext/actions/runs/26662269195Checklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.