From 49aa5e0eb810b0234bc1a7f675690dc278a9b755 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Mon, 22 Feb 2021 12:48:20 +1100 Subject: [PATCH] ci(buildkite): change to concurrency gates (#1752) * ci(buildkite): change to concurrency gates Continuation of #1751. * ci(buildkite): optimise concurrency gates --- .buildkite/steps/buildimages.sh | 11 ++++++++++- .buildkite/steps/e2etests.sh | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.buildkite/steps/buildimages.sh b/.buildkite/steps/buildimages.sh index dde48fc51..5ff2b6753 100755 --- a/.buildkite/steps/buildimages.sh +++ b/.buildkite/steps/buildimages.sh @@ -37,4 +37,13 @@ cat << EOF EOF fi done -done \ No newline at end of file +done +cat << EOF + + - wait + + - label: ":vertical_traffic_light: Build Concurrency Gate" + command: "echo End of concurrency gate" + concurrency: 3 + concurrency_group: "builds" +EOF \ No newline at end of file diff --git a/.buildkite/steps/e2etests.sh b/.buildkite/steps/e2etests.sh index 6c7ee297d..b6085dbea 100755 --- a/.buildkite/steps/e2etests.sh +++ b/.buildkite/steps/e2etests.sh @@ -24,4 +24,13 @@ cat << EOF suite: "all" EOF fi -done \ No newline at end of file +done +cat << EOF + + - wait + + - label: ":vertical_traffic_light: Test Concurrency Gate" + command: "echo End of concurrency gate" + concurrency: 3 + concurrency_group: "tests" +EOF \ No newline at end of file