Specify zone
This commit is contained in:
parent
e4d8c094a4
commit
8d92232949
|
@ -24,7 +24,7 @@ usage: $0 [name] [zone] [options...]
|
||||||
Deploys a CD testnet
|
Deploys a CD testnet
|
||||||
|
|
||||||
name - name of the network
|
name - name of the network
|
||||||
zone - GCE to deploy the network into
|
zone - zone to deploy the network into
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-s edge|beta|stable - Deploy the specified Snap release channel
|
-s edge|beta|stable - Deploy the specified Snap release channel
|
||||||
|
|
|
@ -9,11 +9,12 @@ usage() {
|
||||||
echo "Error: $*"
|
echo "Error: $*"
|
||||||
fi
|
fi
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
usage: $0 [name]
|
usage: $0 [name] [zone]
|
||||||
|
|
||||||
Sanity check a CD testnet
|
Sanity check a CD testnet
|
||||||
|
|
||||||
name - name of the network
|
name - name of the network
|
||||||
|
zone - zone of the network
|
||||||
|
|
||||||
Note: the SOLANA_METRICS_CONFIG environment variable is used to configure
|
Note: the SOLANA_METRICS_CONFIG environment variable is used to configure
|
||||||
metrics
|
metrics
|
||||||
|
@ -22,11 +23,13 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
netName=$1
|
netName=$1
|
||||||
|
zone=$2
|
||||||
[[ -n $netName ]] || usage ""
|
[[ -n $netName ]] || usage ""
|
||||||
|
[[ -n $zone ]] || usage "Zone not specified"
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
echo --- gce.sh config
|
echo --- gce.sh config
|
||||||
net/gce.sh config -p "$netName"
|
net/gce.sh config -p "$netName" -z "$zone"
|
||||||
net/init-metrics.sh -e
|
net/init-metrics.sh -e
|
||||||
echo --- net.sh sanity
|
echo --- net.sh sanity
|
||||||
net/net.sh sanity \
|
net/net.sh sanity \
|
||||||
|
|
Loading…
Reference in New Issue