mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
ci: Allow the Windows base and main image to have different tags
This commit is contained in:
parent
dacdcf8375
commit
355fb036b5
|
@ -200,7 +200,8 @@ arch:rolling:container_prep:
|
|||
inherit:
|
||||
default: false
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: "20220518.0"
|
||||
MONADO_WIN_BASE_TAG: "20220518.0"
|
||||
MONADO_WIN_MAIN_TAG: "20220518.0"
|
||||
MONADO_BASE_IMAGE_PATH: "win2019/vs2022_base"
|
||||
MONADO_MAIN_IMAGE_PATH: "win2019/vs2022"
|
||||
|
||||
|
@ -211,6 +212,7 @@ arch:rolling:container_prep:
|
|||
- .monado.common_variables.windows:vs2022
|
||||
variables:
|
||||
MONADO_IMAGE_PATH: "$MONADO_MAIN_IMAGE_PATH"
|
||||
FDO_DISTRIBUTION_TAG: "$MONADO_WIN_MAIN_TAG"
|
||||
MONADO_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
|
||||
|
@ -241,6 +243,7 @@ win:container_prep:base:
|
|||
variables:
|
||||
DOCKERFILE: Dockerfile.vs2022
|
||||
MONADO_IMAGE_PATH: ${MONADO_BASE_IMAGE_PATH}
|
||||
FDO_DISTRIBUTION_TAG: "$MONADO_WIN_BASE_TAG"
|
||||
MONADO_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
|
||||
|
@ -253,8 +256,8 @@ win:container_prep:
|
|||
- win:container_prep:base
|
||||
variables:
|
||||
DOCKERFILE: Dockerfile.build
|
||||
MONADO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_BASE_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_UPSTREAM_BASE_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_BASE_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_BASE_IMAGE_PATH:$MONADO_WIN_BASE_TAG"
|
||||
MONADO_UPSTREAM_BASE_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_BASE_IMAGE_PATH:$MONADO_WIN_BASE_TAG"
|
||||
|
||||
# Base job to use a Windows build container
|
||||
.monado.image.windows:
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
inherit:
|
||||
default: false
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: "20220518.0"
|
||||
MONADO_WIN_BASE_TAG: "20220518.0"
|
||||
MONADO_WIN_MAIN_TAG: "20220518.0"
|
||||
MONADO_BASE_IMAGE_PATH: "win2019/vs2022_base"
|
||||
MONADO_MAIN_IMAGE_PATH: "win2019/vs2022"
|
||||
|
||||
|
@ -20,6 +21,7 @@
|
|||
- .monado.common_variables.windows:vs2022
|
||||
variables:
|
||||
MONADO_IMAGE_PATH: "$MONADO_MAIN_IMAGE_PATH"
|
||||
FDO_DISTRIBUTION_TAG: "$MONADO_WIN_MAIN_TAG"
|
||||
MONADO_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
|
||||
|
@ -50,6 +52,7 @@ win:container_prep:base:
|
|||
variables:
|
||||
DOCKERFILE: Dockerfile.vs2022
|
||||
MONADO_IMAGE_PATH: ${MONADO_BASE_IMAGE_PATH}
|
||||
FDO_DISTRIBUTION_TAG: "$MONADO_WIN_BASE_TAG"
|
||||
MONADO_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
|
||||
|
@ -62,8 +65,8 @@ win:container_prep:
|
|||
- win:container_prep:base
|
||||
variables:
|
||||
DOCKERFILE: Dockerfile.build
|
||||
MONADO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_BASE_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_UPSTREAM_BASE_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_BASE_IMAGE_PATH:$FDO_DISTRIBUTION_TAG"
|
||||
MONADO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/$MONADO_BASE_IMAGE_PATH:$MONADO_WIN_BASE_TAG"
|
||||
MONADO_UPSTREAM_BASE_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$MONADO_BASE_IMAGE_PATH:$MONADO_WIN_BASE_TAG"
|
||||
|
||||
# Base job to use a Windows build container
|
||||
.monado.image.windows:
|
||||
|
|
Loading…
Reference in a new issue