Skip to content

Commit

Permalink
Enforce machine type definition on GCE (solana-labs#6555)
Browse files Browse the repository at this point in the history
  • Loading branch information
danpaul000 authored Oct 25, 2019
1 parent 6eeca9c commit 43c0103
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion system-test/testnet-performance/testnet-automation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,16 @@ function launchTestnet() {

case $CLOUD_PROVIDER in
gce)
if [[ -z $VALIDATOR_NODE_MACHINE_TYPE ]] ; then
echo VALIDATOR_NODE_MACHINE_TYPE not defined
exit 1
fi
# shellcheck disable=SC2068
# shellcheck disable=SC2086
net/gce.sh create \
-d pd-ssd \
-n "$NUMBER_OF_VALIDATOR_NODES" -c "$NUMBER_OF_CLIENT_NODES" \
$maybeCustomMachineType $VALIDATOR_NODE_MACHINE_TYPE "$maybeEnableGpu" \
$maybeCustomMachineType "$VALIDATOR_NODE_MACHINE_TYPE" $maybeEnableGpu \
-p "$TESTNET_TAG" ${TESTNET_CLOUD_ZONES[@]/#/"-z "} ${ADDITIONAL_FLAGS[@]/#/" "}
;;
colo)
Expand Down

0 comments on commit 43c0103

Please sign in to comment.