]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
automation: Install packages required by tests in containers
authorMichal Orzel <michal.orzel@amd.com>
Thu, 17 Nov 2022 16:16:42 +0000 (17:16 +0100)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 9 Dec 2022 22:55:33 +0000 (14:55 -0800)
Installation of additional packages from the test scripts when running
the tests has some drawbacks. It is slower than cloning containers and can
fail due to some network issues (apparently it often happens on x86
rackspace). This patch is adding the packages required by the tests to be
installed when building the containers.

>From qemu-alpine-x86_64.sh into debian:stretch:
 - cpio,
 - busybox-static.

>From qemu-smoke-*-{arm,arm64}.sh into debian:unstable-arm64v8:
 - u-boot-qemu,
 - u-boot-tools,
 - device-tree-compiler,
 - curl,
 - cpio,
 - busybox-static.

The follow-up patch will remove installation of these packages from the
test scripts. This is done in order not to break the CI in-between.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
automation/build/debian/stretch.dockerfile
automation/build/debian/unstable-arm64v8.dockerfile

index da6aa874dd70d6673b9c2f05c6713d74d8384acf..30fcc5288dee548d795a8b56b6deb788687dc3f1 100644 (file)
@@ -49,6 +49,9 @@ RUN apt-get update && \
         apt-transport-https \
         # for test phase, qemu-smoke-* jobs
         qemu-system-x86 \
+        # for test phase, qemu-alpine-* jobs
+        cpio \
+        busybox-static \
         && \
         apt-get autoremove -y && \
         apt-get clean && \
index 5c73458d9d19eed8cfc472b276d214a9963aad82..0080c22ba21f6382666edcaed8099fe3d8568aa1 100644 (file)
@@ -43,6 +43,13 @@ RUN apt-get update && \
         wget \
         git \
         nasm \
+        # for test phase, qemu-smoke-* jobs
+        u-boot-qemu \
+        u-boot-tools \
+        device-tree-compiler \
+        curl \
+        cpio \
+        busybox-static \
         && \
         apt-get autoremove -y && \
         apt-get clean && \