From nobody Sat Apr 27 03:03:15 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1610372593; cv=none; d=zohomail.com; s=zohoarc; b=VbGVjk1S8w/M0k6TMFvDiKDXwsUV0mCYUBCeKi7Y5WWy2eCHIALBckhPsJWBrBin5Nfrll35PqCDLzp5Xdk0Jfjy53MZ9hpQVtWj2sKS98ce+/Vb9y2nC27AMN366c9BRkitA3CbKykFQcPrzOPOteMPBPtPVg3m7DYf2gKgAPg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610372593; 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=ITx1UfVzu+7qRAl7AeqXvo5BSgcVArOuTE/IVT0ayRE=; b=P6zPJ9nyE3RacRA2eMHaDK/8B27EZQ7x4El48Y1x4HdV95caJqaDuD/TUgctWshFi3UDwbl5/BWsIJAs6ABwBad9lphPrqud3CrVcYsmCcH7zYik6gwjIy6qah2NcmZN9iGL8NCeT+gTEVzZJdYbqkn+KeOMGFboIQZIxXRYAR4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1610372593824743.6678039689982; Mon, 11 Jan 2021 05:43:13 -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-413-mn87y-MAN9OFrNvd_tFUhQ-1; Mon, 11 Jan 2021 08:43:10 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 52406801B21; Mon, 11 Jan 2021 13:43:04 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EE7D860BE2; Mon, 11 Jan 2021 13:43:03 +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 65658180954D; Mon, 11 Jan 2021 13:43:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 10BDgviv007663 for ; Mon, 11 Jan 2021 08:42:57 -0500 Received: by smtp.corp.redhat.com (Postfix) id B630150F7D; Mon, 11 Jan 2021 13:42:57 +0000 (UTC) Received: from nautilus.local (unknown [10.40.192.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0EE1A60854; Mon, 11 Jan 2021 13:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610372592; 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=ITx1UfVzu+7qRAl7AeqXvo5BSgcVArOuTE/IVT0ayRE=; b=Ox0p/KODMyShjh/JBxkIK6/MGWeWteJSFBeRCBjDlwNNqHC3nyJklQhx0et94JSGAWe1eA GoiH35DZkmzYNv8vQCy024f7fh/yqyydHJTMzrCNeqKOY/cmnI3Hq0HNrPiCXNQlL6p1nZ QqTKErmep4BrqTXMELkJmELD1wuMDik= X-MC-Unique: mn87y-MAN9OFrNvd_tFUhQ-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] gitlab-ci.yaml: Introduce a variable to disable long broken jobs Date: Mon, 11 Jan 2021 14:42:54 +0100 Message-Id: <55d6e06ebd2ebed57dd7f62b902226a857877d94.1610372552.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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.12 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" Unfortunately GitLab doesn't have a different mechanism on how to mark jobs as skipped or disabled apart from the 'only'/'except' pragmas. Use the 'except' pragma for the job templates to skip jobs which define the DISABLE_JOB variable. Signed-off-by: Erik Skultety --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2d5545f0f..aa55b396a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,9 @@ stages: - docker push "$TAG" after_script: - docker logout + except: + variables: + - $DISABLE_JOB =20 # We build many containers which can be useful to debug problems but are n= ot # needed for the pipeline itself to complete: those sometimes fail, and wh= en @@ -62,6 +65,9 @@ stages: then rpmbuild --nodeps -ta build/meson-dist/libvirt-*.tar.xz; fi + except: + variables: + - $DISABLE_JOB =20 # Jobs that we delegate to Cirrus CI because they require an operating # system other than Linux. These jobs will only run if the required @@ -102,6 +108,9 @@ stages: variables: - $CIRRUS_GITHUB_REPO - $CIRRUS_API_TOKEN + except: + variables: + - $DISABLE_JOB =20 .cross_build_default_job_template: &cross_build_job_definition stage: builds @@ -116,6 +125,9 @@ stages: - meson build --werror $MESON_OPTS || (cat build/meson-logs/meson-log.= txt && exit 1) - ninja -C build - if test "$CROSS" =3D "i686" ; then ninja -C build test ; fi + except: + variables: + - $DISABLE_JOB =20 =20 # Native container build jobs --=20 2.29.2 From nobody Sat Apr 27 03:03:15 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=1610372602; cv=none; d=zohomail.com; s=zohoarc; b=kIDOHvU3nzhG52/gOYx+YpjeZQUHlIaUv8fdSiWX2TStX99tA4THRULSH1qDWqyhbigYDZrjHTw6ws7W5AsMbWLuBjD0QHbY9fBtFMsz5XPtdTE/q2QN+qeXzf2XM2GiT3d+wPuDfXoG9XHY51g2FQMkzjXFGKwpntSdGFGnb1M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610372602; 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=6owLRZUEa7AhVl5tVaaABQ0nTgvCIgZhVAopuTzl2hc=; b=R4zaJaeSE1+Xnm68cvNskGBwJ8qEFcHg1GJVSIGXAwuciJ7GZ1OSQYaKzYxRfoIpexMo3NxXorDsKC/EN0XGvFFq7UvJnjZX6zIZ6Fk65tP2dBo82JRt3R1d+2Y3sz/mc3QRycqXynWQ1lWHKBvAU2c9dUadjFXaZROTMvMBKpM= 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 1610372602433608.0118932139134; Mon, 11 Jan 2021 05:43:22 -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-494-0_mLb_B4M8-UxEP3pfS7RQ-1; Mon, 11 Jan 2021 08:43:19 -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 C87301015ED9; Mon, 11 Jan 2021 13:43:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 95B925D720; Mon, 11 Jan 2021 13:43:13 +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 549F91809C9F; Mon, 11 Jan 2021 13:43:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 10BDgwiD007671 for ; Mon, 11 Jan 2021 08:42:58 -0500 Received: by smtp.corp.redhat.com (Postfix) id B7EFB50F7D; Mon, 11 Jan 2021 13:42:58 +0000 (UTC) Received: from nautilus.local (unknown [10.40.192.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 11D556E521; Mon, 11 Jan 2021 13:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610372601; 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=6owLRZUEa7AhVl5tVaaABQ0nTgvCIgZhVAopuTzl2hc=; b=Y4jpC8hhUZ7lZQaiSfTPFicIPZ2pPsmu0cGVidjBm4gWDxQxfWl6SxCBDcONlrZxmM/90V ujqPm0CqcZYjqRHk5a5W0Ih+bVzM09i0ncpv4qNQdYBBn5ZW7xYtDhfrnuZjXLP8t9xgc6 mdmbx35yoi9RbHCdK+0gMT2Hr/BEIMk= X-MC-Unique: 0_mLb_B4M8-UxEP3pfS7RQ-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] DO NOT MERGE: Showcase a disabled job Date: Mon, 11 Jan 2021 14:42:55 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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.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) Content-Type: text/plain; charset="utf-8" This showcases how a we'd mark a job as disabled. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa55b396a1..1057710ead 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -407,6 +407,7 @@ x64-freebsd-11-build: CIRRUS_VM_IMAGE_SELECTOR: image_family CIRRUS_VM_IMAGE_NAME: freebsd-11-4 INSTALL_COMMAND: pkg install -y + DISABLE_JOB: "yes" =20 x64-freebsd-12-build: <<: *cirrus_build_job_definition @@ -416,6 +417,7 @@ x64-freebsd-12-build: CIRRUS_VM_IMAGE_SELECTOR: image_family CIRRUS_VM_IMAGE_NAME: freebsd-12-1 INSTALL_COMMAND: pkg install -y + DISABLE_JOB: "yes" =20 x64-macos-1015-build: <<: *cirrus_build_job_definition --=20 2.29.2