mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
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:
2
.github/workflows/test-core.yaml
vendored
2
.github/workflows/test-core.yaml
vendored
@@ -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:
|
||||
|
||||
6
.github/workflows/test-windows.yml
vendored
6
.github/workflows/test-windows.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user