From nobody Tue Feb 10 11:15:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) client-ip=209.85.128.43; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f43.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1622064012; cv=none; d=zohomail.com; s=zohoarc; b=iEI3JBfXaglVZJoE3blndbVAaG4ddHMMjQXTyt55Z7GZGA1SFv+C/eMMOApcQ9Ayj3TjYR9JmR74gtbVB7UaTxJhYhRWcURjl48VijyjsSSw02Mjp9vFJdFVeJPHRGAK3/FpSQuhOEWb1WAMBBzXTO+3qIvlUfAS31Yfh64tyh8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622064012; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TY3ef7OherZxOloGST3Aka9cKHY1uYUJOsmuFrhKM3Y=; b=Svu3ICFNFmr2kFGpHi8IVoAC9k/8U5ty/GIFQ+NiaPkYnR25PS3B53jOZnSoH19mbUD79LkJHS/ccJJcv0Z4HUsFwNpqXPojssVOlbeOlpTMuNNDxMODPhtwGFZXmIzogDhpUirQ0hh3+/zvQGsCsEy1vQfsMsYElIqbzKEiO94= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.zohomail.com with SMTPS id 1622064012743441.0860663065962; Wed, 26 May 2021 14:20:12 -0700 (PDT) Received: by mail-wm1-f43.google.com with SMTP id l18-20020a1c79120000b0290181c444b2d0so1291469wme.5 for ; Wed, 26 May 2021 14:20:12 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (235.red-83-57-168.dynamicip.rima-tde.net. [83.57.168.235]) by smtp.gmail.com with ESMTPSA id j10sm187378wrt.32.2021.05.26.14.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 14:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TY3ef7OherZxOloGST3Aka9cKHY1uYUJOsmuFrhKM3Y=; b=bfjDMKl14OGXzzWkJk+3wdXnxbtImRShNmPgu43FTWW2+fKlWp0ZBUyvbUFrtF9xZG 1wDnwzJxBk03VuNCsBlykxDCdISDFNp6AvqulboyyMnyEV6cMQVRq9RpaRaxwZt0Ffxo wnNKicmbFN5fio9qDpvOLGh8aGrn2DcFpAkiTvztKKwDEdDidD4EAhjXVHF5nomxBMxU a6DdesyYG+61yVhoxLGSNp32rC+p5onpkcd+o0rwMsxNT5iWQbKpHMUwDmw5XPnHCR7P jYfsGJ9Hta3wvruhSH/sE/PqdRiWbq5Q8UoAOKuGsv6806G5KVQTNjE33J3+OWnh6hba Avww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TY3ef7OherZxOloGST3Aka9cKHY1uYUJOsmuFrhKM3Y=; b=CbsfQHqMLGDFtaoP7JKEeNiUQifyrAUcQM+CKxz1YoDp7OjaLfp/cH8QH2YrlpRtuO b3Xil0rAhSGlgMhgGwNAQRjyLiaDIAOqZ24EI1fgg8LFoVhm2Wo3TRwJkkPl1dKluK+l F34+kxeL8NanuKzbHbyS4Hmk0d4sbsNgalxvIx6+jskz7yDCff5y8UkiIUTkgDvL8jXY hefNyuAMpPrbZDd1ivcNBV8kK/UIyZVevEIIjmuiESi+S8fDV4q4FozkaAF5fpDGAXuY Clo4GiWb95/oSmlJXIANUqmr6w0TzHbF/uG3hOdsoiMWJVzSigRqOXXcJ4rtdomnGjX+ Pk+A== X-Gm-Message-State: AOAM530PPRZKoL5+7siDWgZVgzg6pfPmX2Fod7kXiPz2mmEX+QtOY19K eU+aCL0W4YjihDkS5YK2BlA= X-Google-Smtp-Source: ABdhPJz+dAkHXGt+MoyRUwR26qWm3TITJbwf1VahM8RimAZAPVu+prIIoMJhCV4QKF2+JWpSgShwEQ== X-Received: by 2002:a7b:cb96:: with SMTP id m22mr311301wmi.59.1622064011016; Wed, 26 May 2021 14:20:11 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta Subject: [PULL 18/19] gitlab: Convert check-dco/check-patch jobs to the 'rules' syntax Date: Wed, 26 May 2021 23:18:37 +0200 Message-Id: <20210526211838.421716-19-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210526211838.421716-1-f4bug@amsat.org> References: <20210526211838.421716-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) 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.d/static_checks.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml index 9c9a771b744..91247a6f670 100644 --- a/.gitlab-ci.d/static_checks.yml +++ b/.gitlab-ci.d/static_checks.yml @@ -4,12 +4,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 $CI_DEFAULT_BRANCH variables: GIT_DEPTH: 1000 - allow_failure: true + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D $CI_DEFAULT_BRANCH' + when: never + - when: on_success + allow_failure: true =20 check-dco: stage: build @@ -17,8 +18,9 @@ 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 $CI_DEFAULT_BRANCH variables: GIT_DEPTH: 1000 + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D $CI_DEFAULT_BRANCH' + when: never + - when: on_success --=20 2.26.3