Only check CHANNEL_BRANCH if TESTNET_TAG is not set from buildkite (#3701)

This commit is contained in:
Dan Albert
2019-04-09 15:04:34 -07:00
committed by GitHub
parent fc34c1370b
commit 5f3bf853c6

View File

@ -68,6 +68,9 @@ echo "SOLANA_METRICS_CONFIG: $SOLANA_METRICS_CONFIG"
ci/channel-info.sh ci/channel-info.sh
eval "$(ci/channel-info.sh)" eval "$(ci/channel-info.sh)"
if [[ -n $TESTNET_TAG ]]; then
CHANNEL_OR_TAG=$TESTNET_TAG
else
case $TESTNET in case $TESTNET in
testnet-edge|testnet-edge-perf) testnet-edge|testnet-edge-perf)
CHANNEL_OR_TAG=edge CHANNEL_OR_TAG=edge
@ -103,6 +106,7 @@ EOF
) | buildkite-agent pipeline upload ) | buildkite-agent pipeline upload
exit 0 exit 0
fi fi
fi
sanity() { sanity() {