From patchwork Thu Jan 18 18:57:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13523108 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFB79C47DB7 for ; Thu, 18 Jan 2024 18:57:51 +0000 (UTC) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (EUR03-DBA-obe.outbound.protection.outlook.com [40.107.104.42]) by mx.groups.io with SMTP id smtpd.web11.1491.1705604269603244987 for ; Thu, 18 Jan 2024 10:57:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=gDdETOhJ; spf=pass (domain: siemens.com, ip: 40.107.104.42, mailfrom: jan.kiszka@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JoW4ec5KdcSnPgFl0IrxcuMNBUkNs7RKhXpff+iMwMoGSVHWvY+CVOfr88x0ifNeZX2MTMnClUlZ10IU3z2GqQ6Iu5WJgu5B0c2PSPZYzXAaU5GuqZGSCgT8uiIJYME4suXu9uOc7G2kQnFbyqZ/3zQLJuVT4SsXGOvFWvjVPgUXQfR3sQtp+j2AbWO7benN3YnJSifCkXcCXpgkpS8OLnrhQGEMRqepg5cfh7ebIBDQ5QyILKpyLogj8rD+4A0p/Gu+6B1+iiEhsGQC39H7+eo5pLEvkAADD6xRO+r/J2iJO91braxTcqz4H0grOhfH39VbykJKLjHVVUmUx1coOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ivk7XaRxjJ9Vzz8ddWbB7tnnPEsxSrBVs9BZID1MGgo=; b=YzfJjBZjskLXlZHWgvqpWfxaBUmGwp2ScMwFKaNuDmaWWmdjKiQEJ6kIwKkFgTJhZBjoeZu1i6pl0Xjk5Sfsrw5gA88B1s5cp1pYSXWyIbwplRKcHWMqBcuoO2gEIjR4AbbE2GUSs/wcZSZZ8EI6+wUk11WI4lCz9vLTMQOb51bOd0LgrR3+nK9aru+Z2qw5u/1v4TuFR1GPGk6NchxfI5yIloTS/hUMKqv4x3B9V7z1n1NsxcabhXNOxwndUwO00+fKQMZIgKSQqxI+9WGiMMUasIvJmw5rX2hNACyV0+dSRnk2CUeWNgmppuYg2v77cKrT1shQqCRepo7b8EaKtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ivk7XaRxjJ9Vzz8ddWbB7tnnPEsxSrBVs9BZID1MGgo=; b=gDdETOhJKKmxokJoA241BwdFR+2LR25AexeDANpnn5EaIVJDwwmnFulSiTT9i71rI5fPHxrOKluXfKIIzY+fmlD2yVQ+ISqOWWXKIfRMbBme9vDCCW27V4YOIgbfpd7VjXxBbm9f1cuURXxcw/XiP56LwEn2t1miETecj5ei06L+KMSpoXy6T2PZzeGwPZc8I1Uqa4DhOMnY9huoRm9mcuyhPuC5H1pZc0YEn8dfkICXno7g5ALLwyhq9ouzqk1Ttt2xWGCA6U2f+if4fagjjRcMDFLOvlCSuRrY5/HtUQIVIFT9Rj6+yvvN76v4PvJhgQKyZZSurpJ5lmTWfj4akQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by AM7PR10MB3907.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:178::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Thu, 18 Jan 2024 18:57:46 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8d16:7fbb:4964:94fe]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8d16:7fbb:4964:94fe%3]) with mapi id 15.20.7202.024; Thu, 18 Jan 2024 18:57:46 +0000 Message-ID: <4c3c0db9-d5c5-46d9-b45b-edcd5093bc67@siemens.com> Date: Thu, 18 Jan 2024 19:57:44 +0100 User-Agent: Mozilla Thunderbird From: Jan Kiszka To: cip-dev Subject: [isar-cip-core][PATCH] ci: Reduce build runs Content-Language: en-US X-ClientProxiedBy: FR2P281CA0164.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:99::14) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|AM7PR10MB3907:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a3ac610-a82e-4991-fba9-08dc18575bd8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ElD6Cjkl8IIoa5haLbARnwSadEyC80lFKi33oGWHxfljTzXyoBCSFzzolOvpnH2vvoYNIdcWeHydHF1C/nL26aoO9O3ybR/X14MecVa4BKEwJ+BY+nwdMmLjA3Z3uwqzaOrqsYl9pP+s8WvNgfFNkJrOveVYD7l1DRHRe8CebPViMZn0A9aEBvjEb+dq+ojQr7LU9z6ILlP/0oMOETOHUUO+OkW1Lalr9gay9XVZ7ijHqvYPbK0O9fP9lh2WCbTQYsq/uu2SKHO4cLZIOlQ9ms0CaXbmqfVYS+0ZWtbGesMZHTgnlGYuFjYhwwHXaYTDPXnkqzm0CQ6U/KJ4TRCkijoIDGGsJ6IpgH2Df5pI8NVEIyafDtxcluTTHEi0sqz2LpB7WsCFxYMVaHBnG1CHsjfPiYGFMtZ3p7huypiC6qgtAAqWAEaOZs0Bzm79qVmk5gPWVaA3CZLi+PJltRHh/45izSXWrjxZCXKgZQ8D2M6ggihHS4LHRQPyGEXtG6xcYk34QvCtWfKnbBSAxn8vDKGXu1XyHXuoy3X0aBu0v/M3Do6qsoyfCjId1BvN5b2nLpAX7fan32IgnmFJcapKPk2cjlLy5hJZ9dTaxPXFLd5WKMNooehr7uDODQgTEQ7TXa3EpPVkGwP9D4HsfsyPLw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(346002)(396003)(136003)(39860400002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(8676002)(8936002)(4744005)(38100700002)(36756003)(82960400001)(86362001)(2906002)(31696002)(41300700001)(44832011)(5660300002)(6506007)(478600001)(26005)(6486002)(83380400001)(2616005)(6916009)(66946007)(66556008)(316002)(66476007)(6512007)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?HX3EeRPUWMmqwGxJsME3NwiT9JqX?= =?utf-8?q?fI+B3b+WpvaAAaOCxOq1xwgO1MFuYMwjaSTH74zeHpmYgrhTmi1ah4hx1eq1J6w6w?= =?utf-8?q?YB/z+heJn4lLx/PVGdhDLbcCFPcEVLFH2KV/zT4Jzg4y3DfJxYj60KL3kQGaXjvPy?= =?utf-8?q?kJXXMdPK7uQepRTFELCgIoFanN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6Pnd5QH7B5RuDHHKFHOkhvK1itcJrl?= =?utf-8?q?BQlBzSSAcWcqlv1l5IrM57qZUj/NdtDrYToynW55rryTqdnykvrasNMZfj1xcyDkI?= =?utf-8?q?XlCDIhtGEAzqHjiF+MDILEFMuzp8jgJ2RuQkpUzO19YA/1nO3MgX1SdC92Lv1pByt?= =?utf-8?q?s/wm73PPAAhpP/zIji/d/GWeMTfr2iUwVRfW+UeiF7tG2YEnc1oM0g60UxQZ3oRHu?= =?utf-8?q?ojbjG/8U2vc9P9rablL4fH3yVwPw3LtGJXnS4R8vFbmISNB1q38VRUGxy34Aa97sB?= =?utf-8?q?cXvnMCVRz/YHZ6ge4sgKp0ImjaZ7+TkMpDW+aINyddswKZhbKrRTune2Wcav5ajII?= =?utf-8?q?avIUNOG2z+bwLGzeczKx2g/nwMh/I+bTKeEgOH39TQFNu/LsBXnB6EGIczaexUnxe?= =?utf-8?q?D8c23Tbnw9ulBcCOa4KCnt2//yzrxnj1p3se7/JURCBOEyUIMZMtb8OOdOMV0OgPg?= =?utf-8?q?KTy54ht6iuIWadvS4nzANUdfo/1EkpdriQ=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a3ac610-a82e-4991-fba9-08dc18575bd8 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2024 18:57:46.3058 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zo4P3sSDwsE4xYcoS6c5AbTYIm1zWpOE7VZyqsEmj26tLP0bT7mWsAC4HdlMCjlHTc7tMYVftWh3fGitoOl/ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR10MB3907 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 18 Jan 2024 18:57:51 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/14407 From: Jan Kiszka Under the assumption that ever revision in master and every tagged revision has been covered by a run in next before, exclude those two cases from build runs. The exclusion of scheduled runs is just translated to rules:. Signed-off-by: Jan Kiszka --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba2cdb9d..4f87ec37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,8 +43,12 @@ default: .build_base: stage: build - except: - - schedules + rules: + - if: $CI_COMMIT_BRANCH != "master" + - if: $CI_COMMIT_TAG + when: never + - if: $CI_PIPELINE_SOURCE == "schedule" + when: never tags: - large variables: