ci: windows 2022 runners (upcoming 2019 eol) (#25984)

fix for:
> This is a scheduled Windows Server 2019 brownout.
> The Windows Server 2019 image will be removed on 2025-06-30.
> For more details, see actions/runner-images#12045
This commit is contained in:
Daniel Bennett
2025-06-04 16:55:41 -04:00
committed by GitHub
parent e95148c10d
commit 3ed91193ec
3 changed files with 5 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ jobs:
- ubuntu-22.04
- ubuntu-22.04-arm
- macos-14
- windows-2019
- windows-2022
runs-on: ${{ (endsWith(github.repository, '-enterprise')) && (matrix.os == 'ubuntu-22.04-arm') && fromJSON('["self-hosted", "ubuntu-22.04-arm64"]') || matrix.os }}
timeout-minutes: 20
steps:

View File

@@ -43,7 +43,7 @@ env:
VAULT_VERSION: 1.4.1
jobs:
test-windows:
runs-on: 'windows-2019-16core'
runs-on: 'windows-2022-16core'
env:
GOTESTSUM_PATH: c:\tmp\test-reports
steps:
@@ -72,7 +72,7 @@ jobs:
- name: Pre-download docker test image
shell: bash
run: |-
docker pull docker.mirror.hashicorp.services/hashicorpdev/busybox-windows:ltsc2019
docker pull docker.mirror.hashicorp.services/hashicorpdev/busybox-windows:ltsc2022
- name: Build nomad
shell: bash
run: |-
@@ -80,7 +80,7 @@ jobs:
- name: Run tests with gotestsum
shell: bash
env:
BUSYBOX_IMAGE: docker.mirror.hashicorp.services/hashicorpdev/busybox-windows:ltsc2019
BUSYBOX_IMAGE: docker.mirror.hashicorp.services/hashicorpdev/busybox-windows:ltsc2022
run: |-
# Only test docker driver tests for now
export PATH=/c/go/bin:/c/gopath/bin:$PATH