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

[xen master] CI: Introduce new qubes-hw-runner.dockerfile



commit 4dff3f89c1c5f22f751f1ca9790a6cf23ad09356
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Jun 8 20:16:57 2026 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Mon Jun 15 18:04:20 2026 +0100

    CI: Introduce new qubes-hw-runner.dockerfile
    
    This container is tied to gitlab-runner environment in the RPis driving the
    test systems, not a specific version of Alpine.  Intentionally give it a
    generic name so it need not change in the future.
    
    Switch to Alpine 3.24 right away, as it doesn't interact with the 3.18 
builds
    under test.
    
    The container needs to remain a root container.  By no longer using the
    arm64v8 build container for dual-purpose, we can finally make the build
    containers be non-root.
    
    No practical change.
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Reviewed-by: Denis Mukhin <dmukhin@xxxxxxxx>
    Acked-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
    Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
---
 automation/build/alpine/qubes-hw-runner.dockerfile | 21 +++++++++++++++++++++
 automation/gitlab-ci/test.yaml                     |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/automation/build/alpine/qubes-hw-runner.dockerfile 
b/automation/build/alpine/qubes-hw-runner.dockerfile
new file mode 100644
index 0000000000..8b11164872
--- /dev/null
+++ b/automation/build/alpine/qubes-hw-runner.dockerfile
@@ -0,0 +1,21 @@
+# syntax=docker/dockerfile:1
+FROM --platform=linux/arm64/v8 alpine:3.24
+LABEL maintainer.name="The Xen Project"
+LABEL maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx"
+
+RUN apk --no-cache add bash
+
+RUN <<EOF
+#!/bin/bash
+    set -eu
+
+    DEPS=(
+          expect
+          openssh-client
+    )
+
+    apk add --no-cache "${DEPS[@]}"
+EOF
+
+USER root
+WORKDIR /build
diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
index c375c97309..eed379cbb4 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -145,7 +145,7 @@
   extends: .test-jobs-common
   variables:
     # the test controller runs on RPi4
-    CONTAINER: alpine:3.18-arm64v8
+    CONTAINER: alpine:qubes-hw-runner
     LOGFILE: smoke-test.log
     PCIDEV: "03:00.0"
     PCIDEV_INTR: "MSI-X"
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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