From 3422062697d053d0ac7bbbd2b4cafd962d852f64 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Thu, 5 Aug 2021 16:19:18 +1000 Subject: [PATCH] ci(buildkite): make test concurrency gate conditional (#2242) This ensures that the test concurrency gate step does not run on tagged releases are the integration steps are also skipped. --- .buildkite/pipeline.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index d3652c20..88b9c3ba 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -78,11 +78,11 @@ steps: if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true" - wait: - if: build.env("CI_BYPASS") != "true" + if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true" - label: ":vertical_traffic_light: Test Concurrency Gate" command: "echo End of concurrency gate" concurrency: 3 concurrency_group: "tests" - if: build.env("CI_BYPASS") != "true" + if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true" EOF \ No newline at end of file