CI: Update ARM64 tests from Linux 6.6.74 to 6.6.86

Switch over to test-artifacts.

Drop the associated export job, and dockerfile.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
This commit is contained in:
Andrew Cooper committed 2025-04-10 18:01:57 +01:00
1 parent f858837664
commit 8b22309c9b
3 files changed
+3 -50

No files matched your search

-11
View File
@@ -275,17 +275,6 @@ alpine-3.18-arm64-rootfs-export:
tags:
- arm64
kernel-6.6.74-arm64-export:
extends: .test-jobs-artifact-common
image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:6.6.74-arm64v8
script:
- mkdir binaries && cp /Image binaries/Image
artifacts:
paths:
- binaries/Image
tags:
- arm64
qemu-system-aarch64-6.0.0-arm64-export:
extends: .test-jobs-artifact-common
image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8
+3 -1
View File
@@ -8,8 +8,10 @@
- when: on_success
.arm64-test-needs: &arm64-test-needs
- project: xen-project/hardware/test-artifacts
job: linux-6.6.86-arm64
ref: master
- alpine-3.18-arm64-rootfs-export
- kernel-6.6.74-arm64-export
- qemu-system-aarch64-6.0.0-arm64-export
.arm32-test-needs: &arm32-test-needs
@@ -1,38 +0,0 @@
# syntax=docker/dockerfile:1
FROM --platform=linux/arm64/v8 debian:bookworm
LABEL maintainer.name="The Xen Project" \
maintainer.email="xen-devel@lists.xenproject.org"
ENV DEBIAN_FRONTEND=noninteractive
ENV LINUX_VERSION=6.6.74
ENV USER root
RUN mkdir /build
WORKDIR /build
# build depends
RUN apt-get update && \
apt-get --quiet --yes install \
build-essential \
bc \
curl \
flex \
bison \
libssl-dev \
&& \
\
# Build the kernel
curl -fsSLO https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-"$LINUX_VERSION".tar.xz && \
tar xvJf linux-"$LINUX_VERSION".tar.xz && \
cd linux-"$LINUX_VERSION" && \
make defconfig && \
sed -i 's/CONFIG_IPV6=m/CONFIG_IPV6=y/g' .config && \
sed -i 's/CONFIG_BRIDGE=m/CONFIG_BRIDGE=y/g' .config && \
sed -i 's/# CONFIG_XEN_NETDEV_BACKEND is not set/CONFIG_XEN_NETDEV_BACKEND=y/g' .config && \
make -j$(nproc) Image.gz && \
cp arch/arm64/boot/Image / && \
cd /build && \
rm -rf linux-"$LINUX_VERSION"* && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.