From patchwork Tue Nov 16 16:25:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 519203 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp7365813imj; Tue, 16 Nov 2021 08:28:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1vFkKW1q3R50Dtv0wOD5NNE4mWNMaF5Ou+R1AmdESkB6MBrm3Quviwlx0kYDEHjcb3FVD X-Received: by 2002:a67:d893:: with SMTP id f19mr55785831vsj.39.1637080123976; Tue, 16 Nov 2021 08:28:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637080123; cv=none; d=google.com; s=arc-20160816; b=NGbQEGusIDc1nBzoKw2L1os2+XWOx1SCx4g1OtWZ4Aw1Rc1T8qGFTWQ6sDfbilJS3V re1wzS3z01pUQIk25F2q5IVh6yohpg6HcTke6pqt3PWDum7LgPRa7UbB6XDLRInOhBep qnT019rwOKwMbVQEySRUbf0CovFz+exGdXW0RHsvPNy6Y0FY3kmXm6X2yadfDc2TX4sc H4mh8H3P3nbjZjv7nm+vwvTmK3QoGRULRn35Q8QvoVZFKDkwmMAKsW+9HCrtnUEljYcf sK0MUC/KM9lpZwlYH0KIzmXcz089n6syZXGWXxjuSxqer0k8LHgrfYRdazQ/1rIErx3y Lflg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+WVAywrlpluP52dH3NNzrsF0nn2WTrXKhzycjudmP84=; b=rQ8glRJt2b7DVLa7eebJ7uw4Nd2O8iWtiqTNiWJGMFbzba0n/pZh9DUAPafGYZb1Dt sJDNtyMi6s/XgK1/Mn4UCiCFyK8F0BZZ8N8mftFE/rxaFvftz/3afSkwdf3ZflOkE7k1 yf187ZEg6ylZTeI5sMHQzaIEJzk0nskbZAi5rPRFws87za+WxagKRTtoLsc+07FEGH7l QFlw1rzR5tw961pDg0oyeq5oUJfVnF8jTdeIMhCJnenFEyfOSziLglbIpSXaI4yD1ihW rG5LYJICy1KHKYWD7Ijbe8wk2iffkzKOCu8NHAEvTffzUJ5OhX8Lp7PwxRIi+TDLAXqy p7ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=V4s0aoae; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v23si24203890uat.43.2021.11.16.08.28.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Nov 2021 08:28:43 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=V4s0aoae; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mn1K7-0006uk-Eh for patch@linaro.org; Tue, 16 Nov 2021 11:28:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn1Gw-0004iM-QL for qemu-devel@nongnu.org; Tue, 16 Nov 2021 11:25:26 -0500 Received: from [2a00:1450:4864:20::332] (port=42829 helo=mail-wm1-x332.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mn1Gv-0004DA-1J for qemu-devel@nongnu.org; Tue, 16 Nov 2021 11:25:26 -0500 Received: by mail-wm1-x332.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so2842359wmd.1 for ; Tue, 16 Nov 2021 08:25:24 -0800 (PST) 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=+WVAywrlpluP52dH3NNzrsF0nn2WTrXKhzycjudmP84=; b=V4s0aoaevL3Qkstxx37uMUNTUP6VAbU+bQn+HAR4U6CM8JgXe4qYOpOJiUK6xheT5s QHJyKcV6p7SCUZAYi06pFdGFXLzNJFEPRqtEGjOjeKPFpyWOvB3iwGuPftZ5ddJCqT1y V1MUCg3mwiLt5bltOJ12CVVuf2Bqae9kCO5AbQEvC9fHnoqukjto8wzUsquUbJdp5mRE yj6fxapdTVZWVbUPGT78C3xkOhcmqjN7MBcztSCy+da8nK3+OCN7C1/Z3xmXLGuEUZEf Ge+uFJwWZ/pg+wRr+tEaA32xfptwPVT2QsP8JgYQQ44b7pBj01AduhcLICGVQyJm9zwZ sWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+WVAywrlpluP52dH3NNzrsF0nn2WTrXKhzycjudmP84=; b=5NQweyEGrDRgq+CERe4hYH4HPQLoCPaS8ESERb0yDbUPY2Z1RXwpIFmc8qDBodNdVv 5WD8b95BmRP0kbD/Qgfkj3MCTMTKcwTjQdi1z9LRhp/fQWhsPiDB1g/KA1sRFaKpLv8M W3gxhj3Lk92XNJSgg8UAXSH4g5ATqlhog7HkBx/aKp2QGUqMVll5+Zt+33XqxhPETidj v81QMXjFX+AXRw2mGvouGSPsoxHDEI93472AOb3CyWYYpPsw8sRBCDhoLZIn/g7LrphP XrTYReAzJNE3ia7ybMENXwBaBFUKlVa9PNiOvvjz2S1Rt+0LVlMnWsuiXE6A02AtaQZR Gftw== X-Gm-Message-State: AOAM532HeztTQ9NRPbqIofNIoljF6lxBovApK0AdikO6vJUFAqvKJv1G lztWgTUIHSyr6Ogfscy83WUN1A== X-Received: by 2002:a05:600c:2dc1:: with SMTP id e1mr9087022wmh.170.1637079923622; Tue, 16 Nov 2021 08:25:23 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n13sm18141009wrt.44.2021.11.16.08.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 08:25:19 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 11EC41FF9E; Tue, 16 Nov 2021 16:25:16 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 7/7] gitlab: skip cirrus jobs on master and stable branches Date: Tue, 16 Nov 2021 16:25:15 +0000 Message-Id: <20211116162515.4100231-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211116162515.4100231-1-alex.bennee@linaro.org> References: <20211116162515.4100231-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::332 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , =?utf-8?q?Dani?= =?utf-8?q?el_P=2E_Berrang=C3=A9?= , =?utf-8?q?Alex_Ben?= =?utf-8?q?n=C3=A9e?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Daniel P. Berrangé On the primary QEMU repository we want the CI jobs to run on the staging branch as a gating CI test. Cirrus CI has very limited job concurrency, so if there are too many jobs triggered they'll queue up and hit the GitLab CI job timeout before they complete on Cirrus. If we let Cirrus jobs run again on the master branch immediately after merging from staging, that just increases the chances jobs will get queued and subsequently timeout. The same applies for merges to the stable branches. User forks meanwhile should be allowed to run Cirrus CI jobs freely. Signed-off-by: Daniel P. Berrangé Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Willian Rampazzo Message-Id: <20211116112757.1909176-1-berrange@redhat.com> Signed-off-by: Alex Bennée diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml index e7b25e7427..cc2f2e8906 100644 --- a/.gitlab-ci.d/cirrus.yml +++ b/.gitlab-ci.d/cirrus.yml @@ -40,6 +40,9 @@ - cat .gitlab-ci.d/cirrus/$NAME.yml - cirrus-run -v --show-build-log always .gitlab-ci.d/cirrus/$NAME.yml rules: + # Allow on 'staging' branch and 'stable-X.Y-staging' branches only + - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH !~ /staging/' + when: never - if: "$CIRRUS_GITHUB_REPO && $CIRRUS_API_TOKEN" x64-freebsd-12-build: