From nobody Mon Feb 9 10:34:34 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=1643652102; cv=none; d=zohomail.com; s=zohoarc; b=grTrwFvFvmLUrE8uBlWvUZmow7vT1pXbSfd+ApxT1GAlbzXwBmEoZBP/q9slvQC3wgJeJqNZ36PHSWX0E0byj7oHcQUPy3zbM5+qfCBqDmOqCuURMIZ0gmrrL5BZWFjDWVhQhJBNp9TqoOi3T1aTwmklc/hjNEPnPBt7pPv4y20= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643652102; 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=Ms+qCpcUADav6LvcAeEqDVXAs+ITmzXrRYVTfGD7DNg=; b=Rxj+N96v+GmT8Usttb92lGDLYP3DL5EDejhf1Q7ORd1zXlLyOGwf7rktjm9t9i4gzMRKofRAyiVtnoWfVHUGsjw/CLtvkYgJCMupajkIyvQvchZ/jwT6xTM+SaQypCJhTxWPMyjf2Vhgx7yym9cTlh90CsVl2y1s7EAQ9RU0ijw= 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 1643652102379351.7056459531934; Mon, 31 Jan 2022 10:01:42 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-10-xPRtXqH7NjeOd0FPGTE_Dg-1; Mon, 31 Jan 2022 13:01:39 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BD41251084; Mon, 31 Jan 2022 18:01:09 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A316477450; Mon, 31 Jan 2022 18:01:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 182414BB7C; Mon, 31 Jan 2022 18:01:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20VI15XX019230 for ; Mon, 31 Jan 2022 13:01:05 -0500 Received: by smtp.corp.redhat.com (Postfix) id CB50F838D5; Mon, 31 Jan 2022 18:01:05 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.193.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2366D83796; Mon, 31 Jan 2022 18:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643652101; 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=Ms+qCpcUADav6LvcAeEqDVXAs+ITmzXrRYVTfGD7DNg=; b=NMnbGonIzYcco1PbnY7Iq9kZDnHxEa9VdGUbn0+ZLOPhWAgdLUp1K49wLaCucaIWq/3sdu lDgfQfdeLSYDRyiwK0L+E2fP3tXxjCPIu07DbnIHc8dYLZeo7q/8qQjpzewR0MjcaV8s5K YS5P91vUoDlN3nZA3AdwIDPNRIZys6o= X-MC-Unique: xPRtXqH7NjeOd0FPGTE_Dg-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 3/4] ci: manifest: Publish RPMs as artifacts on CentOS Stream and Fedoras Date: Mon, 31 Jan 2022 19:01:00 +0100 Message-Id: <90a43ab116c9a76e18190dc702d0e25c8991061d.1643651902.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: bleal@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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: 1643652105076100001 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 Reviewed-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 3 ++- ci/gitlab.yml | 18 ++++++++++++++++++ ci/manifest.yml | 21 ++++++++++++++++++++- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ba11a0431..4bcaf22ce2 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 bui= ld/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 03dee70480..3fbe4b3f8c 100644 --- a/ci/gitlab.yml +++ b/ci/gitlab.yml @@ -407,6 +407,11 @@ x86_64-centos-stream-8: allow_failure: false variables: NAME: centos-stream-8 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + =20 x86_64-centos-stream-9: extends: .native_build_job @@ -415,6 +420,11 @@ x86_64-centos-stream-9: allow_failure: false variables: NAME: centos-stream-9 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + =20 x86_64-debian-10: extends: .native_build_job @@ -459,6 +469,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: @@ -468,6 +482,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 1cc589955c..2aba242948 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