chore: add bare type to testnet-automation.sh (#30933)
feat: add bare option to testnet-automation.sh
This commit is contained in:
parent
742c56ae28
commit
2cefbd1dfd
|
@ -41,8 +41,9 @@ $*"
|
||||||
) || echo "Error from packet loss analysis"
|
) || echo "Error from packet loss analysis"
|
||||||
|
|
||||||
execution_step "Deleting Testnet"
|
execution_step "Deleting Testnet"
|
||||||
"${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"
|
if test -f "${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh; then
|
||||||
|
"${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
trap 'cleanup_testnet $BASH_COMMAND' EXIT
|
trap 'cleanup_testnet $BASH_COMMAND' EXIT
|
||||||
|
|
||||||
|
@ -98,6 +99,8 @@ function launch_testnet() {
|
||||||
-p "$TESTNET_TAG" $maybePublicIpAddresses --dedicated \
|
-p "$TESTNET_TAG" $maybePublicIpAddresses --dedicated \
|
||||||
${ADDITIONAL_FLAGS[@]/#/" "}
|
${ADDITIONAL_FLAGS[@]/#/" "}
|
||||||
;;
|
;;
|
||||||
|
bare)
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Error: Unsupported cloud provider: $CLOUD_PROVIDER"
|
echo "Error: Unsupported cloud provider: $CLOUD_PROVIDER"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue