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:
default: false
variables:
MONADO_WIN_BASE_TAG: "20220518.0"
MONADO_WIN_MAIN_TAG: "20220520.0"
MONADO_BASE_IMAGE_PATH: "win2019/vs2022_base"
MONADO_MAIN_IMAGE_PATH: "win2019/vs2022"
MONADO_WIN_BASE_TAG: "20220727.0"
MONADO_WIN_MAIN_TAG: "20220727.0"
MONADO_BASE_IMAGE_PATH: "win2022/vs2022_base"
MONADO_MAIN_IMAGE_PATH: "win2022/vs2022"
.monado.variables.windows:vs2022:
inherit:
@ -197,7 +197,7 @@ arch:rolling:container_prep:
default: false
tags:
- windows
- "1909"
- "2022"
- shell
variables:
GIT_STRATEGY: fetch
@ -238,7 +238,7 @@ win:container_prep:
.monado.image.windows:
tags:
- windows
- "1909"
- "2022"
- docker
extends:
- .monado.variables.windows:vs2022
@ -621,4 +621,4 @@ pages:
- mv repo public/apt
artifacts:
paths:
- public
- public

View file

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

View file

@ -6,7 +6,7 @@
# escape=`
# 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
SHELL ["powershell", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"]