Specify zone

This commit is contained in:
Michael Vines 2018-09-28 07:32:49 -07:00
parent e4d8c094a4
commit 8d92232949
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
2 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,7 @@ usage: $0 [name] [zone] [options...]
Deploys a CD testnet
name - name of the network
zone - GCE to deploy the network into
zone - zone to deploy the network into
options:
-s edge|beta|stable - Deploy the specified Snap release channel

View File

@ -9,11 +9,12 @@ usage() {
echo "Error: $*"
fi
cat <<EOF
usage: $0 [name]
usage: $0 [name] [zone]
Sanity check a CD testnet
name - name of the network
zone - zone of the network
Note: the SOLANA_METRICS_CONFIG environment variable is used to configure
metrics
@ -22,11 +23,13 @@ EOF
}
netName=$1
zone=$2
[[ -n $netName ]] || usage ""
[[ -n $zone ]] || usage "Zone not specified"
set -x
echo --- gce.sh config
net/gce.sh config -p "$netName"
net/gce.sh config -p "$netName" -z "$zone"
net/init-metrics.sh -e
echo --- net.sh sanity
net/net.sh sanity \