From nobody Wed May 15 07:50:44 2024 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=1647534616; cv=none; d=zohomail.com; s=zohoarc; b=RHnQMlZbM8A98IpG1DGOXi0vPv9hAmHC7enBbFRiWwMXqKsfb33yQ3aAtaG++A52DBHs9hwtaSkEpc5ROKOyC2iavOJMaMb5jz/QOF8iEfIcAKP3LQgIsJY6EsBvvd09uN4QWCeaREkZb7cpEfhC42LD7gWYq7O+BYnzQ4Ev7CQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647534616; h=Content-Type:Content-Transfer-Encoding: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=BfF15kXcuKlr+zdQvcBkRGvEI7uzT8j+v71ZiuZpJ2o=; b=LBdnslDXpkE0CBh9ny/46yNZqSpbogxSfSwEljg+j8WEt3PlZXvZ7pGJAETlgBBzeNAXPEVkdLLG0aWsDAk72Os4V9JXhPbq6CzJ/TwSW4Ly+0/W7SWoa+eg4RqFeiFKctobcJUU89ZP3unaf7lQs/0JOVq6cxYPWq/s8XjnSQM= 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 1647534616393784.330232336027; Thu, 17 Mar 2022 09:30:16 -0700 (PDT) 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-660-mMaVwvKqMTuJLQ97n5IzVw-1; Thu, 17 Mar 2022 12:30:11 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3FBA185A5A8; Thu, 17 Mar 2022 16:30:09 +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 2A4D2492D18; Thu, 17 Mar 2022 16:30:09 +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 BEDFD19305A5; Thu, 17 Mar 2022 16:30:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 404B81940349 for ; Thu, 17 Mar 2022 16:30:04 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7FC822023A17; Thu, 17 Mar 2022 16:30:04 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.39.194.80]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9E571200A799; Thu, 17 Mar 2022 16:30:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647534616; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=BfF15kXcuKlr+zdQvcBkRGvEI7uzT8j+v71ZiuZpJ2o=; b=ea7YsfxFrZXul2neh58sPVsFU2ooYxq7dWHxSpjg/+9MfZ9V+cWpCjsNkN4vFDW6Xctteo kpqXs4RQCISJ7EfYEH3MUDenafc0qwEXqWof2fM7s8TZqBS1rsKdAofT8s1tlCDdHcc4tS QwyVO6QC5hM8x41VIx7e7/J3TRNffKU= X-MC-Unique: mMaVwvKqMTuJLQ97n5IzVw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] ci: rename integration test template Date: Thu, 17 Mar 2022 16:29:51 +0000 Message-Id: <20220317162952.3868628-2-berrange@redhat.com> In-Reply-To: <20220317162952.3868628-1-berrange@redhat.com> References: <20220317162952.3868628-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 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: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1647534624056100001 Although we split out jobs across many files, the template / job namespace is global, so we should use something more specific than '.tests' as the template name. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- ci/integration.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/integration.yml b/ci/integration.yml index 9a36ccc05e..2a6134924f 100644 --- a/ci/integration.yml +++ b/ci/integration.yml @@ -1,4 +1,4 @@ -.tests: +.integration_tests: stage: integration_tests before_script: - mkdir "$SCRATCH_DIR" @@ -43,7 +43,7 @@ =20 =20 centos-stream-8-tests: - extends: .tests + extends: .integration_tests needs: - x86_64-centos-stream-8 - project: libvirt/libvirt-perl @@ -57,7 +57,7 @@ centos-stream-8-tests: - redhat-vm-host =20 centos-stream-9-tests: - extends: .tests + extends: .integration_tests needs: - x86_64-centos-stream-9 - project: libvirt/libvirt-perl @@ -71,7 +71,7 @@ centos-stream-9-tests: - redhat-vm-host =20 fedora-34-tests: - extends: .tests + extends: .integration_tests needs: - x86_64-fedora-34 - project: libvirt/libvirt-perl @@ -85,7 +85,7 @@ fedora-34-tests: - redhat-vm-host =20 fedora-35-tests: - extends: .tests + extends: .integration_tests needs: - x86_64-fedora-35 - project: libvirt/libvirt-perl --=20 2.34.1 From nobody Wed May 15 07:50:44 2024 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=1647534617; cv=none; d=zohomail.com; s=zohoarc; b=ZwutglWr3ZVZCPlNAOaDx5Nz9McniUgSDdkG6m+8HcWFUS4OhPeDzJ7aMuL9vA4dSmjnfxwGM1Ija+lQrFcxdQ3d1QWj6OZcTqVTrv46Fj4kpY5uRlT25XqaKptg/pHPkV9FvOgU6akcaKdk6OjsE/qteWr5vYVqaLUNdfiemfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647534617; h=Content-Type:Content-Transfer-Encoding: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=YYVu/bC0/8d/pu/fQT5mxXJhHDatEHXh8oIAbzMnJko=; b=FCJLsJe4h/WlyDv5a501WM2rOVA/sy4kdYH/0/ZyaIvDRAZ7ZUf1dZslKsNJOnJAU8jtXz1Kw8PDMMdwN9Zghe0dSX6VGEFuqWgoDzDbsJWw/JvbI9dPpHUeiUcEHOW4K1VS+o8NUVQehWzfsfGG11RmT2kBwe1QmzFEm7ckBeE= 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 164753461778995.43541608811461; Thu, 17 Mar 2022 09:30:17 -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-608-UN-I4GAlNz-AncoW_zi6Qg-1; Thu, 17 Mar 2022 12:30:12 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A831E3C174D9; Thu, 17 Mar 2022 16:30:09 +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 8C28A40E80E1; Thu, 17 Mar 2022 16:30:09 +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 3A83F196418A; Thu, 17 Mar 2022 16:30:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 08F53194E012 for ; Thu, 17 Mar 2022 16:30:06 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id DE6AD2023A18; Thu, 17 Mar 2022 16:30:05 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.39.194.80]) by smtp.corp.redhat.com (Postfix) with ESMTP id 00C912023A14; Thu, 17 Mar 2022 16:30:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647534616; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=YYVu/bC0/8d/pu/fQT5mxXJhHDatEHXh8oIAbzMnJko=; b=T/O23GfQoaC5a6q7Qunto0J8HjmmD0IK9Xk12EhsljLnUmGjAowwjLu7+SwEdJwQf/Gvj/ BOBlFzMw6kwlbcLEgp1Al5BpIwnR1MOBia+awuMKm9BSX20gKG+VEMDhCzNlKdQ7c3FZB8 4/yLRbWkxsSUKDz819a0w3WZ9R8akDM= X-MC-Unique: UN-I4GAlNz-AncoW_zi6Qg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] ci: only run integration tests if $LIBVIRT_CI_INTEGRATION=1 is set Date: Thu, 17 Mar 2022 16:29:52 +0000 Message-Id: <20220317162952.3868628-3-berrange@redhat.com> In-Reply-To: <20220317162952.3868628-1-berrange@redhat.com> References: <20220317162952.3868628-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 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: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1647534620043100003 Right now the jobs have no rules so they will always be created in a pipeline. If the user's fork has no runner configured, then the jobs will never be able to execute and the pipeline will not finish. Even on upstream, there might be times the runner has to be taken offline for maint work, or unexpectedly fail. We need a quick way to disable the integration tests if we decide we don't want to have pipelines queued until the runner comes back online. Both these problems can be addressed by requiring a environment variable to be set LIBVIRT_CI_INTEGRATION=3D1 This can be done in the GitLab repo CI settings for permanent enablement. Alternatively it can be set for individual scheduled jobs, or using a push option git push -o ci.variable=3DLIBVIRT_CI_INTEGRATION=3D1 Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety --- ci/integration.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/integration.yml b/ci/integration.yml index 2a6134924f..8551ce8776 100644 --- a/ci/integration.yml +++ b/ci/integration.yml @@ -40,6 +40,10 @@ paths: - logs when: on_failure + rules: + - if: '$LIBVIRT_CI_INTEGRATION' + when: on_success + - when: never =20 =20 centos-stream-8-tests: --=20 2.34.1