mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CI: Define XEN_REGISTRY variable
This allow to change the registry used for container in a single place, and could be controlled via other mean. Signed-off-by: Anthony PERARD <anthony.perard@vates.tech> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
5726d8e5ef
commit
a231538acd
3 files changed
+6
-3
No files matched your search
@@ -1,3 +1,6 @@
|
||||
variables:
|
||||
XEN_REGISTRY: registry.gitlab.com/xen-project/xen
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH =~ /^(master|smoke|^coverity-tested\/.*|stable-.*)$/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.build-tmpl: &build
|
||||
stage: build
|
||||
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
|
||||
image: ${XEN_REGISTRY}/${CONTAINER}
|
||||
script:
|
||||
- ./automation/scripts/build 2>&1 | tee build.log
|
||||
artifacts:
|
||||
@@ -208,7 +208,7 @@
|
||||
|
||||
.yocto-test:
|
||||
stage: build
|
||||
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
|
||||
image: ${XEN_REGISTRY}/${CONTAINER}
|
||||
script:
|
||||
- ./automation/build/yocto/build-yocto.sh -v --log-dir=./logs --xen-dir=`pwd` ${YOCTO_BOARD} ${YOCTO_OUTPUT}
|
||||
variables:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.test-jobs-common:
|
||||
stage: test
|
||||
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
|
||||
image: ${XEN_REGISTRY}/${CONTAINER}
|
||||
|
||||
.arm64-test-needs: &arm64-test-needs
|
||||
- alpine-3.18-arm64-rootfs-export
|
||||
|
||||