From nobody Mon Nov 25 06:21:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1610637366; cv=none; d=zohomail.com; s=zohoarc; b=XGYjcXffzKBi2W2t+u3wi2ynHjaqZEUtTBIAC5qTHj4Z7tWfqWyAP9RXz1O7PkgzwlApzKUftWojYP+4E4xwUYlBomixmiDu0+UISXIjXBdEuJo2x8VnwXnO+skO1XhUQc+VCa1FxXpDD5I8OO8jxkYGqNtE8sUQ/OOzFFnvwyY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610637366; 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=i12TsWnIwDxnBXKu1g0Xwm5tVQU3qRC0sUDxyuCDqSc=; b=U4Odysjhe1JS1d202FQFSiENe0klmItDJA6465I8oz6/MvY3ueSt8B3JpZ3hClrs9cj6YhuQUeFTnHLyQ7cVYqbzqoCdbA8//vxFylGRMXalCapoQf684D4wHvP/rIzNoRZlsjDxPdpg0xguj964RuNCG1dpGODJ/XIvH2DHfU4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1610637366567136.51728493977487; Thu, 14 Jan 2021 07:16:06 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-380-kqH6CQJvO7qEcp-IhKT0gA-1; Thu, 14 Jan 2021 10:16:01 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4694DC7415; Thu, 14 Jan 2021 15:15:53 +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 1B5A072160; Thu, 14 Jan 2021 15:15:53 +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 CF02150030; Thu, 14 Jan 2021 15:15:52 +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 10EFFoil032743 for ; Thu, 14 Jan 2021 10:15:50 -0500 Received: by smtp.corp.redhat.com (Postfix) id 9258B74AAA; Thu, 14 Jan 2021 15:15:49 +0000 (UTC) Received: from nautilus.local (unknown [10.40.192.109]) by smtp.corp.redhat.com (Postfix) with ESMTP id 81C4A61D2E; Thu, 14 Jan 2021 15:15:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610637365; 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=i12TsWnIwDxnBXKu1g0Xwm5tVQU3qRC0sUDxyuCDqSc=; b=bTGQkt6Y9yl4raaNxAL+OfeSRSwe5Hsrd/XBTUMQGQZGsk4V5CfcX5HVwLTAwASVOH2Nli F19UKCsvbKqrDiqomlGCLbMAf4JTKGseeMGsKx6WCd/XZWqK91lAfKWSc3ax9s4dvu0azp c7P1i0cknEGuzZHhuMgsYfUhzLsAfuk= X-MC-Unique: kqH6CQJvO7qEcp-IhKT0gA-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH v3 3/3] gitlab-ci.yml: Add an explicit env variable to mark a job as broken Date: Thu, 14 Jan 2021 16:15:11 +0100 Message-Id: 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: eskultet@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.11 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) Content-Type: text/plain; charset="utf-8" Thanks to the 'rules' syntax, this will translate to 'allow_failure:true' and let the job fail but will not affect the rest of the pipeline. Signed-off-by: Erik Skultety --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7636544ee1..673327fb9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,8 @@ stages: services: - docker:dind rules: + - if: "$TEMPORARILY_DISABLED" + allow_failure: true - when: on_success before_script: - export TAG=3D"$CI_REGISTRY_IMAGE/ci-$NAME:latest" @@ -46,6 +48,8 @@ stages: stage: builds image: $CI_REGISTRY_IMAGE/ci-$NAME:latest rules: + - if: "$TEMPORARILY_DISABLED" + allow_failure: true - when: on_success cache: paths: @@ -103,6 +107,8 @@ stages: - cat ci/cirrus/$NAME.yml - cirrus-run -v --show-build-log always ci/cirrus/$NAME.yml rules: + - if: "$TEMPORARILY_DISABLED" + allow_failure: true - if: "$CIRRUS_GITHUB_REPO && $CIRRUS_API_TOKEN" =20 .cross_build_job: @@ -113,6 +119,8 @@ stages: - ccache/ key: "$CI_JOB_NAME" rules: + - if: "$TEMPORARILY_DISABLED" + allow_failure: true - when: on_success before_script: - *script_variables --=20 2.29.2