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.
pull/1752/head
Amir Zarrinkafsh 2021-02-22 11:13:51 +11:00 committed by GitHub
parent 74721a9f41
commit 6daeaf4e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,8 @@ steps:
- label: ":docker: Image Builds" - label: ":docker: Image Builds"
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload" command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
concurrency: 3
concurrency_group: "builds"
depends_on: ~ depends_on: ~
if: build.env("CI_BYPASS") != "true" if: build.env("CI_BYPASS") != "true"
@ -53,6 +55,8 @@ steps:
- label: ":chrome: Integration Tests" - label: ":chrome: Integration Tests"
command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload"
concurrency: 3
concurrency_group: "tests"
depends_on: depends_on:
- "build-docker-linux-coverage" - "build-docker-linux-coverage"
if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true" if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true"