ci: Drop Ubuntu 20.04

It's now more than two years since Ubuntu 22.04 was released and
per our support policy, Ubuntu 20.04 (the previous major release)
is now not supported. Remove it from our CI testing.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2024-05-03 15:43:47 +02:00
parent dd085b1a16
commit a50f870da6
5 changed files with 14 additions and 253 deletions

View File

@ -1,103 +0,0 @@
# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool manifest ci/manifest.yml
#
# https://gitlab.com/libvirt/libvirt-ci
function install_buildenv() {
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get dist-upgrade -y
apt-get install --no-install-recommends -y \
augeas-lenses \
augeas-tools \
bash-completion \
black \
ca-certificates \
ccache \
clang \
codespell \
cpp \
diffutils \
dwarves \
ebtables \
flake8 \
gcc \
gettext \
git \
grep \
iproute2 \
iptables \
kmod \
libacl1-dev \
libapparmor-dev \
libattr1-dev \
libaudit-dev \
libblkid-dev \
libc6-dev \
libcap-ng-dev \
libcurl4-gnutls-dev \
libdevmapper-dev \
libfuse-dev \
libglib2.0-dev \
libglusterfs-dev \
libgnutls28-dev \
libiscsi-dev \
libnetcf-dev \
libnl-3-dev \
libnl-route-3-dev \
libnuma-dev \
libopenwsman-dev \
libparted-dev \
libpcap0.8-dev \
libpciaccess-dev \
librbd-dev \
libreadline-dev \
libsanlock-dev \
libsasl2-dev \
libselinux1-dev \
libssh-dev \
libssh2-1-dev \
libtirpc-dev \
libudev-dev \
libxen-dev \
libxml2-dev \
libxml2-utils \
libyajl-dev \
locales \
lvm2 \
make \
nfs-common \
ninja-build \
numad \
open-iscsi \
perl-base \
pkgconf \
policykit-1 \
python3 \
python3-docutils \
python3-pip \
python3-pytest \
python3-setuptools \
python3-wheel \
qemu-utils \
sed \
systemtap-sdt-dev \
wireshark-dev \
xsltproc
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen
dpkg-reconfigure locales
rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt
mkdir -p /usr/libexec/ccache-wrappers
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
/usr/bin/pip3 install meson==0.56.0
}
export CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
export LANG="en_US.UTF-8"
export MAKE="/usr/bin/make"
export NINJA="/usr/bin/ninja"
export PYTHON="/usr/bin/python3"

View File

@ -1,107 +0,0 @@
# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool manifest ci/manifest.yml
#
# https://gitlab.com/libvirt/libvirt-ci
FROM docker.io/library/ubuntu:20.04
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
augeas-lenses \
augeas-tools \
bash-completion \
black \
ca-certificates \
ccache \
clang \
codespell \
cpp \
diffutils \
dwarves \
ebtables \
flake8 \
gcc \
gettext \
git \
grep \
iproute2 \
iptables \
kmod \
libacl1-dev \
libapparmor-dev \
libattr1-dev \
libaudit-dev \
libblkid-dev \
libc6-dev \
libcap-ng-dev \
libcurl4-gnutls-dev \
libdevmapper-dev \
libfuse-dev \
libglib2.0-dev \
libglusterfs-dev \
libgnutls28-dev \
libiscsi-dev \
libnetcf-dev \
libnl-3-dev \
libnl-route-3-dev \
libnuma-dev \
libopenwsman-dev \
libparted-dev \
libpcap0.8-dev \
libpciaccess-dev \
librbd-dev \
libreadline-dev \
libsanlock-dev \
libsasl2-dev \
libselinux1-dev \
libssh-dev \
libssh2-1-dev \
libtirpc-dev \
libudev-dev \
libxen-dev \
libxml2-dev \
libxml2-utils \
libyajl-dev \
locales \
lvm2 \
make \
nfs-common \
ninja-build \
numad \
open-iscsi \
perl-base \
pkgconf \
policykit-1 \
python3 \
python3-docutils \
python3-pip \
python3-pytest \
python3-setuptools \
python3-wheel \
qemu-utils \
sed \
systemtap-sdt-dev \
wireshark-dev \
xsltproc && \
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales && \
rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
RUN /usr/bin/pip3 install meson==0.56.0
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"

View File

