From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id A222752BF9F; Wed, 12 Jul 2023 21:16:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A222752BF9F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1689185803; bh=4I5TvPaOmW4Q0worDQ7Ai8o08eF14v4c4lNc2XR2nRo=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=bA+/HuAnuJ0k5cfjmORMhNyR9yE2QUk69Fol3aIpDa+WB//bwTJ0CHpmNOltSxEKb 94WwLfmFoXOlqgwUjp1ZHAj2MkBsgOKDL9Z4yhZeoT7J8pr3BCrCvFKY5UtciJMG+K xv5QIy8fueagvfxCECAmmiBB3zxbSijYlClODt3M= Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [95.163.41.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E388B49815A for ; Wed, 12 Jul 2023 21:16:41 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E388B49815A Received: by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1qJeOG-001fZk-QX; Wed, 12 Jul 2023 21:16:41 +0300 To: Sergey Kaplun , Sergey Bronnikov Date: Wed, 12 Jul 2023 18:06:39 +0000 Message-Id: <73e2376cd179a89d8be7c0a277e6cab3fecb95bd.1689184997.git.imun@tarantool.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9B2A9E02D3479B2E06D238632EDD918ADE99D1207B41AAA03182A05F538085040CF6C7018E486976EED6177D0B25799FEF8C217AF63066B34F56274A42C549326 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7FCFCB92DA8654BB0EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637205505A8D8EF484BEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BE5CCB53A13BC8DBAADC9E04DD70B3751AF00DF09CBA95959CC7F00164DA146DAFE8445B8C89999728AA50765F79006375FFD5C25497261569FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C303B69CD69EED70A1117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CF56E3D212986C9D9EBA3038C0950A5D36C8A9BA7A39EFB766D91E3A1F190DE8FDBA3038C0950A5D36D5E8D9A59859A8B6D91B6531E6CC8CCB76E601842F6C81A1F004C906525384303E02D724532EE2C3F43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7CAA44A86D94E7BBB043847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A56F7A3F26D23D57FAF5CF62FA107F31225E8579B5682DB361F87CCE6106E1FC07E67D4AC08A07B9B0A6C7FFFE744CA7FB9C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A0997E3FB2386030E77 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF1FC8837F51B5DC92D0AE3EC046F6A4A33B323E9A3B8DBB3CFD8355B790D54D449FECE8BBF8D52592399DF444199BC1D1304ECCF6F163009444944ED81D8691BFA74DFFEFA5DC0E7F02C26D483E81D6BEECAEF3E2CCC1ED8C383653B6C8D9AE0FD16FCAA6493B703A X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXjVWDZfONRUxpGs/cmMV7BJ X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D531325FD636567AF50482BB9F9CC61E6B71FBF0616D6CF1298B2326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit] ci: update job concurrency group definition X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" As a result of branch renaming in LuaJIT repository, the existing job concurrency group definition rule has become outdated. This patch updates the condition according to the new branch naming policy. Signed-off-by: Igor Munkin --- Branch: https://github.com/tarantool/luajit/tree/imun/ci-update-job-concurrency-group-def .github/workflows/exotic-builds-testing.yml | 12 +++++------- .github/workflows/gnumake-builds-testing.yml | 12 +++++------- .github/workflows/lint.yml | 12 +++++------- .github/workflows/testing.yml | 12 +++++------- 4 files changed, 20 insertions(+), 28 deletions(-) diff --git a/.github/workflows/exotic-builds-testing.yml b/.github/workflows/exotic-builds-testing.yml index 2269928f..318fb4dd 100644 --- a/.github/workflows/exotic-builds-testing.yml +++ b/.github/workflows/exotic-builds-testing.yml @@ -11,8 +11,8 @@ on: concurrency: # An update of a developer branch cancels the previously # scheduled workflow run for this branch. However, the default - # branch, and long-term branch (tarantool-1.10, tarantool-2.8, - # etc.) workflow runs are never canceled. + # branch, and long-term branch (tarantool/release/2.11, + # tarantool/release/2.10, etc) workflow runs are never canceled. # # We use a trick here: define the concurrency group as 'workflow # run ID' + # 'workflow run attempt' because it is a unique @@ -21,11 +21,9 @@ concurrency: # XXX: we cannot use `github.sha` as a unique identifier because # pushing a tag may cancel a run that works on a branch push # event. - group: ${{ ( - github.ref == 'refs/heads/tarantool' || - startsWith(github.ref, 'refs/heads/tarantool-')) && - format('{0}-{1}', github.run_id, github.run_attempt) || - format('{0}-{1}', github.workflow, github.ref) }} + group: ${{ startsWith(github.ref, 'refs/heads/tarantool/') + && format('{0}-{1}', github.run_id, github.run_attempt) + || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: diff --git a/.github/workflows/gnumake-builds-testing.yml b/.github/workflows/gnumake-builds-testing.yml index b78823f1..afb96183 100644 --- a/.github/workflows/gnumake-builds-testing.yml +++ b/.github/workflows/gnumake-builds-testing.yml @@ -11,8 +11,8 @@ on: concurrency: # An update of a developer branch cancels the previously # scheduled workflow run for this branch. However, the default - # branch, and long-term branch (tarantool-1.10, tarantool-2.8, - # etc.) workflow runs are never canceled. + # branch, and long-term branch (tarantool/release/2.11, + # tarantool/release/2.10, etc) workflow runs are never canceled. # # We use a trick here: define the concurrency group as 'workflow # run ID' + # 'workflow run attempt' because it is a unique @@ -21,11 +21,9 @@ concurrency: # XXX: we cannot use `github.sha` as a unique identifier because # pushing a tag may cancel a run that works on a branch push # event. - group: ${{ ( - github.ref == 'refs/heads/tarantool' || - startsWith(github.ref, 'refs/heads/tarantool-')) && - format('{0}-{1}', github.run_id, github.run_attempt) || - format('{0}-{1}', github.workflow, github.ref) }} + group: ${{ startsWith(github.ref, 'refs/heads/tarantool/') + && format('{0}-{1}', github.run_id, github.run_attempt) + || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 71ceee9a..70c98104 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,8 +11,8 @@ on: concurrency: # An update of a developer branch cancels the previously # scheduled workflow run for this branch. However, the default - # branch, and long-term branch (tarantool-1.10, tarantool-2.8, - # etc.) workflow runs are never canceled. + # branch, and long-term branch (tarantool/release/2.11, + # tarantool/release/2.10, etc) workflow runs are never canceled. # # We use a trick here: define the concurrency group as 'workflow # run ID' + # 'workflow run attempt' because it is a unique @@ -21,11 +21,9 @@ concurrency: # XXX: we cannot use `github.sha` as a unique identifier because # pushing a tag may cancel a run that works on a branch push # event. - group: ${{ ( - github.ref == 'refs/heads/tarantool' || - startsWith(github.ref, 'refs/heads/tarantool-')) && - format('{0}-{1}', github.run_id, github.run_attempt) || - format('{0}-{1}', github.workflow, github.ref) }} + group: ${{ startsWith(github.ref, 'refs/heads/tarantool/') + && format('{0}-{1}', github.run_id, github.run_attempt) + || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 8300c443..2c637124 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -11,8 +11,8 @@ on: concurrency: # An update of a developer branch cancels the previously # scheduled workflow run for this branch. However, the default - # branch, and long-term branch (tarantool-1.10, tarantool-2.8, - # etc.) workflow runs are never canceled. + # branch, and long-term branch (tarantool/release/2.11, + # tarantool/release/2.10, etc) workflow runs are never canceled. # # We use a trick here: define the concurrency group as 'workflow # run ID' + # 'workflow run attempt' because it is a unique @@ -21,11 +21,9 @@ concurrency: # XXX: we cannot use `github.sha` as a unique identifier because # pushing a tag may cancel a run that works on a branch push # event. - group: ${{ ( - github.ref == 'refs/heads/tarantool' || - startsWith(github.ref, 'refs/heads/tarantool-')) && - format('{0}-{1}', github.run_id, github.run_attempt) || - format('{0}-{1}', github.workflow, github.ref) }} + group: ${{ startsWith(github.ref, 'refs/heads/tarantool/') + && format('{0}-{1}', github.run_id, github.run_attempt) + || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: -- 2.30.2