ci: move external build environment setups to CentOS Stream 9
PATCH 1/1 ci: move external build environment setups to CentOS Stream 9
RHEL 9 (and thus also the derivatives) are available since two years now, so according to QEMU's support policy, we can drop the active support for the previous major version 8 now.
Thus upgrade our CentOS Stream build environment playbooks to major version 9 now.
---
.../stream/{8 => 9}/build-environment.yml | 31 ++++++-------
.../stream/{8 => 9}/x86_64/configure | 4 +-
.../stream/{8 => 9}/x86_64/test-avocado | 0
scripts/ci/setup/build-environment.yml | 44 +++++++------------
4 files changed, 34 insertions(+), 45 deletions(-)
rename scripts/ci/org.centos/stream/{8 => 9}/build-environment.yml (75%)
rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/configure (98%)
rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/test-avocado (100%)scripts/ci/org.centos/stream/9/build-environment.yml renamed from scripts/ci/org.centos/stream/8/build-environment.yml +16 -15
@@ -2,32 +2,32 @@ - name: Installation of extra packages to build QEMU hosts: all tasks: - - name: Extra check for CentOS Stream 8 + - name: Extra check for CentOS Stream 9 lineinfile: path: /etc/redhat-release - line: CentOS Stream release 8 + line: CentOS Stream release 9 state: present check_mode: yes - register: centos_stream_8 + register: centos_stream_9 - - name: Enable EPEL repo on CentOS Stream 8 + - name: Enable EPEL repo on CentOS Stream 9 dnf: name: - epel-release state: present when: - - centos_stream_8 + - centos_stream_9 - - name: Enable PowerTools repo on CentOS Stream 8 + - name: Enable CRB repo on CentOS Stream 9 ini_file: - path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo - section: powertools + path: /etc/yum.repos.d/centos.repo + section: crb option: enabled value: "1" when: - - centos_stream_8 + - centos_stream_9 - - name: Install basic packages to build QEMU on CentOS Stream 8 + - name: Install basic packages to build QEMU on CentOS Stream 9 dnf: name: - bzip2
@@ -42,7 +42,6 @@ - gettext - git - glib2-devel - - glusterfs-api-devel - gnutls-devel - libaio-devel - libcap-ng-devel
@@ -61,22 +60,24 @@ - lzo-devel - make - mesa-libEGL-devel + - meson - nettle-devel - ninja-build - nmap-ncat - numactl-devel - pixman-devel - - python38 + - python3 + - python3-pip - python3-sphinx + - python3-sphinx_rtd_theme + - python3-tomli - rdma-core-devel - redhat-rpm-config - snappy-devel - - spice-glib-devel - - spice-server-devel - systemd-devel - systemtap-sdt-devel - tar - zlib-devel state: present when: - - centos_stream_8 + - centos_stream_9
scripts/ci/org.centos/stream/9/x86_64/configure renamed from scripts/ci/org.centos/stream/8/x86_64/configure +1 -3
@@ -16,7 +16,7 @@ # that patches adding downstream specific devices are not available. # ../configure \ ---python=/usr/bin/python3.8 \ +--python=/usr/bin/python3.9 \ --prefix="/usr" \ --libdir="/usr/lib64" \ --datadir="/usr/share" \
@@ -157,7 +157,6 @@ --enable-docs \ --enable-fdt \ --enable-gcrypt \ ---enable-glusterfs \ --enable-gnutls \ --enable-guest-agent \ --enable-iconv \
@@ -180,7 +179,6 @@ --enable-seccomp \ --enable-snappy \ --enable-smartcard \ ---enable-spice \ --enable-system \ --enable-tcg \ --enable-tools \
scripts/ci/org.centos/stream/9/x86_64/test-avocado renamed from scripts/ci/org.centos/stream/8/x86_64/test-avocado +0 -0
scripts/ci/setup/build-environment.yml +17 -27
95 lines not on this page · raw message
Signature · 1 line
2.44.0
Quoted 14 lines · Paolo Bonzini
RHEL 9 (and thus also the derivatives) are available since two years now, so according to QEMU's support policy, we can drop the active support for the previous major version 8 now.
Thus upgrade our CentOS Stream build environment playbooks to major version 9 now.
Signed-off-by Paolo Bonzini <[email protected]>--- .../stream/{8 => 9}/build-environment.yml | 31 ++++++------- .../stream/{8 => 9}/x86_64/configure | 4 +- .../stream/{8 => 9}/x86_64/test-avocado | 0 scripts/ci/setup/build-environment.yml | 44 +++++++------------ 4 files changed, 34 insertions(+), 45 deletions(-)
Quoted 3 lines
rename
scripts/ci/org.centos/stream/{8=>9}/build-environment.yml(75%) renamescripts/ci/org.centos/stream/{8=> 9}/x86_64/configure (98%) renamescripts/ci/org.centos/stream/{8=> 9}/x86_64/test-avocado (100%)
Looks sane to me!
Quoted 14 lines · Paolo Bonzini
RHEL 9 (and thus also the derivatives) are available since two years now, so according to QEMU's support policy, we can drop the active support for the previous major version 8 now.
Thus upgrade our CentOS Stream build environment playbooks to major version 9 now.
Signed-off-by Paolo Bonzini <[email protected]>--- .../stream/{8 => 9}/build-environment.yml | 31 ++++++------- .../stream/{8 => 9}/x86_64/configure | 4 +- .../stream/{8 => 9}/x86_64/test-avocado | 0 scripts/ci/setup/build-environment.yml | 44 +++++++------------ 4 files changed, 34 insertions(+), 45 deletions(-)
Quoted 3 lines
rename
scripts/ci/org.centos/stream/{8=>9}/build-environment.yml(75%) renamescripts/ci/org.centos/stream/{8=> 9}/x86_64/configure (98%) renamescripts/ci/org.centos/stream/{8=> 9}/x86_64/test-avocado (100%)
Hi Paolo!
Not sure whether you've seen my busted pull request, but anyway: It seems like this was not enough to update the custom runner. You also need to update .gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml for this.
By the way, who has access to the s390x custom runner and could update it to Ubuntu 22.04 now? It still seems to work with 20.04 which will be out of support from the QEMU POV next week...
Thomas
Quoted 21 lines · Thomas Huth
Quoted 14 lines · Paolo Bonzini
RHEL 9 (and thus also the derivatives) are available since two years now, so according to QEMU's support policy, we can drop the active support for the previous major version 8 now.
Thus upgrade our CentOS Stream build environment playbooks to major version 9 now.
Signed-off-by Paolo Bonzini <[email protected]>--- .../stream/{8 => 9}/build-environment.yml | 31 ++++++------- .../stream/{8 => 9}/x86_64/configure | 4 +- .../stream/{8 => 9}/x86_64/test-avocado | 0 scripts/ci/setup/build-environment.yml | 44 +++++++------------ 4 files changed, 34 insertions(+), 45 deletions(-)Quoted 3 lines
rename
scripts/ci/org.centos/stream/{8=>9}/build-environment.yml(75%) renamescripts/ci/org.centos/stream/{8=> 9}/x86_64/configure (98%) renamescripts/ci/org.centos/stream/{8=> 9}/x86_64/test-avocado (100%)Hi Paolo!
Quoted 7 lines
Not sure whether you've seen my busted pull request, but anyway: It seems like this was not enough to update the custom runner. You also need to update
.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.ymlfor this.By the way, who has access to the s390x custom runner and could update it to Ubuntu 22.04 now? It still seems to work with 20.04 which will be out of support from the QEMU POV next week...
I rather wish that the custom runners were all using podman/docker, so we could have the jobs just build containers for the envs, like we do on shared runners, and/or on the Azure runners. That way we're not beholden to an admin to manually update OS intsalls.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|