Skip to content

Commit

Permalink
chore: fix spartan deploy script (#10078)
Browse files Browse the repository at this point in the history
This deploy definition really should be declarative, but for now keep
this script up to date.
  • Loading branch information
just-mitch authored Nov 20, 2024
1 parent 06ef61e commit 368ac8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spartan/scripts/deploy_spartan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,11 @@ if ! upgrade | tee "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then
upgrade
fi
fi

if ! upgrade | tee "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then
if grep 'cannot patch "'$NAMESPACE'-aztec-network-deploy-l1-verifier"' "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then
kubectl delete job $NAMESPACE-aztec-network-deploy-l1-verifier -n $NAMESPACE
upgrade
fi
fi

0 comments on commit 368ac8b

Please sign in to comment.