Skip to content

Add build_and_test_release_candidate.yml workflow#3999

Open
YixuanWang-99 wants to merge 1 commit into
mainfrom
yixuannwang-dev-workflow
Open

Add build_and_test_release_candidate.yml workflow#3999
YixuanWang-99 wants to merge 1 commit into
mainfrom
yixuannwang-dev-workflow

Conversation

@YixuanWang-99
Copy link
Copy Markdown
Collaborator

@YixuanWang-99 YixuanWang-99 commented May 27, 2026

Description

Add build_and_test_release_candidate.yml workflow with release_approval, build_and_test_maxtext_package, and build_release_candidate_images jobs

Tests

Workflow is tested through workflow_dispatch: https://github.com/AI-Hypercomputer/maxtext/actions/runs/26662269195

Screenshot 2026-05-29 at 3 11 19 PM

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@YixuanWang-99 YixuanWang-99 changed the title add build_and_test_release_candidate.yml workflow Add build_and_test_release_candidate.yml workflow May 29, 2026
@YixuanWang-99 YixuanWang-99 force-pushed the yixuannwang-dev-workflow branch from 06e205c to e608911 Compare May 29, 2026 22:24
# 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
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: MaxText Release Pipeline

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also rename the file to release_pipeline.yml?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also change commit and PR description accordingly.

name: Build and Test MaxText Release Candidate

on:
release:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment: # Triggers when a new "release" is published in the GitHub UI


permissions:
contents: read
issues: write
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add: id-token: write

name: Approve Release Candidate
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
environment: release
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name: ${{ matrix.image_name }}

release:
types: [published]
workflow_dispatch:
inputs:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These inputs are not required

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