From nobody Mon Sep 16 20:02:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1683098376; cv=none; d=zohomail.com; s=zohoarc; b=SSZ+a80gGyNj68VFiiUudHzCuStepvPzgr85uoIH0xiMSH+0Lnru5+uRJ5/+4iR1l02foq8s0EQgrsxpms1DsNaIbQCv45ljFScXGvWdSEwtgDnx8Kw7CG1biKA7sCH7xhH2cphisBcY4FlmaI9nkN/tnK8sEZJmROINFNSWNLA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683098376; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Un/hXLnn+VMbuXJOhzZ46LpE5PnO0DeoTstXkCzgvz8=; b=Bc0s1GiWkmt39wUnaI7ArLt9cQ/dE3A9/Qs0KBfoEIILUx8xAMeIwIy6nH5ZF4wv3vZHOMAu3n7v2nF6VUpK8K7u1BkvThMsLg/1duFdmblPy172GCHZomfMc5RutTExSDQ6TrBnqFd2hFILgDmDv9ZMvStEErtIveXD/YzDawo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1683098376534849.6968371363838; Wed, 3 May 2023 00:19:36 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-64-fiQH9Rt4P_CK08Nnan-NJQ-1; Wed, 03 May 2023 03:19:34 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 87E3E185A7A2; Wed, 3 May 2023 07:19:31 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2AE4C63F4A; Wed, 3 May 2023 07:19:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 76EB019465BA; Wed, 3 May 2023 07:19:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4FDE8194658C for ; Wed, 3 May 2023 07:19:17 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3F847492B01; Wed, 3 May 2023 07:19:17 +0000 (UTC) Received: from ridgehead.redhat.com (unknown [10.39.194.80]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8C2A3492C3E; Wed, 3 May 2023 07:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683098375; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Un/hXLnn+VMbuXJOhzZ46LpE5PnO0DeoTstXkCzgvz8=; b=QpzZE4pdNC+pp3cuq9MzYJqc60RA8hyD3ASRXgVyIqlhJ73tEUMeVBkBRutBicDCw44uRb OJq6SZla3Dc/qmDbSDcF+ZfASLsbqc47WYDmF6xK6W9oog0GwO5p1iaQVRfLX75euJqiE4 LucnvPEA7uvKhx4QvoryF/VNXBNQrhQ= X-MC-Unique: fiQH9Rt4P_CK08Nnan-NJQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 1/4] ci: Add Fedora 38 target Date: Wed, 3 May 2023 09:19:11 +0200 Message-Id: <4aa291367e189f4ce1c9569c5b1ca5089fb82874.1683098352.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1683098378283100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Erik Skultety --- ci/buildenv/fedora-38.sh | 96 +++++++++++++++++++++++++ ci/containers/fedora-38.Dockerfile | 108 +++++++++++++++++++++++++++++ ci/gitlab/builds.yml | 26 +++++++ ci/gitlab/containers.yml | 7 ++ ci/integration.yml | 40 +++++++++++ ci/manifest.yml | 8 +++ 6 files changed, 285 insertions(+) create mode 100644 ci/buildenv/fedora-38.sh create mode 100644 ci/containers/fedora-38.Dockerfile diff --git a/ci/buildenv/fedora-38.sh b/ci/buildenv/fedora-38.sh new file mode 100644 index 0000000000..23886ae77c --- /dev/null +++ b/ci/buildenv/fedora-38.sh @@ -0,0 +1,96 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool manifest ci/manifest.yml +# +# https://gitlab.com/libvirt/libvirt-ci + +function install_buildenv() { + dnf update -y + dnf install -y \ + audit-libs-devel \ + augeas \ + bash-completion \ + ca-certificates \ + ccache \ + clang \ + codespell \ + cpp \ + cppi \ + cyrus-sasl-devel \ + device-mapper-devel \ + diffutils \ + dwarves \ + ebtables \ + firewalld-filesystem \ + fuse-devel \ + gcc \ + gettext \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + grep \ + iproute \ + iproute-tc \ + iptables \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-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 \ + qemu-img \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + scrub \ + sed \ + systemd-devel \ + systemd-rpm-macros \ + systemtap-sdt-devel \ + wireshark-devel \ + xen-devel \ + yajl-devel + 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 +} + +export CCACHE_WRAPPERSDIR=3D"/usr/libexec/ccache-wrappers" +export LANG=3D"en_US.UTF-8" +export MAKE=3D"/usr/bin/make" +export NINJA=3D"/usr/bin/ninja" +export PYTHON=3D"/usr/bin/python3" diff --git a/ci/containers/fedora-38.Dockerfile b/ci/containers/fedora-38.D= ockerfile new file mode 100644 index 0000000000..0b67a56b80 --- /dev/null +++ b/ci/containers/fedora-38.Dockerfile @@ -0,0 +1,108 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool manifest ci/manifest.yml +# +# https://gitlab.com/libvirt/libvirt-ci + +FROM registry.fedoraproject.org/fedora:38 + +RUN dnf install -y nosync && \ + printf '#!/bin/sh\n\ +if test -d /usr/lib64\n\ +then\n\ + export LD_PRELOAD=3D/usr/lib64/nosync/nosync.so\n\ +else\n\ + export LD_PRELOAD=3D/usr/lib/nosync/nosync.so\n\ +fi\n\ +exec "$@"\n' > /usr/bin/nosync && \ + chmod +x /usr/bin/nosync && \ + nosync dnf update -y && \ + nosync dnf install -y \ + audit-libs-devel \ + augeas \ + bash-completion \ + ca-certificates \ + ccache \ + clang \ + codespell \ + cpp \ + cppi \ + cyrus-sasl-devel \ + device-mapper-devel \ + diffutils \ + dwarves \ + ebtables \ + firewalld-filesystem \ + fuse-devel \ + gcc \ + gettext \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + glusterfs-api-devel \ + gnutls-devel \ + grep \ + iproute \ + iproute-tc \ + iptables \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libiscsi-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 \ + qemu-img \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + scrub \ + sed \ + systemd-devel \ + systemd-rpm-macros \ + systemtap-sdt-devel \ + wireshark-devel \ + xen-devel \ + yajl-devel && \ + nosync dnf autoremove -y && \ + nosync dnf clean all -y && \ + 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 + +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 258d7a1da7..49c95143a3 100644 --- a/ci/gitlab/builds.yml +++ b/ci/gitlab/builds.yml @@ -245,6 +245,32 @@ x86_64-fedora-37-local-env: - libvirt-rpms =20 =20 +x86_64-fedora-38-prebuilt-env: + extends: .native_build_job_prebuilt_env + needs: + - job: x86_64-fedora-38-container + optional: true + allow_failure: false + variables: + NAME: fedora-38 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + +x86_64-fedora-38-local-env: + extends: .native_build_job_local_env + needs: [] + allow_failure: false + variables: + IMAGE: registry.fedoraproject.org/fedora:38 + NAME: fedora-38 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + + x86_64-fedora-rawhide-prebuilt-env: extends: .native_build_job_prebuilt_env needs: diff --git a/ci/gitlab/containers.yml b/ci/gitlab/containers.yml index 5a02843ed9..d3bffa3b6c 100644 --- a/ci/gitlab/containers.yml +++ b/ci/gitlab/containers.yml @@ -70,6 +70,13 @@ x86_64-fedora-37-container: NAME: fedora-37 =20 =20 +x86_64-fedora-38-container: + extends: .container_job + allow_failure: false + variables: + NAME: fedora-38 + + x86_64-fedora-rawhide-container: extends: .container_job allow_failure: true diff --git a/ci/integration.yml b/ci/integration.yml index 2bdda1d3c1..5c0071d072 100644 --- a/ci/integration.yml +++ b/ci/integration.yml @@ -161,6 +161,46 @@ fedora-37-tests-local-env: artifacts: true =20 =20 +.fedora-38-tests: + variables: + # needed by libvirt-gitlab-executor + DISTRO: fedora-38 + # can be overridden in forks to set a different runner tag + LIBVIRT_CI_INTEGRATION_RUNNER_TAG: redhat-vm-host + tags: + - $LIBVIRT_CI_INTEGRATION_RUNNER_TAG + +fedora-38-tests-prebuilt-env: + extends: + - .integration_tests_prebuilt_env + - .fedora-38-tests + needs: + - x86_64-fedora-38-prebuilt-env + - project: libvirt/libvirt-perl + job: x86_64-fedora-38-prebuilt-env + ref: master + artifacts: true + - project: libvirt/libvirt-python + job: x86_64-fedora-38-prebuilt-env + ref: master + artifacts: true + +fedora-38-tests-local-env: + extends: + - .integration_tests_local_env + - .fedora-38-tests + needs: + - x86_64-fedora-38-local-env + - project: libvirt/libvirt-perl + job: x86_64-fedora-38-prebuilt-env + ref: master + artifacts: true + - project: libvirt/libvirt-python + job: x86_64-fedora-38-prebuilt-env + ref: master + artifacts: true + + .fedora-37-upstream-qemu-tests: variables: # needed by libvirt-gitlab-executor diff --git a/ci/manifest.yml b/ci/manifest.yml index 82b8463605..400e048e2b 100644 --- a/ci/manifest.yml +++ b/ci/manifest.yml @@ -137,6 +137,14 @@ targets: =20 - arch: mingw64 =20 + fedora-38: + jobs: + - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + fedora-rawhide: jobs: - arch: x86_64 --=20 2.40.0