Skip to content

Commit

Permalink
fix: hack: fix image tag for l2geth and url for l1-rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm committed Aug 23, 2024
1 parent 5cff773 commit 552174a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions devnet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
ARCH_ARM64 := $(shell if [ "$$(uname -m)" = "arm64" ] || [ "$$(uname -m)" = "aarch64" ]; then echo "-arm64"; else echo ""; fi)
ARCH_OTHER := $(shell if [ "$$(uname -m)" != "arm64" ] && [ "$$(uname -m)" != "aarch64" ]; then echo "scroll-"; else echo ""; fi)
L2_IMAGE_TAG := $(ARCH_OTHER)v5.5.17$(ARCH_ARM64)
L1_RPC_HOST := l1-rpc.scrollsdk

bootstrap:
echo "Pulling helm chart..."
Expand All @@ -17,7 +18,10 @@ install:
helm upgrade -i scroll-sdk scroll-sdk/ \
--set l2-rpc.image.tag=$(L2_IMAGE_TAG) \
--set l2-sequencer.image.tag=$(L2_IMAGE_TAG) \
--set l2-bootnode.image.tag=$(L2_IMAGE_TAG)
--set l2-bootnode.image.tag=$(L2_IMAGE_TAG) \
--set l1-devnet.ingress.main.hosts[0].host=$(L1_RPC_HOST) \
--set l1-devnet.ingress.main.hosts[0].paths[0].path=/ \
--set l1-devnet.ingress.main.hosts[0].paths[0].pathType=Prefix

reload-env-files:
./create-env-files.sh scroll-sdk
Expand All @@ -29,4 +33,7 @@ upgrade:
helm upgrade scroll-sdk scroll-sdk/ \
--set l2-rpc.image.tag=$(L2_IMAGE_TAG) \
--set l2-sequencer.image.tag=$(L2_IMAGE_TAG) \
--set l2-bootnode.image.tag=$(L2_IMAGE_TAG)
--set l2-bootnode.image.tag=$(L2_IMAGE_TAG) \
--set l1-devnet.ingress.main.hosts[0].host=$(L1_RPC_HOST) \
--set l1-devnet.ingress.main.hosts[0].paths[0].path=/ \
--set l1-devnet.ingress.main.hosts[0].paths[0].pathType=Prefix

0 comments on commit 552174a

Please sign in to comment.