Skip to content

Commit

Permalink
Remove attempt to update the cluster, just restart it (v0.12 is not r…
Browse files Browse the repository at this point in the history
…eady for update)
  • Loading branch information
mvines committed Mar 22, 2019
1 parent e189c42 commit b91afb7
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions ci/testnet-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,27 +280,16 @@ stop)
stop
;;
update-or-restart)
if start "" update; then
echo Update successful
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start
fi
echo "+++ Restarting the network"
start
;;
sanity-or-restart)
if sanity; then
echo Pass
else
echo "+++ Sanity failed, updating the network"
echo "+++ Sanity failed, restarting the network"
$metricsWriteDatapoint "testnet-manager sanity-failure=1"
if start "" update; then
echo Update successful
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start
fi
start
fi
;;
esac
Expand Down

0 comments on commit b91afb7

Please sign in to comment.