Skip to content

Commit

Permalink
bump sink-mongo to 0.9.2 (#1452)
Browse files Browse the repository at this point in the history
* bump sink-mongo to 0.9.2

* recompute nix path
  • Loading branch information
tcoratger authored Oct 11, 2024
1 parent d416020 commit db5b47a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ jobs:
matrix:
include:
- platform: linux/amd64
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.7.1/sink-mongo-x86_64-linux.gz
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.9.2/sink-mongo-x86_64-linux.gz
- platform: linux/arm64
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.7.1/sink-mongo-aarch64-linux.gz
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.9.2/sink-mongo-aarch64-linux.gz
steps:
- name: Prepare
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
build-args: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
APIBARA_STARKNET_BIN_DIR=3l93dydg7m71r66x5wllf1j9czvj7zdk
APIBARA_SINK_BIN_DIR=81f00xxzyxs6ih6376cw0qbznf6cl6bn
APIBARA_SINK_BIN_DIR=8z122nm3b42lgknvv5zp7h921n3f6ia6
outputs: type=docker,dest=./artifacts/kakarot_image.tar
- name: Checkout hive tests
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: mongo

indexer:
image: quay.io/apibara/sink-mongo:0.7.1
image: quay.io/apibara/sink-mongo:0.9.2
command:
- run
- /indexer/src/main.ts
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: mongo

indexer:
image: quay.io/apibara/sink-mongo:0.7.1
image: quay.io/apibara/sink-mongo:0.9.2
command:
- run
- /indexer/src/main.ts
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: mongo

indexer:
image: quay.io/apibara/sink-mongo:0.7.1
image: quay.io/apibara/sink-mongo:0.9.2
command:
- run
- /indexer/src/main.ts
Expand Down
8 changes: 4 additions & 4 deletions docker/hive/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM ghcr.io/dojoengine/dojo:v1.0.0-alpha.14 as katana
# Indexer service
### Apibara DNA indexer and indexer
FROM quay.io/apibara/starknet:1.6.0 as apibara
FROM quay.io/apibara/sink-mongo:0.7.1 as indexer
FROM quay.io/apibara/sink-mongo:0.9.2 as indexer
FROM debian:bookworm as apibara-build
RUN apt-get update && apt-get install --no-install-recommends -y patchelf && rm -rf /var/lib/apt/lists/*

Expand All @@ -16,17 +16,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y patchelf && rm
# These values need to be updated if the version of ApiBara Starknet or Sink change.
# platform: linux/amd64:
# - APIBARA_STARKNET_BIN_DIR: 3l93dydg7m71r66x5wllf1j9czvj7zdk
# - APIBARA_SINK_BIN_DIR: 81f00xxzyxs6ih6376cw0qbznf6cl6bn
# - APIBARA_SINK_BIN_DIR: 8z122nm3b42lgknvv5zp7h921n3f6ia6
# platform: linux/arm64
# - APIBARA_STARKNET_BIN_DIR: ksmcmb1ybrij98hjy4q54v31ag7d2l6l
# - APIBARA_SINK_BIN_DIR: ww2ghdaw1xpx42cf93zk5n3h222438ia
# - APIBARA_SINK_BIN_DIR: g30fi76vhnamm9wiaqnynnckbhvwdyg1
ARG APIBARA_STARKNET_BIN_DIR
ARG APIBARA_SINK_BIN_DIR
# Run `docker image inspect apibara/starknet:1.6.0-x86_64` to get the exact path
# Run `docker image inspect apibara/starknet:1.6.0-aarch64` to get the exact path
# ⚠️ This path is subject to change, so it's important to check it before building the image ⚠️
COPY --from=apibara /nix/store/${APIBARA_STARKNET_BIN_DIR}-apibara-starknet-1.6.0/bin/apibara-starknet /usr/local/bin/starknet
COPY --from=indexer /nix/store/${APIBARA_SINK_BIN_DIR}-apibara-sink-mongo-0.7.1/bin/apibara-sink-mongo /usr/local/bin/sink-mongo
COPY --from=indexer /nix/store/${APIBARA_SINK_BIN_DIR}-apibara-sink-mongo-0.9.2/bin/apibara-sink-mongo /usr/local/bin/sink-mongo
# Change the interpreter path.
ARG BUILDPLATFORM
RUN case $BUILDPLATFORM in \
Expand Down

0 comments on commit db5b47a

Please sign in to comment.