Skip to content

Commit

Permalink
Pin to gibraltar release
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Jan 19, 2024
1 parent 90c4f0f commit a07b777
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/contracts-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Build contracts docker image

on:
push:
branches: [main]
branches:
- main
- release-*
tags:
- 'v*'
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-geth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
# This image is pinned because the deployment step is not deterministic. The
# block number at which the contracts are deployed changes between runs.
# image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts@sha256:8dfb508b77af42e511553e609fa6e0ef68818852737085f40cc5c769dc0ccf96
image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts:main
image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts:release-gibraltar
command: [
"--verbosity",
"2",
Expand Down
2 changes: 1 addition & 1 deletion docker/node.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/espressosystems/zkevm-node:hotshot-integration
FROM ghcr.io/espressosystems/zkevm-node:release-gibraltar
RUN apk add aws-cli bash curl
ADD ./zkevm-node/test/aggregator.keystore /pk/aggregator.keystore
ADD ./zkevm-node/test/sequencer.keystore /pk/sequencer.keystore
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ anvil *args:
docker run ghcr.io/foundry-rs/foundry:latest "anvil {{args}}"

build-docker-zkevm-node:
cd zkevm-node && nix develop -c bash -c "make build-docker && docker tag zkevm-node:latest ghcr.io/espressosystems/zkevm-node:hotshot-integration"
cd zkevm-node && nix develop -c bash -c "make build-docker && docker tag zkevm-node:latest ghcr.io/espressosystems/zkevm-node:release-gibraltar"

build-docker-zkevm-adaptor:
scripts/build-docker-images

build-docker-l1-geth:
scripts/build-l1-image
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts:main -f docker/geth.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/geth-with-contracts:release-gibraltar -f docker/geth.Dockerfile .

build-docker: build-docker-l1-geth build-docker-zkevm-node build-docker-zkevm-adaptor

Expand Down
8 changes: 4 additions & 4 deletions scripts/build-docker-images
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

nix develop .#crossShell --ignore-environment --keep HOME --command cargo build --release

docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/polygon-zkevm-adaptor:main -f docker/polygon-zkevm-adaptor.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/state-db:main -f docker/state-db.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/zkevm-node:main -f docker/node.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/zkevm-prover:main -f docker/prover.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/polygon-zkevm-adaptor:release-gibraltar -f docker/polygon-zkevm-adaptor.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/state-db:release-gibraltar -f docker/state-db.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/zkevm-node:release-gibraltar -f docker/node.Dockerfile .
docker build -t ghcr.io/espressosystems/espresso-polygon-zkevm-demo/zkevm-prover:release-gibraltar -f docker/prover.Dockerfile .
8 changes: 4 additions & 4 deletions services.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
aggregator:
image: ghcr.io/espressosystems/zkevm-node:hotshot-integration
image: ghcr.io/espressosystems/zkevm-node:release-gibraltar
expose:
- 50081
- 9091 # needed if metrics enabled
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
retries: 20

permissionless-node:
image: ghcr.io/espressosystems/zkevm-node:hotshot-integration
image: ghcr.io/espressosystems/zkevm-node:release-gibraltar
environment:
- ZKEVM_NODE_TRUSTED=false
- ZKEVM_NODE_STATEDB_USER=state_user
Expand All @@ -85,7 +85,7 @@ services:
- "host.docker.internal:host-gateway"

eth-tx-manager:
image: ghcr.io/espressosystems/zkevm-node:hotshot-integration
image: ghcr.io/espressosystems/zkevm-node:release-gibraltar
environment:
- ZKEVM_NODE_STATEDB_USER=state_user
- ZKEVM_NODE_STATEDB_PASSWORD=state_password
Expand Down Expand Up @@ -131,7 +131,7 @@ services:
stop_grace_period: 1s

adaptor:
image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/polygon-zkevm-adaptor:main
image: ghcr.io/espressosystems/espresso-polygon-zkevm-demo/polygon-zkevm-adaptor:release-gibraltar
environment:
- ESPRESSO_SEQUENCER_URL
- ESPRESSO_ZKEVM_L1_PROVIDER
Expand Down
2 changes: 1 addition & 1 deletion zkevm-node

0 comments on commit a07b777

Please sign in to comment.