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 <stefano.stabellini@xilinx.com>
Acked-by: Wei Liu <wl@xen.org>
This commit is contained in:
Stefano Stabellini committed 2020-12-17 14:56:43 -08:00
1 parent e1681ce44c
commit 7b532ee54e
1 file changed
+26
+26
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.