ci: switch the windows CI to server 2022

This commit is contained in:
Jordan Petridis 2022-07-27 17:04:47 +03:00 committed by Ryan Pavlik
parent ee450e6f29
commit 33d302d912
3 changed files with 14 additions and 14 deletions

View file

@ -175,10 +175,10 @@ arch:rolling:container_prep:
inherit: inherit:
default: false default: false
variables: variables:
MONADO_WIN_BASE_TAG: "20220518.0" MONADO_WIN_BASE_TAG: "20220727.0"
MONADO_WIN_MAIN_TAG: "20220520.0" MONADO_WIN_MAIN_TAG: "20220727.0"
MONADO_BASE_IMAGE_PATH: "win2019/vs2022_base" MONADO_BASE_IMAGE_PATH: "win2022/vs2022_base"
MONADO_MAIN_IMAGE_PATH: "win2019/vs2022" MONADO_MAIN_IMAGE_PATH: "win2022/vs2022"
.monado.variables.windows:vs2022: .monado.variables.windows:vs2022:
inherit: inherit:
@ -197,7 +197,7 @@ arch:rolling:container_prep:
default: false default: false
tags: tags:
- windows - windows
- "1909" - "2022"
- shell - shell
variables: variables:
GIT_STRATEGY: fetch GIT_STRATEGY: fetch
@ -238,7 +238,7 @@ win:container_prep:
.monado.image.windows: .monado.image.windows:
tags: tags:
- windows - windows
- "1909" - "2022"
- docker - docker
extends: extends:
- .monado.variables.windows:vs2022 - .monado.variables.windows:vs2022

View file

@ -9,10 +9,10 @@
inherit: inherit:
default: false default: false
variables: variables:
MONADO_WIN_BASE_TAG: "20220518.0" MONADO_WIN_BASE_TAG: "20220727.0"
MONADO_WIN_MAIN_TAG: "20220520.0" MONADO_WIN_MAIN_TAG: "20220727.0"
MONADO_BASE_IMAGE_PATH: "win2019/vs2022_base" MONADO_BASE_IMAGE_PATH: "win2022/vs2022_base"
MONADO_MAIN_IMAGE_PATH: "win2019/vs2022" MONADO_MAIN_IMAGE_PATH: "win2022/vs2022"
.monado.variables.windows:vs2022: .monado.variables.windows:vs2022:
inherit: inherit:
@ -31,7 +31,7 @@
default: false default: false
tags: tags:
- windows - windows
- "1909" - "2022"
- shell - shell
variables: variables:
GIT_STRATEGY: fetch GIT_STRATEGY: fetch
@ -72,7 +72,7 @@ win:container_prep:
.monado.image.windows: .monado.image.windows:
tags: tags:
- windows - windows
- "1909" - "2022"
- docker - docker
extends: extends:
- .monado.variables.windows:vs2022 - .monado.variables.windows:vs2022

View file

@ -6,7 +6,7 @@
# escape=` # escape=`
# FROM mcr.microsoft.com/windows:2004 # FROM mcr.microsoft.com/windows:2004
FROM mcr.microsoft.com/windows/servercore:ltsc2019 FROM mcr.microsoft.com/windows/server:ltsc2022
# Make sure any failure in PowerShell scripts is fatal # Make sure any failure in PowerShell scripts is fatal
SHELL ["powershell", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"] SHELL ["powershell", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"]