Skip to content

Create docker image for github self hosted windows runner#162

Open
MohamedAlmaki wants to merge 5 commits intomainfrom
0-win-github-runner
Open

Create docker image for github self hosted windows runner#162
MohamedAlmaki wants to merge 5 commits intomainfrom
0-win-github-runner

Conversation

@MohamedAlmaki
Copy link
Copy Markdown
Contributor

@MohamedAlmaki MohamedAlmaki commented Apr 17, 2026

Docker image for self-hosted GitHub Windows runner for the mantidproject/mantid repository.

The Docker image is based on the same Jenkins node image but removes Jenkins dependencies and installs GitHub Runner dependencies. This ensures consistency as we transition from Jenkins to GitHub Actions. For more details, see the README.

The image has been uploaded as version 0.1 to our container repository here.

You can see the runner in action in this PR.

Closes #158

@MohamedAlmaki MohamedAlmaki changed the title Create docker image for github self hosted runner Create docker image for github self hosted windows runner Apr 17, 2026
@MohamedAlmaki MohamedAlmaki marked this pull request as ready for review April 17, 2026 10:54
@warunawickramasingha warunawickramasingha self-requested a review May 1, 2026 09:53
@thomashampson thomashampson self-assigned this May 1, 2026
Copy link
Copy Markdown
Collaborator

@thomashampson thomashampson left a comment

Choose a reason for hiding this comment

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

Small addition is required to documentation to ensure the docker container is given a name.
Otherwise it is looking good to me. I was able to create a docker container following the instructions and it is runner here:
thomashampson/mantid_github_actions_test#6
I am also attempting to run the system tests on Windows using this docker image because I think we should test that before merging this PR. We will need to run system tests in the nightly builds, so we might as well check that they work now:
thomashampson/mantid_github_actions_test#7

Comment thread Windows/github-runner/readme.md
@thomashampson
Copy link
Copy Markdown
Collaborator

system tests all run and pass on Windows when using this docker image:
thomashampson/mantid_github_actions_test#7

Copy link
Copy Markdown
Collaborator

@thomashampson thomashampson left a comment

Choose a reason for hiding this comment

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

I've tested the docker image myself in a fork, and confirmed that system tests also run and pass with this image.

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.

Configure Windows self-hosted GitHub runners

2 participants