From nobody Mon Feb 9 02:23:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1675691625; cv=none; d=zohomail.com; s=zohoarc; b=hqHAaeytKvbSQmNSmx0B2/HPlGaScJ4qENKA7czm0jysjuk4gALuLkRAc1SLg5NcmiOM1NEA6Z0n7ObCvp7RWwR9zxfZKqErMA1VhSp5sui2UBAypIpAZM7KaXs08zHh6FjIdhewKYypmY/8PGDAuRSDBk8Bp6oWgpbNn2dKCaU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675691625; 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=jpVdh8HpAeP+o+PJblAlFHGajKexZKB5qRQkvMTCm9o=; b=N2elNAKTcQxzpiOlujZnJW2QwpUYLspCvi2BvdPAnAGm1Qx8KYBd0VKMbh+IAeFa79jzsynWaaX1MF77kKeFpW7yQjbExXMqRhn9km027Dx3CpRUcOe2/zCKnPWhLRmDXvRv+JqeXgGuc6/Ig4tbv+8EBNzSOXFl6L1apc3QoCg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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.129.124]) by mx.zohomail.com with SMTPS id 1675691625746834.1159642628123; Mon, 6 Feb 2023 05:53:45 -0800 (PST) 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-363-jAo6CAlxNXaPJSmgLGZ_sA-1; Mon, 06 Feb 2023 08:53:39 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2C92185A5A3; Mon, 6 Feb 2023 13:53:35 +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 193C01410F36; Mon, 6 Feb 2023 13:53:35 +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 09FC7194658C; Mon, 6 Feb 2023 13:53:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2344319465B1 for ; Mon, 6 Feb 2023 13:53:33 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 07F3B14171BA; Mon, 6 Feb 2023 13:53:33 +0000 (UTC) Received: from ridgehead.redhat.com (ovpn-193-197.brq.redhat.com [10.40.193.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id 79B15140EBF6; Mon, 6 Feb 2023 13:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675691622; 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=jpVdh8HpAeP+o+PJblAlFHGajKexZKB5qRQkvMTCm9o=; b=Y4q0rS0rPEwgCN3UfJcWyUr94y4Vo8zW5zmh6bB55NaXYmun7YAm6IsfFntK4p2Z6glKD5 8XY+m8Eo24+Rb/GAyv3qkZ2GF322Cnd2EzOjIoNkL0JG2VOucB7r4MezLg/DTWamGsF8YN 9PVzf9EBD5Ia1Vuv1Hd0Tp0YePPDqcY= X-MC-Unique: jAo6CAlxNXaPJSmgLGZ_sA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 18/20] gitlab-ci.yml: Add 'after_script' stage to prep for artifact collection Date: Mon, 6 Feb 2023 14:53:15 +0100 Message-Id: <0b6e539d6ad9e44541fb1585e29624b12fcf36ba.1675691295.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 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.7 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: 1675691626784100021 Content-Type: text/plain; charset="utf-8"; x-default="true" This would otherwise collide with local executions where we 1) don't collect artifacts 2) are not limited by GitLab's environment and hence moving build artifacts to unusual places would only cause confusion when doing local build inspection Signed-off-by: Erik Skultety --- .gitlab-ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 921b04cd7b..abd7498058 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,11 +31,16 @@ include: - if test -x /usr/bin/rpmbuild && test "$RPM" !=3D "skip"; then rpmbuild --clean --nodeps --define "_without_mingw 1" -ta build/me= son-dist/libvirt-*.tar.xz; - mv "$HOME"/rpmbuild/RPMS/x86_64/ libvirt-rpms/; else meson compile -C build; meson test -C build --no-suite syntax-check --print-errorlogs; fi + after_script: + - test "$CI_JOB_STATUS" !=3D "success" && exit 1; + - if test -x /usr/bin/rpmbuild && test "$RPM" !=3D "skip"; + then + mv "$HOME"/rpmbuild/RPMS/x86_64/ libvirt-rpms/; + fi =20 .native_build_job_prebuilt_env: extends: @@ -77,6 +82,8 @@ include: - *script_variables - meson setup build --werror -Dsystem=3Dtrue || (cat build/meson-logs/= meson-log.txt && exit 1) - DESTDIR=3D$(pwd)/install meson compile -C build install-web + after_script: + - test "$CI_JOB_STATUS" !=3D "success" && exit 1; - mv install/usr/share/doc/libvirt/html/ website artifacts: expose_as: 'Website' @@ -154,6 +161,8 @@ potfile: script: - meson setup build --werror || (cat build/meson-logs/meson-log.txt &&= exit 1) - meson compile -C build libvirt-pot-dep libvirt-pot + after_script: + - test "$CI_JOB_STATUS" !=3D "success" && exit 1; - cp po/libvirt.pot libvirt.pot artifacts: expose_as: 'Potfile' --=20 2.39.1