More AWS regions for testnet deployment (#3911)

- also some minor fixes to gce.sh
This commit is contained in:
Pankaj Garg
2019-04-19 17:46:14 -07:00
committed by GitHub
parent efbb573316
commit d83a71d89f
3 changed files with 32 additions and 6 deletions

View File

@ -323,8 +323,8 @@ EOF
fi
if [[ $additionalFullNodeCount -gt 0 ]]; then
echo "Looking for additional fullnode instances..."
for zone in "${zones[@]}"; do
echo "Looking for additional fullnode instances in $zone ..."
cloud_FindInstances "$prefix-$zone-fullnode"
[[ ${#instances[@]} -gt 0 ]] || {
echo "Unable to find additional fullnodes"
@ -386,9 +386,12 @@ delete() {
if [[ ${#instances[@]} -eq 0 ]]; then
echo "No instances found matching '$filter'"
else
cloud_DeleteInstances true
cloud_DeleteInstances true &
fi
done
wait
if $externalNodes; then
echo "Let's not delete the current configuration file"
else