net.sh: Add 'upgrade' subcommand to upload a new release to the BSV
NOTE! (start|stop)node don't support operating on the BSV yet, so a manual restart is required to get it running the new release
This commit is contained in:
committed by
Trent Nelson
parent
1144190d8d
commit
27e2e3665a
@ -43,6 +43,7 @@ Operate a configured testnet
|
|||||||
stopnode - Stop an individual node
|
stopnode - Stop an individual node
|
||||||
startclients - Start client nodes only
|
startclients - Start client nodes only
|
||||||
update - Deploy a new software update to the cluster
|
update - Deploy a new software update to the cluster
|
||||||
|
upgrade - Upgrade software on bootstrap validator. (Restart bootstrap validator manually to run it)
|
||||||
|
|
||||||
start-specific options:
|
start-specific options:
|
||||||
-T [tarFilename] - Deploy the specified release tarball
|
-T [tarFilename] - Deploy the specified release tarball
|
||||||
@ -981,6 +982,12 @@ stop)
|
|||||||
update)
|
update)
|
||||||
deployUpdate
|
deployUpdate
|
||||||
;;
|
;;
|
||||||
|
upgrade)
|
||||||
|
bootstrapValidatorIp="${validatorIpList[0]}"
|
||||||
|
prepareDeploy
|
||||||
|
deployBootstrapValidator "$bootstrapValidatorIp"
|
||||||
|
# (start|stop)Node need refactored to support restarting the bootstrap validator
|
||||||
|
;;
|
||||||
stopnode)
|
stopnode)
|
||||||
if [[ -z $nodeAddress ]]; then
|
if [[ -z $nodeAddress ]]; then
|
||||||
usage "node address (-i) not specified"
|
usage "node address (-i) not specified"
|
||||||
|
Reference in New Issue
Block a user