Rewrite ci/testnet-{deploy,sanity}.sh in terms of net/ primitives

This commit is contained in:
Michael Vines
2018-09-06 10:34:24 -07:00
parent e175c9dea9
commit 66ff602659
3 changed files with 106 additions and 533 deletions

View File

@ -215,7 +215,7 @@ create)
gcloud_CreateInstances "$prefix-validator" "$validatorNodeCount" "$zone" \
"$imageName" "$validatorMachineType" "$validatorBootDiskSize" "$validatorAccelerator" \
"$here/remote/remote-startup.sh" ""
if [[ -n $clientNodeCount ]]; then
if [[ $clientNodeCount -gt 0 ]]; then
gcloud_CreateInstances "$prefix-client" "$clientNodeCount" "$zone" \
"$imageName" "$clientMachineType" "$clientBootDiskSize" "$clientAccelerator" \
"$here/remote/remote-startup.sh" ""