From cc1c3f918161f95d2071e161fc1ec5b957828219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Mon, 13 Jan 2020 13:55:09 +0100 Subject: [PATCH] reset_testnet.sh: restart the nodes [skip ci] Watchtower seems broken, so we need to restart them explicitly. --- scripts/reset_testnet.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/reset_testnet.sh b/scripts/reset_testnet.sh index ad22e60df..04ec3dc68 100755 --- a/scripts/reset_testnet.sh +++ b/scripts/reset_testnet.sh @@ -123,13 +123,6 @@ if [[ $PUBLISH_TESTNET_RESETS != "0" ]]; then git commit -m "Reset of Nimbus $NETWORK" git push popd - - #../env.sh nim --verbosity:0 manage_testnet_hosts.nims restart_nodes \ - #--network=$NETWORK \ - #> /tmp/restart-nodes.sh - - #bash /tmp/restart-nodes.sh - #rm /tmp/restart-nodes.sh fi echo "Building Docker image..." @@ -138,5 +131,12 @@ make build echo "Publishing Docker image..." make push-last -echo -e "\nA Watchtower systemd service will pull the new image and start new containers based on it, on each testnet host, in the next 2 minutes." +#echo -e "\nA Watchtower systemd service will pull the new image and start new containers based on it, on each testnet host, in the next 2 minutes." + +../env.sh nim --verbosity:0 manage_testnet_hosts.nims restart_nodes \ + --network=$NETWORK \ + > /tmp/restart-nodes.sh + +bash /tmp/restart-nodes.sh +rm /tmp/restart-nodes.sh