Additional improvements to CI (#8303)

* Wait until budget check is complete

* Ensure that multi-GPU tests run for the master branch

* Fix
This commit is contained in:
Philip Hyunsu Cho
2022-10-04 04:03:38 -07:00
committed by GitHub
parent d686bf52a6
commit b2bbf49015
6 changed files with 16 additions and 9 deletions

View File

@@ -24,16 +24,18 @@ else
export BRANCH_NAME=$BUILDKITE_BRANCH
fi
if [[ -z ${DISABLE_RELEASE:-} ]]
if [[ $BUILDKITE_BRANCH == "master" || $BUILDKITE_BRANCH == "release_"* ]]
then
if [[ $BUILDKITE_BRANCH == "master" || $BUILDKITE_BRANCH == "release_"* ]]
then
is_release_branch=1
else
is_release_branch=0
fi
is_release_branch=1
enforce_daily_budget=0
else
is_release_branch=0
enforce_daily_budget=1
fi
if [[ -n ${DISABLE_RELEASE:-} ]]
then
is_release_branch=0
fi
set +x