summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/lut.sh25
1 files changed, 20 insertions, 5 deletions
diff --git a/bin/lut.sh b/bin/lut.sh
index 4a2d436..add6c20 100755
--- a/bin/lut.sh
+++ b/bin/lut.sh
@@ -74,6 +74,17 @@ cleanup () {
exit $1
}
+start_nodes () {
+ echo "Starting all the VMs, you should go do something else now, this will take a while..."
+ # monarch: monitor, tor hidden service, webapp
+ # dogface: couchdb/soledad
+ # hairstreak: mx
+ # checkerspot: openvn, need a gateway address to do openvpn, disabled
+ # spicebush: static node, with hidden service
+ # cloak: tor exit
+ leap vm start upgrade
+}
+
case "$1" in
-h | -help | --help )
help
@@ -92,12 +103,16 @@ else
get_cli $cli_git develop
cd $provider_dir
ln -s platform_$from_version $platform_link
-
-do stuff
-
+ start_nodes
+ $cli_from/bin/leap node init upgrade
+ echo "Nodes initialized with old platform"
+ $cli_from/bin/leap -v2 deploy upgrade
+ echo "Nodes deployed with old version of platform"
+ $cli_from/bin/leap test
switch $to_version
-
-do new stuff
+ $cli_to/bin/leap -v2 deploy upgrade
+ echo "Nodes deployed with new version of platform"
+ $cli_to/bin/leap test
cleanup 0
fi