From: Stefano Stabellini Date: Tue, 24 Nov 2020 21:13:50 +0000 (-0800) Subject: automation: make available the tests artifacts to the pipeline X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1251 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b532ee54ecc297cd41aaaffd79436ecbfe4188e;p=xen.git automation: make available the tests artifacts to the pipeline In order to make available the pre-built binaries of the automation/tests-artifacts containers to the gitlab-ci pipeline we need to export them as gitlab artifacts. To do that, we create two "fake" jobs that simply export the require binaries as artifacts and do nothing else. Signed-off-by: Stefano Stabellini Acked-by: Wei Liu --- diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index c48c0f3d66..e5246828f8 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -468,3 +468,29 @@ alpine-3.12-gcc-debug-arm64: extends: .gcc-arm64-build-debug variables: CONTAINER: alpine:3.12-arm64v8 + + +# Arm test artifacts + +alpine-3.12-arm64-rootfs-export: + stage: build + image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12-arm64v8 + script: + - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz + artifacts: + paths: + - binaries/initrd.tar.gz + tags: + - arm64 + +kernel-5.9.9-arm64-export: + stage: build + image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:5.9.9-arm64v8 + script: + - mkdir binaries && cp /Image binaries/Image + artifacts: + paths: + - binaries/Image + tags: + - arm64 +