@ -206,20 +206,6 @@ x86_64-opensuse-tumbleweed:
TARGET_BASE_IMAGE: registry.opensuse.org/opensuse/tumbleweed:latest TARGET_BASE_IMAGE: registry.opensuse.org/opensuse/tumbleweed:latest
x86_64-ubuntu-2004:
extends: .native_build_job
needs:
- job: x86_64-ubuntu-2004-container
optional: true
allow_failure: false
variables:
ASAN_OPTIONS: verify_asan_link_order=0
MESON_ARGS: -Db_lundef=false -Db_sanitize=address,undefined
NAME: ubuntu-2004
TARGET_BASE_IMAGE: docker.io/library/ubuntu:20.04
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
x86_64-ubuntu-2204: x86_64-ubuntu-2204:
extends: .native_build_job extends: .native_build_job
needs: needs:
@ -461,7 +447,7 @@ aarch64-debian-sid:
needs: needs:
- job: aarch64-debian-sid-container - job: aarch64-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: aarch64 CROSS: aarch64
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
@ -474,7 +460,7 @@ armv6l-debian-sid:
needs: needs:
- job: armv6l-debian-sid-container - job: armv6l-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: armv6l CROSS: armv6l
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
@ -487,7 +473,7 @@ armv7l-debian-sid:
needs: needs:
- job: armv7l-debian-sid-container - job: armv7l-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: armv7l CROSS: armv7l
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
@ -500,7 +486,7 @@ i686-debian-sid:
needs: needs:
- job: i686-debian-sid-container - job: i686-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: i686 CROSS: i686
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
@ -513,7 +499,7 @@ mips64el-debian-sid:
needs: needs:
- job: mips64el-debian-sid-container - job: mips64el-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: mips64el CROSS: mips64el
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
@ -526,7 +512,7 @@ ppc64le-debian-sid:
needs: needs:
- job: ppc64le-debian-sid-container - job: ppc64le-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: ppc64le CROSS: ppc64le
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
@ -539,7 +525,7 @@ s390x-debian-sid:
needs: needs:
- job: s390x-debian-sid-container - job: s390x-debian-sid-container
optional: true optional: true
allow_failure: false allow_failure: true
variables: variables:
CROSS: s390x CROSS: s390x
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1

View File

@ -92,13 +92,6 @@ x86_64-opensuse-tumbleweed-container:
NAME: opensuse-tumbleweed NAME: opensuse-tumbleweed
x86_64-ubuntu-2004-container:
extends: .container_job
allow_failure: false
variables:
NAME: ubuntu-2004
x86_64-ubuntu-2204-container: x86_64-ubuntu-2204-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: false
@ -238,7 +231,7 @@ s390x-debian-12-container:
aarch64-debian-sid-container: aarch64-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-aarch64 NAME: debian-sid-cross-aarch64
@ -246,7 +239,7 @@ aarch64-debian-sid-container:
armv6l-debian-sid-container: armv6l-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-armv6l NAME: debian-sid-cross-armv6l
@ -254,7 +247,7 @@ armv6l-debian-sid-container:
armv7l-debian-sid-container: armv7l-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-armv7l NAME: debian-sid-cross-armv7l
@ -262,7 +255,7 @@ armv7l-debian-sid-container:
i686-debian-sid-container: i686-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-i686 NAME: debian-sid-cross-i686
@ -270,7 +263,7 @@ i686-debian-sid-container:
mips64el-debian-sid-container: mips64el-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-mips64el NAME: debian-sid-cross-mips64el
@ -278,7 +271,7 @@ mips64el-debian-sid-container:
ppc64le-debian-sid-container: ppc64le-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-ppc64le NAME: debian-sid-cross-ppc64le
@ -286,7 +279,7 @@ ppc64le-debian-sid-container:
s390x-debian-sid-container: s390x-debian-sid-container:
extends: .container_job extends: .container_job
allow_failure: false allow_failure: true
variables: variables:
JOB_OPTIONAL: 1 JOB_OPTIONAL: 1
NAME: debian-sid-cross-s390x NAME: debian-sid-cross-s390x

View File

@ -217,14 +217,6 @@ targets:
PATH_EXTRA: /usr/local/opt/ccache/libexec:/usr/local/opt/gettext/bin:/usr/local/opt/libpcap/bin:/usr/local/opt/libxslt/bin PATH_EXTRA: /usr/local/opt/ccache/libexec:/usr/local/opt/gettext/bin:/usr/local/opt/libpcap/bin:/usr/local/opt/libxslt/bin
PKG_CONFIG_PATH: /usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libpcap/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig PKG_CONFIG_PATH: /usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libpcap/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig
ubuntu-2004:
jobs:
- arch: x86_64
variables:
ASAN_OPTIONS: verify_asan_link_order=0
MESON_ARGS: -Db_lundef=false -Db_sanitize=address,undefined
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
ubuntu-2204: ubuntu-2204:
jobs: jobs:
- arch: x86_64 - arch: x86_64