Skip to content

CI: Add workflow_dispatch input for aiter branch in atom-test#360

Draft
gyohuangxin wants to merge 2 commits intomainfrom
mannual_atom
Draft

CI: Add workflow_dispatch input for aiter branch in atom-test#360
gyohuangxin wants to merge 2 commits intomainfrom
mannual_atom

Conversation

@gyohuangxin
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 10:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a workflow_dispatch input to let CI builds pick a specific ROCm/aiter branch when constructing the CI image.

Changes:

  • Introduces workflow_dispatch.inputs.aiter_branch with default main.
  • Adds AITER_GIT_REF env var and uses it in git clone -b ... to select the requested branch.
  • Makes GITHUB_COMMIT_SHA more robust by falling back to github.sha.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +33 to +34
# workflow_dispatch: inputs.aiter_branch; otherwise main (matches previous default-branch shallow clone)
AITER_GIT_REF: ${{ github.event_name == 'workflow_dispatch' && inputs.aiter_branch || 'main' }}
RUN mv jq /usr/local/bin/jq
RUN rm -rf /app/aiter-test
RUN git clone --depth 1 https://github.com/ROCm/aiter.git /app/aiter-test && \\
RUN git clone --depth 1 -b ${{ env.AITER_GIT_REF }} https://github.com/ROCm/aiter.git /app/aiter-test && \\
RUN pip show pybind11
RUN rm -rf /app/aiter-test
RUN git clone https://github.com/ROCm/aiter.git /app/aiter-test && \\
RUN git clone --depth 1 -b ${{ env.AITER_GIT_REF }} https://github.com/ROCm/aiter.git /app/aiter-test && \\
@gyohuangxin gyohuangxin marked this pull request as draft March 19, 2026 15:01
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