From 6daeaf4e47bf7513ed00e8193067af95e529545d Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Mon, 22 Feb 2021 11:13:51 +1100 Subject: [PATCH] ci(buildkite): add concurrency limits to build and test steps (#1751) Due to the unpredictability of changes that Renovate can submit this PR will allow us to control the number of jobs that will run simultaneously per step. --- .buildkite/pipeline.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index da245332f..50f124575 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -45,6 +45,8 @@ steps: - label: ":docker: Image Builds" command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload" + concurrency: 3 + concurrency_group: "builds" depends_on: ~ if: build.env("CI_BYPASS") != "true" @@ -53,6 +55,8 @@ steps: - label: ":chrome: Integration Tests" command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" + concurrency: 3 + concurrency_group: "tests" depends_on: - "build-docker-linux-coverage" if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true"