From nobody Fri May 17 09:01:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1691762037957130.69301883756464; Fri, 11 Aug 2023 06:53:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.582442.912226 (Exim 4.92) (envelope-from ) id 1qUSaB-0004ZL-QK; Fri, 11 Aug 2023 13:53:39 +0000 Received: by outflank-mailman (output) from mailman id 582442.912226; Fri, 11 Aug 2023 13:53:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qUSaB-0004ZA-MT; Fri, 11 Aug 2023 13:53:39 +0000 Received: by outflank-mailman (input) for mailman id 582442; Fri, 11 Aug 2023 13:53:38 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qUSaA-0004Iw-7o for xen-devel@lists.xenproject.org; Fri, 11 Aug 2023 13:53:38 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 788e9bf4-384e-11ee-b284-6b7b168915f2; Fri, 11 Aug 2023 15:53:37 +0200 (CEST) Received: from beta.station (net-188-218-251-179.cust.vodafonedsl.it [188.218.251.179]) by support.bugseng.com (Postfix) with ESMTPSA id 382E54EE0739; Fri, 11 Aug 2023 15:53:37 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 788e9bf4-384e-11ee-b284-6b7b168915f2 From: Simone Ballarin To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, andrew.cooper3@citrix.com, Simone Ballarin , Doug Goldstein , Stefano Stabellini Subject: [XEN PATCH 1/2] automation: avoid pipelines on specific branches Date: Fri, 11 Aug 2023 15:52:54 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1691762039012100001 Content-Type: text/plain; charset="utf-8" This patch avoids the execution of pipelines in the following branches: - master - smoke - coverirty-tested/.* - stable-.* The job-level exclusions have been removed as they are pointless with this new workspace-level exclusion. Signed-off-by: Simone Ballarin --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee5430b8b7..ef4484e09a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,9 @@ +workflow: + rules: + - if: $CI_COMMIT_BRANCH =3D~ /^(master|smoke|^coverity-tested\/.*|stab= le-.*)$/ + when: never + - when: always + stages: - analyze - build --=20 2.34.1 From nobody Fri May 17 09:01:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1691762043073763.1223575959441; Fri, 11 Aug 2023 06:54:03 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.582443.912235 (Exim 4.92) (envelope-from ) id 1qUSaG-0004rC-09; Fri, 11 Aug 2023 13:53:44 +0000 Received: by outflank-mailman (output) from mailman id 582443.912235; Fri, 11 Aug 2023 13:53:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qUSaF-0004r3-Tl; Fri, 11 Aug 2023 13:53:43 +0000 Received: by outflank-mailman (input) for mailman id 582443; Fri, 11 Aug 2023 13:53:43 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qUSaF-0004qD-8c for xen-devel@lists.xenproject.org; Fri, 11 Aug 2023 13:53:43 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 7a4f24a5-384e-11ee-8613-37d641c3527e; Fri, 11 Aug 2023 15:53:40 +0200 (CEST) Received: from beta.station (net-188-218-251-179.cust.vodafonedsl.it [188.218.251.179]) by support.bugseng.com (Postfix) with ESMTPSA id 25D474EE073A; Fri, 11 Aug 2023 15:53:40 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7a4f24a5-384e-11ee-8613-37d641c3527e From: Simone Ballarin To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, andrew.cooper3@citrix.com, Simone Ballarin , Doug Goldstein , Stefano Stabellini Subject: [XEN PATCH 2/2] automation/eclair: avoid unintentional ECLAIR analysis Date: Fri, 11 Aug 2023 15:52:55 +0200 Message-Id: <57bc71b428d439f933cdbb0b88a36b39bc77e45e.1691760935.git.simone.ballarin@bugseng.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1691762043885100001 Content-Type: text/plain; charset="utf-8" With this patch, ECLAIR jobs will need to be manually started for "people/.*" pipelines. This avoids occupying the runner on analyzes that might not be used by developers. If developers want to analyze their own repositories they need to launch them from GitLab. Signed-off-by: Simone Ballarin --- automation/gitlab-ci/analyze.yaml | 14 ++++++++++---- automation/gitlab-ci/build.yaml | 6 ------ automation/gitlab-ci/test.yaml | 5 ----- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/automation/gitlab-ci/analyze.yaml b/automation/gitlab-ci/analy= ze.yaml index 4aa4abe2ee..f04ff99093 100644 --- a/automation/gitlab-ci/analyze.yaml +++ b/automation/gitlab-ci/analyze.yaml @@ -20,21 +20,27 @@ codequality: gl-code-quality-report.json needs: [] =20 -eclair-x86_64: +.eclair-analysis:triggered: extends: .eclair-analysis + allow_failure: true + rules: + - if: $CI_PROJECT_PATH =3D~ /^xen-project\/people\/.*$/ + when: manual + - when: always + +eclair-x86_64: + extends: .eclair-analysis:triggered variables: LOGFILE: "eclair-x86_64.log" VARIANT: "X86_64" RULESET: "Set1" - allow_failure: true =20 eclair-ARM64: - extends: .eclair-analysis + extends: .eclair-analysis:triggered variables: LOGFILE: "eclair-ARM64.log" VARIANT: "ARM64" RULESET: "Set1" - allow_failure: true =20 .eclair-analysis:on-schedule: extends: .eclair-analysis diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.y= aml index 173613567c..e4b601943c 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -12,11 +12,6 @@ - '*/*.log' when: always needs: [] - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ =20 .gcc-tmpl: variables: &gcc @@ -269,7 +264,6 @@ .test-jobs-artifact-common: stage: build needs: [] - except: !reference [.test-jobs-common, except] =20 # Arm test artifacts =20 diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 8ccce1fe26..11cb97ea4b 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -1,11 +1,6 @@ .test-jobs-common: stage: test image: registry.gitlab.com/xen-project/xen/${CONTAINER} - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ =20 .arm64-test-needs: &arm64-test-needs - alpine-3.18-arm64-rootfs-export --=20 2.34.1