From nobody Mon Feb 9 01:22:58 2026 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=1647339306; cv=none; d=zohomail.com; s=zohoarc; b=clkFmA0gTxZ12/urAhrGzKYfRIQE6DUZToN2tkLMBhDbDJ2prH9iPSwzvOEpRyJsBQAEC7fNRKxL9GdBwB0xff69+qro4Q2NM7CReoqkie3mYdCD77F5sq2+bAtyx7A0ItjN6OzIJfmimcUHX0Ow98GT1DGWfJkRHfRhwFBIEC0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647339306; 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=Lp28hqpjhZxJ6i9axCKoPSf7cABaB9dMq6eOWGDcCzA=; b=K+JpZvrw7uuMep5viVZL8JM4FXwGgDQbC5/5AGKbWRmoSjR0JI8V/Qcrjr/3HmcLSyEAjMjBnjMXsbkVw23aJ+/tQt8VwR2vXLBGQBKPGRPBHpkL/+odrHhyt9td9DGh7+DQzYLbF/ytKgnJEcZoKfcSnuIZjtxTLVgIJLS73Cc= 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 1647339306525590.9081583061622; Tue, 15 Mar 2022 03:15:06 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-16-f5JKAvrjNs-V_pLGPjSTTg-1; Tue, 15 Mar 2022 06:14:17 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 807973804069; Tue, 15 Mar 2022 10:14:15 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 66BADC15D4F; Tue, 15 Mar 2022 10:14:15 +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 171A0194E107; Tue, 15 Mar 2022 10:14:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 37961194E021 for ; Tue, 15 Mar 2022 10:14:13 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 12EDB40C128B; Tue, 15 Mar 2022 10:14:13 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.193.114]) by smtp.corp.redhat.com (Postfix) with ESMTP id 675D4400F8FF; Tue, 15 Mar 2022 10:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647339305; 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=Lp28hqpjhZxJ6i9axCKoPSf7cABaB9dMq6eOWGDcCzA=; b=a+Ig8Vaoq7nrHJYDeXMcbhbw3VQCW7pitSddXCR+9oHoLHUSu7tOYGB/Ula7K8dhfU1cl9 X1ymMjQ44Hwfsne5E8FrqnUlwK0SRp3vgAhkfHJKvCva15zRXugwxwMfRmKhz78IT5SoK5 3B46rSr3dwIS6RNoJAgPABfRVRc2ySM= X-MC-Unique: f5JKAvrjNs-V_pLGPjSTTg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 2/4] ci: manifest: Publish RPMs as artifacts on CentOS Stream and Fedoras Date: Tue, 15 Mar 2022 11:14:07 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 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: bleal@redhat.com, eskultet@redhat.com Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com 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: 1647339308153100001 Content-Type: text/plain; charset="utf-8" We're already building libvirt in the containers already, if we publish the build in form of, say, RPMs, later stages of the pipeline can consume the RPMs instead of re-building libvirt from scratch. Signed-off-by: Erik Skultety --- .gitlab-ci.yml | 3 ++- ci/gitlab.yml | 16 ++++++++++++++++ ci/manifest.yml | 21 ++++++++++++++++++++- 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24533a937a..d84ac31601 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,8 @@ include: '/ci/gitlab.yml' - meson dist -C build --no-tests - if test -x /usr/bin/rpmbuild && test "$RPM" !=3D "skip"; then - rpmbuild --nodeps -ta build/meson-dist/libvirt-*.tar.xz; + rpmbuild --clean --nodeps --define "_topdir $PWD/rpmbuild/" -ta bu= ild/meson-dist/libvirt-*.tar.xz; + mv rpmbuild/RPMS/x86_64/ libvirt-rpms/; else meson compile -C build; meson test -C build --no-suite syntax-check --print-errorlogs; diff --git a/ci/gitlab.yml b/ci/gitlab.yml index 9825624938..61f8ce03ef 100644 --- a/ci/gitlab.yml +++ b/ci/gitlab.yml @@ -406,6 +406,10 @@ x86_64-centos-stream-8: allow_failure: false variables: NAME: centos-stream-8 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 =20 x86_64-centos-stream-9: @@ -415,6 +419,10 @@ x86_64-centos-stream-9: allow_failure: false variables: NAME: centos-stream-9 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 =20 x86_64-debian-10: @@ -460,6 +468,10 @@ x86_64-fedora-34: allow_failure: false variables: NAME: fedora-34 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 =20 x86_64-fedora-35: @@ -469,6 +481,10 @@ x86_64-fedora-35: allow_failure: false variables: NAME: fedora-35 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 =20 x86_64-fedora-rawhide: diff --git a/ci/manifest.yml b/ci/manifest.yml index 87d923ae78..1873efa0ff 100644 --- a/ci/manifest.yml +++ b/ci/manifest.yml @@ -21,10 +21,19 @@ targets: centos-stream-8: jobs: - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 centos-stream-9: jobs: - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + debian-10: jobs: - arch: x86_64 @@ -126,11 +135,21 @@ targets: - arch: s390x allow-failure: true =20 - fedora-34: x86_64 + fedora-34: + jobs: + - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 fedora-35: jobs: - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 - arch: mingw32 allow-failure: true --=20 2.34.1