Add support for Windows 24H2
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
What does this MR do?
Adds support for running jobs with the docker-windows
executor on Windows Server 2025 and Windows 11 24H2.
This MR takes advantage of the down-level compatibility in newer Windows versions by re-using the existing 21H2 helper images.
I have presumed the existence of a runner tagged windows-24h2
, since even (or especially) with re-using the 21H2 image,
running integration tests against 24H2 seemed advisable. That is, however, very much just a suggestion,
and I'm happy to change the tag or throw these test jobs out entirely.
Why was this MR needed?
Since no helper image is mapped to the 24H2 build number, the runner currently reports a windows.ErrUnsupportedWindowsVersion
on 24H2.
See #38246
What's the best way to test this MR?
- Install gitlab-runner on Windows Server 2025 or Windows 11 24H2
- Configure a runner with the
docker-windows
executor - Run any job on this runner
What are the relevant issue numbers?
Edited by Martin Blecker