Skip to content

Commit

Permalink
chore: script for deploying the spartan network (#9167)
Browse files Browse the repository at this point in the history
Makes sure we're all on the same page
  • Loading branch information
just-mitch authored Oct 10, 2024
1 parent 409b7b8 commit 4660cec
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions spartan/scripts/deploy_spartan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
set -eu

TAG=$1
VALUES=$2

if [ -z "$TAG" ]; then
echo "Usage: $0 <tag> <values>"
echo "Example: $0 latest 48-validators"
exit 1
fi

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

helm upgrade --install spartan $SCRIPT_DIR/../aztec-network \
--namespace spartan \
--create-namespace \
--values $SCRIPT_DIR/../aztec-network/values/$VALUES.yaml \
--set images.aztec.image="aztecprotocol/aztec:$TAG" \
--set network.public=true \
--wait \
--wait-for-jobs=true \
--timeout=30m

0 comments on commit 4660cec

Please sign in to comment.