reset_testnet.sh: restart the nodes [skip ci]

Watchtower seems broken, so we need to restart them explicitly.
This commit is contained in:
Ștefan Talpalaru 2020-01-13 13:55:09 +01:00
parent c6f8fdab13
commit cc1c3f9181
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9

View File

@ -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