Mailing List Archive

[PATCH v3 09/12] 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>
---
automation/gitlab-ci/build.yaml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

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
+
--
2.17.1