Selectively deploy beta testnet to GCE/AWS or both clouds (#3805)

This commit is contained in:
Pankaj Garg 2019-04-16 10:40:30 -07:00 committed by GitHub
parent 0ff2bfdd0c
commit 8d613f3977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -241,19 +241,19 @@ start() {
EC2_ZONE_ARGS+=("-z $val") EC2_ZONE_ARGS+=("-z $val")
done done
[[ -n $EC2_NODE_COUNT ]] || EC2_NODE_COUNT=60 # shellcheck disable=SC2068
[[ -n $GCE_NODE_COUNT ]] || GCE_NODE_COUNT=40 [[ -z $EC2_NODE_COUNT ]] || ci/testnet-deploy.sh -p beta-testnet-solana-com -C ec2 ${EC2_ZONE_ARGS[@]} \
-t "$CHANNEL_OR_TAG" -n "$EC2_NODE_COUNT" -c 0 -u -P -a eipalloc-0f286cf8a0771ce35 \
${maybeReuseLedger:+-r} \
${maybeDelete:+-D} \
${GCE_NODE_COUNT:+-s}
# shellcheck disable=SC2068 # shellcheck disable=SC2068
ci/testnet-deploy.sh -p beta-testnet-solana-com -C ec2 ${EC2_ZONE_ARGS[@]} \ [[ -z $GCE_NODE_COUNT ]] || ci/testnet-deploy.sh -p beta-testnet-solana-com -C gce ${GCE_ZONE_ARGS[@]} \
-t "$CHANNEL_OR_TAG" -n "$EC2_NODE_COUNT" -c 0 -s -u -P -a eipalloc-0f286cf8a0771ce35 \ -t "$CHANNEL_OR_TAG" -n "$GCE_NODE_COUNT" -c 0 -P \
${maybeReuseLedger:+-r} \ ${maybeReuseLedger:+-r} \
${maybeDelete:+-D} ${maybeDelete:+-D} \
# shellcheck disable=SC2068 ${EC2_NODE_COUNT:+-x}
ci/testnet-deploy.sh -p beta-testnet-solana-com -C gce ${GCE_ZONE_ARGS[@]} \
-t "$CHANNEL_OR_TAG" -n "$GCE_NODE_COUNT" -c 0 -x -P \
${maybeReuseLedger:+-r} \
${maybeDelete:+-D}
) )
;; ;;
testnet-beta-perf) testnet-beta-perf)