Unconditionally redeploy the edge testnet hourly to better exercise snapshot restarts

This commit is contained in:
Michael Vines 2019-09-21 09:26:32 -07:00
parent 050021cf77
commit ab60c578b9
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 3 additions and 2 deletions

View File

@ -211,11 +211,12 @@ EOF
fi fi
maybe_deploy_software() { maybe_deploy_software() {
declare arg=$1
declare ok=true declare ok=true
( (
echo "--- net.sh restart" echo "--- net.sh restart"
set -x set -x
time net/net.sh restart --skip-setup --deploy-if-newer -t "$CHANNEL_OR_TAG" time net/net.sh restart --skip-setup "$arg" -t "$CHANNEL_OR_TAG"
) || ok=false ) || ok=false
if ! $ok; then if ! $ok; then
net/net.sh logs net/net.sh logs
@ -250,7 +251,7 @@ sanity() {
NO_VALIDATOR_SANITY=1 \ NO_VALIDATOR_SANITY=1 \
ci/testnet-sanity.sh beta-testnet-solana-com gce us-west1-b ci/testnet-sanity.sh beta-testnet-solana-com gce us-west1-b
) )
maybe_deploy_software maybe_deploy_software --deploy-if-newer
;; ;;
testnet-beta-perf) testnet-beta-perf)
( (