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.
This commit is contained in:
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

View File

@ -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