Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
dev: bump mongo sink (#1365)
Browse files Browse the repository at this point in the history
* bump mongo sink

* fix missed bump
  • Loading branch information
greged93 authored Sep 9, 2024
1 parent a4ecc08 commit 70857a5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/kakarot_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release

on:
release:
types: [published]
types: [ published ]

env:
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}/node
Expand Down Expand Up @@ -130,9 +130,9 @@ jobs:
matrix:
include:
- platform: linux/amd64
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.7.0/sink-mongo-x86_64-linux.gz
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.7.1/sink-mongo-x86_64-linux.gz
- platform: linux/arm64
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.7.0/sink-mongo-aarch64-linux.gz
apibara_download_url: https://github.com/apibara/dna/releases/download/sink-mongo%2Fv0.7.1/sink-mongo-aarch64-linux.gz
steps:
- name: Prepare
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
build-args: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
APIBARA_STARKNET_BIN_DIR=ns4qwsl6fgbv7mxhxpnaqhd66wnic8i6
APIBARA_SINK_BIN_DIR=sci7y4a8r7yz05094pl88h3d7vv1s98f
APIBARA_SINK_BIN_DIR=81f00xxzyxs6ih6376cw0qbznf6cl6bn
outputs: type=docker,dest=./artifacts/kakarot_image.tar
- name: Checkout hive tests
uses: actions/checkout@v4
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sim: [ethereum/rpc]
sim: [ ethereum/rpc ]
include:
- sim: ethereum/rpc-compat
include:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: mongo

indexer:
image: quay.io/apibara/sink-mongo:0.7.0
image: quay.io/apibara/sink-mongo:0.7.1
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 @@ -168,7 +168,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: mongo

indexer:
image: quay.io/apibara/sink-mongo:0.7.0
image: quay.io/apibara/sink-mongo:0.7.1
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 @@ -184,7 +184,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: mongo

indexer:
image: quay.io/apibara/sink-mongo:0.7.0
image: quay.io/apibara/sink-mongo:0.7.1
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.0 as katana
# Indexer service
### Apibara DNA indexer and indexer
FROM quay.io/apibara/starknet:1.5.0 as apibara
FROM quay.io/apibara/sink-mongo:0.7.0 as indexer
FROM quay.io/apibara/sink-mongo:0.7.1 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: ns4qwsl6fgbv7mxhxpnaqhd66wnic8i6
# - APIBARA_SINK_BIN_DIR: sci7y4a8r7yz05094pl88h3d7vv1s98f
# - APIBARA_SINK_BIN_DIR: 81f00xxzyxs6ih6376cw0qbznf6cl6bn
# platform: linux/arm64
# - APIBARA_STARKNET_BIN_DIR: 3fz40zh8pscx7wp54nb78wm6p5y2v3g0
# - APIBARA_SINK_BIN_DIR: 5p0wgpyfsk19v8rrprnykiv5inzx8zag
# - APIBARA_SINK_BIN_DIR: ww2ghdaw1xpx42cf93zk5n3h222438ia
ARG APIBARA_STARKNET_BIN_DIR
ARG APIBARA_SINK_BIN_DIR
# Run `docker image inspect apibara/starknet:1.5.0-x86_64` to get the exact path
# Run `docker image inspect apibara/starknet:1.5.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.5.0/bin/apibara-starknet /usr/local/bin/starknet
COPY --from=indexer /nix/store/${APIBARA_SINK_BIN_DIR}-apibara-sink-mongo-0.7.0/bin/apibara-sink-mongo /usr/local/bin/sink-mongo
COPY --from=indexer /nix/store/${APIBARA_SINK_BIN_DIR}-apibara-sink-mongo-0.7.1/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 70857a5

Please sign in to comment.