CI: Refresh bullseye-ppc64le as debian:11-ppc64le

... in the style of debian:12-ppc64le.

Rename the jobs and reposition them later as they're not a dependency for the
smoke testing any more.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Release-Acked-By: Oleksii Kurochko <oleksii.kurochko@gmail.com>
This commit is contained in:
Andrew Cooper committed 2024-07-11 19:26:47 +01:00
1 parent 155c9d7f1b
commit d46e4264c3
4 files changed
+48 -48

No files matched your search

@@ -0,0 +1,33 @@
# syntax=docker/dockerfile:1
FROM --platform=linux/amd64 debian:bullseye-slim
LABEL maintainer.name="The Xen Project"
LABEL maintainer.email="xen-devel@lists.xenproject.org"
ENV DEBIAN_FRONTEND=noninteractive
ENV CROSS_COMPILE=powerpc64le-linux-gnu-
ENV XEN_TARGET_ARCH=ppc64
RUN <<EOF
#!/bin/bash
set -e
useradd --create-home user
apt-get -y update
DEPS=(
# Xen
bison
build-essential
checkpolicy
flex
gcc-powerpc64le-linux-gnu
python3-minimal
)
apt-get -y --no-install-recommends install "${DEPS[@]}"
rm -rf /var/lib/apt/lists/*
EOF
USER user
WORKDIR /build
@@ -1,32 +0,0 @@
# syntax=docker/dockerfile:1
FROM --platform=linux/amd64 debian:bullseye-slim
LABEL maintainer.name="The Xen Project" \
maintainer.email="xen-devel@lists.xenproject.org"
ENV DEBIAN_FRONTEND=noninteractive
ENV USER root
# Add compiler path
ENV CROSS_COMPILE powerpc64le-linux-gnu-
RUN mkdir /build
WORKDIR /build
# build depends
RUN apt-get update && \
apt-get --quiet --yes --no-install-recommends install \
bison \
build-essential \
checkpolicy \
flex \
gawk \
gcc-powerpc64le-linux-gnu \
make \
python3-minimal \
# QEMU runtime dependencies for test phase
libglib2.0-0 \
libpixman-1-0 \
&& \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
+14 -15
View File
@@ -493,21 +493,6 @@ archlinux-current-gcc-riscv64-randconfig:
RANDCONFIG: y
<<: *riscv-fixed-randconfig
# Power cross-build
debian-bullseye-gcc-ppc64le:
extends: .gcc-ppc64le-cross-build
variables:
CONTAINER: debian:bullseye-ppc64le
KBUILD_DEFCONFIG: ppc64_defconfig
HYPERVISOR_ONLY: y
debian-bullseye-gcc-ppc64le-debug:
extends: .gcc-ppc64le-cross-build-debug
variables:
CONTAINER: debian:bullseye-ppc64le
KBUILD_DEFCONFIG: ppc64_defconfig
HYPERVISOR_ONLY: y
# Yocto test jobs
yocto-qemuarm64:
extends: .yocto-test-arm64
@@ -733,6 +718,20 @@ opensuse-tumbleweed-gcc-debug:
allow_failure: true
# PowerPC builds (x86 cross)
debian-11-ppc64le-gcc:
extends: .gcc-ppc64le-cross-build
variables:
CONTAINER: debian:11-ppc64le
KBUILD_DEFCONFIG: ppc64_defconfig
HYPERVISOR_ONLY: y
debian-11-ppc64le-gcc-debug:
extends: .gcc-ppc64le-cross-build-debug
variables:
CONTAINER: debian:11-ppc64le
KBUILD_DEFCONFIG: ppc64_defconfig
HYPERVISOR_ONLY: y
debian-12-ppc64le-gcc:
extends: .gcc-ppc64le-cross-build
variables:
+1 -1
View File
@@ -31,7 +31,7 @@ case "_${CONTAINER}" in
_centos7) CONTAINER="${BASE}/centos:7" ;;
_fedora) CONTAINER="${BASE}/fedora:29";;
_focal) CONTAINER="${BASE}/ubuntu:focal" ;;
_bullseye-ppc64le) CONTAINER="${BASE}/debian:bullseye-ppc64le" ;;
_bullseye-ppc64le) CONTAINER="${BASE}/debian:11-ppc64le" ;;
_bookworm-ppc64le) CONTAINER="${BASE}/debian:12-ppc64le" ;;
_buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;;
_bookworm|_) CONTAINER="${BASE}/debian:bookworm" ;;
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.