[CI] Put Multi-GPU test suites in separate pipeline (#8286)

* [CI] Put Multi-GPU test suites in separate pipeline

* Avoid unset var error in Bash
This commit is contained in:
Philip Hyunsu Cho
2022-09-29 01:41:48 -07:00
committed by GitHub
parent cbf3a5f918
commit b14c44ee5e
3 changed files with 36 additions and 12 deletions

View File

@@ -12,9 +12,14 @@ else
export BRANCH_NAME=$BUILDKITE_BRANCH
fi
if [[ $BUILDKITE_BRANCH == "master" || $BUILDKITE_BRANCH == "release_"* ]]
if [[ -z ${DISABLE_RELEASE:-} ]]
then
is_release_branch=1
if [[ $BUILDKITE_BRANCH == "master" || $BUILDKITE_BRANCH == "release_"* ]]
then
is_release_branch=1
else
is_release_branch=0
fi
else
is_release_branch=0
fi