From nobody Tue Feb 10 10:07:52 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622131846; cv=none; d=zohomail.com; s=zohoarc; b=GjQqf0RFIt9SQ67rSkWG54AE1cresSqNm20jZmDz9DupyBju56BJJLExJyz3ECmb3QHRuohbCFfbi+YiM4Yb6RjtbliO0DH+eeJcCTyu8YCZJDDpy9G/WoRvLBoptKTJbspk14DSBmi9IxtxWbqRns9SxbSLX52L5aOxQ1Bndnw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622131846; 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=xRPMPWB0aBHeL/5MePNBlEkOxaiPS0L4CeI6VALZd/s=; b=A2cl4GkiUapyyTjBv26FVnf/ugpUPhLYZkbgLwhXLp6TLSlLlV7zVh+xc2UneWbkGXBPp3uDGCQAx5iUZkHLTyOqFchKvGEHjI2jmFdFbV/Lr5yP00+Om2G5D7Tz2AcFVoCFgE7C7znZpXvhp3M0VIFpyh2RXrhblgsCiS9Yd8U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1622131846382554.4869717833838; Thu, 27 May 2021 09:10:46 -0700 (PDT) Received: from localhost ([::1]:44476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmIaq-0000lp-Uw for importer@patchew.org; Thu, 27 May 2021 12:10:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmITs-000506-BE for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:32 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:37543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmITq-0000MT-8S for qemu-devel@nongnu.org; Thu, 27 May 2021 12:03:32 -0400 Received: by mail-wm1-x331.google.com with SMTP id f20-20020a05600c4e94b0290181f6edda88so2933599wmq.2 for ; Thu, 27 May 2021 09:03:26 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m10sm3672480wrr.2.2021.05.27.09.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 09:03:23 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C63501FF90; Thu, 27 May 2021 17:03:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xRPMPWB0aBHeL/5MePNBlEkOxaiPS0L4CeI6VALZd/s=; b=NnEFB/X/fcKTDhMHep2ELNzyR4x4ffY269gNCX9Zicaib5ZJ6JcZLTTXPSbFidhL1n dxXiU62dNaXlP0T/6fklz4mfC/jkaZw+38k20fSsxf/J6+T4ifMAkaoUtJK9ke9gbq6I dWkvzVE8cUpn8/RsvXmJ0kgfkJrsAio9YI1GDhFUuuCDGyBlVMErEGdUBTVU0ej9FG0O Rw2zkcNzqyOQKZ63QlU+VktR1gc6KypBCGAx482AXOa3GMByoalO6DiACvg0KiNqJKD5 Mke4ynTaR/98JFlp97VHELcITE17R0RzEzeHzdKr9cp1z/SP5O+rXG6IhiIGBnae7J8A p3dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xRPMPWB0aBHeL/5MePNBlEkOxaiPS0L4CeI6VALZd/s=; b=KehHX1OMOzl7pgaz+JYje2bzRFx57LEFLuGzGsOQc4tTkkT/VaHa5ppCGIofRD8auO gKPhq8+k7sTGOzRfo/QFjUooOgAo/51ozOm8tuBPzq/DTU9RPbwgNj6xF1RgkerB8YLi IZOuvWtDZ29lpNowjN2OIuE6aH2vPGolr9S3Xn+l5aVU8+KvEc7Gdn74bWOYeTSmSFRI MXajGPMmLXBbxiVdlzkIpia+mV60mVtLVbzK0JSyN6MrtNU8F8r8mFn5qQRGbCD+08yH elwk/Kls+0N3O4j4KptPKso4tTjGuO1tCZ1Qsl8qWrKSfxS4AF/zEVtic8yywXiffCZX zK8g== X-Gm-Message-State: AOAM5336zV6NXTpK1sZQBe1xcQbyBe0557PV/OCzVkYcpqK+AKIid7Ae OIJVn545+bC9ajzlCoRyS7m9lQ== X-Google-Smtp-Source: ABdhPJyKGInEwtUAO06O6Z/KnoedXtC5cnJE5zj1mOjpyx7nI9B42arGn0r3dN3RDZU7z5W89nSN6w== X-Received: by 2002:a1c:2456:: with SMTP id k83mr4287216wmk.87.1622131405503; Thu, 27 May 2021 09:03:25 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 4/6] gitlab-ci: Convert check-dco/check-patch jobs to the 'rules' syntax Date: Thu, 27 May 2021 17:03:17 +0100 Message-Id: <20210527160319.19834-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210527160319.19834-1-alex.bennee@linaro.org> References: <20210527160319.19834-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, Wainer dos Santos Moschetta , Willian Rampazzo , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Per GitLab documentation [*]: "rules replaces only/except and they can=E2=80=99t be used together in the same job." Since the 'rules' syntax is more powerful and we are already using it, convert the check-dco/check-patch jobs so no job use the 'only/ except' syntax. [*] https://docs.gitlab.com/ee/ci/yaml/#rules Inspired-by: Daniel P. Berrang=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Willian Rampazzo Message-Id: <20210525132418.4133235-3-f4bug@amsat.org> --- .gitlab-ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c46392b2f..797403477f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -785,12 +785,13 @@ check-patch: needs: job: amd64-centos8-container script: .gitlab-ci.d/check-patch.py - except: - variables: - - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' variables: GIT_DEPTH: 1000 - allow_failure: true + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D "master"' + when: never + - when: on_success + allow_failure: true =20 check-dco: stage: build @@ -798,11 +799,12 @@ check-dco: needs: job: amd64-centos8-container script: .gitlab-ci.d/check-dco.py - except: - variables: - - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' variables: GIT_DEPTH: 1000 + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D "master"' + when: never + - when: on_success =20 build-libvhost-user: stage: build --=20 2.20.1