Skip to content

move Docker image loading into reusable workflow for CI#1672

Open
jordancarlin wants to merge 1 commit intoriscv:mainfrom
jordancarlin:common_docker_ci_setup
Open

move Docker image loading into reusable workflow for CI#1672
jordancarlin wants to merge 1 commit intoriscv:mainfrom
jordancarlin:common_docker_ci_setup

Conversation

@jordancarlin
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 18, 2026 18:22
Copy link
Copy Markdown
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

This pull request refactors the CI workflow by consolidating repetitive Docker image setup steps into a reusable composite action. The change reduces duplication across multiple regression test jobs and centralizes the management of the Docker image download and loading process.

Changes:

  • Created a new composite action at .github/actions/setup-docker-image/action.yml that encapsulates repository checkout, Docker image artifact download, and image loading steps
  • Removed the never-runs job (which was only used to keep renovate's download-artifact reference up-to-date)
  • Updated the workflow generator script to use the new composite action instead of generating the repetitive setup steps

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/actions/setup-docker-image/action.yml New composite action that performs repository checkout, downloads Docker image artifact, and loads the Docker image
tools/test/regress-gh-template.yaml Template updated to use the new composite action and removed the obsolete never-runs job
tools/test/gen_regress.rb Generator script updated to emit the new composite action reference instead of generating individual setup steps
.github/workflows/regress.yml Generated workflow file with all test jobs now using the composite action for Docker setup

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

Comment on lines -57 to -64
never-runs:
# this just exists so that renovate can keep the download-artifact pointer up-to-date
# we use it for regressions later
runs-on: ubuntu-latest
if: "false"
steps:
- name: Use download-artifact
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
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.

Is this supposed to be here?

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.

3 participants