Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

added additional just commands #118

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ just deploy-ingress-controller
# wait for ingress.
just wait-for-ingress-controller

# Deploys Sequencer + local DA
# Deploy ingress
just deploy-astria-ingress

# Deploys ingress + Sequencer + local DA
just deploy-astria-local

# To deploy the whole stack locally with one command
# To deploy the whole stack (rollup included) locally with one command
just deploy-all-local

# Deploys a geth rollup chain + faucet + blockscout + ingress
Expand Down
6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ redeploy-chart chart:
restart deployment:
kubectl rollout restart -n astria-dev-cluster deployment {{deployment}}

deploy-astria-local: (deploy-chart "celestia-local") (deploy-chart "sequencer")
deploy-astria-ingress: create-cluster deploy-ingress-controller wait-for-ingress-controller

deploy-astria-local: deploy-astria-ingress (deploy-chart "celestia-local") (deploy-chart "sequencer")

wait-for-sequencer:
kubectl wait -n astria-dev-cluster deployment celestia-local --for=condition=Available=True --timeout=600s
Expand Down Expand Up @@ -62,7 +64,7 @@ defaultRollupNameForDelete := "astria"
delete-rollup rollupName=defaultRollupNameForDelete:
helm uninstall {{rollupName}}chain-chart-deploy

deploy-all-local: create-cluster deploy-ingress-controller wait-for-ingress-controller deploy-astria-local wait-for-sequencer (deploy-chart "sequencer-faucet") deploy-rollup wait-for-rollup
deploy-all-local: deploy-astria-local wait-for-sequencer (deploy-chart "sequencer-faucet") deploy-rollup wait-for-rollup

clean:
kind delete cluster --name astria-dev-cluster
Expand Down