AlmaLinux 9 was released a while ago, but for some reason it's
missing in our CI. Add it there.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
ci/buildenv/almalinux-9.sh | 101 ++++++++++++++++++++++++++
ci/containers/almalinux-9.Dockerfile | 104 +++++++++++++++++++++++++++
ci/gitlab/builds.yml | 26 +++++++
ci/gitlab/containers.yml | 7 ++
ci/manifest.yml | 13 ++++
5 files changed, 251 insertions(+)
create mode 100644 ci/buildenv/almalinux-9.sh
create mode 100644 ci/containers/almalinux-9.Dockerfile
diff --git a/ci/buildenv/almalinux-9.sh b/ci/buildenv/almalinux-9.sh
new file mode 100644
index 0000000000..f0826e1313
--- /dev/null
+++ b/ci/buildenv/almalinux-9.sh
@@ -0,0 +1,101 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool manifest ci/manifest.yml
+#
+#
https://gitlab.com/libvirt/libvirt-ci
+
+function install_buildenv() {
+ dnf update -y
+ dnf install 'dnf-command(config-manager)' -y
+ dnf config-manager --set-enabled -y crb
+ dnf install -y epel-release
+ dnf install -y \
+ audit-libs-devel \
+ augeas \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ clang-devel \
+ cpp \
+ cyrus-sasl-devel \
+ device-mapper-devel \
+ diffutils \
+ dwarves \
+ ebtables \
+ firewalld-filesystem \
+ fuse-devel \
+ gcc \
+ gettext \
+ git \
+ glib2-devel \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ grep \
+ iproute \
+ iproute-tc \
+ iptables \
+ iscsi-initiator-utils \
+ kmod \
+ libacl-devel \
+ libattr-devel \
+ libblkid-devel \
+ libcap-ng-devel \
+ libcurl-devel \
+ libiscsi-devel \
+ libnbd-devel \
+ libnl3-devel \
+ libpcap-devel \
+ libpciaccess-devel \
+ librbd-devel \
+ libselinux-devel \
+ libssh-devel \
+ libssh2-devel \
+ libtirpc-devel \
+ libwsman-devel \
+ libxml2 \
+ libxml2-devel \
+ libxslt \
+ lvm2 \
+ make \
+ meson \
+ nfs-utils \
+ ninja-build \
+ numactl-devel \
+ numad \
+ parted-devel \
+ perl-base \
+ pkgconfig \
+ polkit \
+ python3 \
+ python3-docutils \
+ python3-flake8 \
+ python3-pip \
+ python3-pytest \
+ python3-setuptools \
+ python3-wheel \
+ qemu-img \
+ readline-devel \
+ rpm-build \
+ sanlock-devel \
+ sed \
+ systemd-devel \
+ systemd-rpm-macros \
+ systemtap-sdt-devel \
+ wireshark-devel \
+ yajl-devel
+ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
+ rpm -qa | sort > /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 black
+}
+
+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"
diff --git a/ci/containers/almalinux-9.Dockerfile b/ci/containers/almalinux-9.Dockerfile
new file mode 100644
index 0000000000..68608b12a9
--- /dev/null
+++ b/ci/containers/almalinux-9.Dockerfile
@@ -0,0 +1,104 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool manifest ci/manifest.yml
+#
+#
https://gitlab.com/libvirt/libvirt-ci
+
+FROM docker.io/library/almalinux:9
+
+RUN dnf update -y && \
+ dnf install 'dnf-command(config-manager)' -y && \
+ dnf config-manager --set-enabled -y crb && \
+ dnf install -y epel-release && \
+ dnf install -y \
+ audit-libs-devel \
+ augeas \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ clang-devel \
+ cpp \
+ cyrus-sasl-devel \
+ device-mapper-devel \
+ diffutils \
+ dwarves \
+ ebtables \
+ firewalld-filesystem \
+ fuse-devel \
+ gcc \
+ gettext \
+ git \
+ glib2-devel \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ grep \
+ iproute \
+ iproute-tc \
+ iptables \
+ iscsi-initiator-utils \
+ kmod \
+ libacl-devel \
+ libattr-devel \
+ libblkid-devel \
+ libcap-ng-devel \
+ libcurl-devel \
+ libiscsi-devel \
+ libnbd-devel \
+ libnl3-devel \
+ libpcap-devel \
+ libpciaccess-devel \
+ librbd-devel \
+ libselinux-devel \
+ libssh-devel \
+ libssh2-devel \
+ libtirpc-devel \
+ libwsman-devel \
+ libxml2 \
+ libxml2-devel \
+ libxslt \
+ lvm2 \
+ make \
+ meson \
+ nfs-utils \
+ ninja-build \
+ numactl-devel \
+ numad \
+ parted-devel \
+ perl-base \
+ pkgconfig \
+ polkit \
+ python3 \
+ python3-docutils \
+ python3-flake8 \
+ python3-pip \
+ python3-pytest \
+ python3-setuptools \
+ python3-wheel \
+ qemu-img \
+ readline-devel \
+ rpm-build \
+ sanlock-devel \
+ sed \
+ systemd-devel \
+ systemd-rpm-macros \
+ systemtap-sdt-devel \
+ wireshark-devel \
+ yajl-devel && \
+ dnf autoremove -y && \
+ dnf clean all -y && \
+ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
+ rpm -qa | sort > /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 black
+
+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"
diff --git a/ci/gitlab/builds.yml b/ci/gitlab/builds.yml
index a6a2d646b7..a0a64c1ec1 100644
--- a/ci/gitlab/builds.yml
+++ b/ci/gitlab/builds.yml
@@ -7,6 +7,32 @@
# Native build jobs
+x86_64-almalinux-9:
+ extends: .native_build_job
+ needs:
+ - job: x86_64-almalinux-9-container
+ optional: true
+ allow_failure: false
+ variables:
+ JOB_OPTIONAL: 1
+ NAME: almalinux-9
+ RPM: skip
+ TARGET_BASE_IMAGE: docker.io/library/almalinux:9
+
+
+x86_64-almalinux-9-clang:
+ extends: .native_build_job
+ needs:
+ - job: x86_64-almalinux-9-container
+ optional: true
+ allow_failure: false
+ variables:
+ CC: clang
+ NAME: almalinux-9
+ RPM: skip
+ TARGET_BASE_IMAGE: docker.io/library/almalinux:9
+
+
x86_64-alpine-319:
extends: .native_build_job
needs:
diff --git a/ci/gitlab/containers.yml b/ci/gitlab/containers.yml
index dc8ea11f4e..55137dc1c3 100644
--- a/ci/gitlab/containers.yml
+++ b/ci/gitlab/containers.yml
@@ -7,6 +7,13 @@
# Native container jobs
+x86_64-almalinux-9-container:
+ extends: .container_job
+ allow_failure: false
+ variables:
+ NAME: almalinux-9
+
+
x86_64-alpine-319-container:
extends: .container_job
allow_failure: false
diff --git a/ci/manifest.yml b/ci/manifest.yml
index 926a7a33d3..647510ed2f 100644
--- a/ci/manifest.yml
+++ b/ci/manifest.yml
@@ -6,6 +6,19 @@ gitlab:
project: libvirt
targets:
+ almalinux-9:
+ jobs:
+ - arch: x86_64
+ builds: false
+ variables:
+ RPM: skip
+
+ - arch: x86_64
+ suffix: -clang
+ variables:
+ RPM: skip
+ CC: clang
+
alpine-319: x86_64
alpine-edge:
--
2.43.2