[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] automation: add a job to import qemu-system-aarch64 into the pipeline



commit 17d02551cf79ad00dc4b5fab61fd32f091333750
Author:     Stefano Stabellini <sstabellini@xxxxxxxxxx>
AuthorDate: Tue Jan 5 14:58:44 2021 -0800
Commit:     Stefano Stabellini <sstabellini@xxxxxxxxxx>
CommitDate: Thu Jan 14 18:14:57 2021 -0800

    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@xxxxxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.