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.
pull/2243/head^2
Amir Zarrinkafsh 2021-08-05 16:19:18 +10:00 committed by GitHub
parent 061220dba2
commit 3422062697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -78,11 +78,11 @@ steps:
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"
- wait: - 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" - label: ":vertical_traffic_light: Test Concurrency Gate"
command: "echo End of concurrency gate" command: "echo End of concurrency gate"
concurrency: 3 concurrency: 3
concurrency_group: "tests" 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 EOF