Mailing List Archive

[PATCH 2/3] automation: add a job to import qemu-system-aarch64 into the pipeline
In order to use the pre-built test-artifacts/qemu-system-aarch64 binary
for our tests, first we need to import it into the pipeline. Let's do
that the same way we did it for the kernel and Alpine Linux filesystem:
by creating a special job for it.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
---
automation/gitlab-ci/build.yaml | 11 +++++++++++
automation/gitlab-ci/test.yaml | 2 ++
2 files changed, 13 insertions(+)

diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index e5246828f8..db68dd0b69 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -494,3 +494,14 @@ kernel-5.9.9-arm64-export:
tags:
- arm64

+qemu-system-aarch64-5.2.0-arm64-export:
+ stage: build
+ image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:5.2.0-arm64v8
+ script:
+ - mkdir binaries && cp /qemu-system-aarch64 binaries/qemu-system-aarch64
+ artifacts:
+ paths:
+ - binaries/qemu-system-aarch64
+ tags:
+ - arm64
+
diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
index 9448651187..91a10febbf 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -33,6 +33,7 @@ qemu-alpine-arm64-gcc:
- alpine-3.12-gcc-arm64
- alpine-3.12-arm64-rootfs-export
- kernel-5.9.9-arm64-export
+ - qemu-system-aarch64-5.2.0-arm64-export
artifacts:
paths:
- smoke.serial
@@ -56,6 +57,7 @@ qemu-smoke-arm64-gcc:
dependencies:
- debian-unstable-gcc-arm64
- kernel-5.9.9-arm64-export
+ - qemu-system-aarch64-5.2.0-arm64-export
artifacts:
paths:
- smoke.serial
--
2.17.1