Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(indexer): remove addressbook hack #19

Merged
merged 1 commit into from
Jan 23, 2024
Merged
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
9 changes: 1 addition & 8 deletions indexer/agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ set -euf

if [ ! -d "build/graphprotocol/indexer" ]; then
mkdir -p build/graphprotocol/indexer
git clone [email protected]:graphprotocol/indexer build/graphprotocol/indexer --branch 'theodus/local-net'
git clone [email protected]:graphprotocol/indexer build/graphprotocol/indexer --branch 'main'
fi

# TODO: temporary hack. see https://github.com/graphprotocol/common-ts/pull/114, https://github.com/graphprotocol/indexer/pull/818
if [ ! -d "build/graphprotocol/common-ts" ]; then
mkdir -p build/graphprotocol/common-ts
git clone [email protected]:graphprotocol/common-ts build/graphprotocol/common-ts --branch 'theodus/local-net'
fi
(cd build/graphprotocol/common-ts/ && yarn)

. ./.env

until curl -s "http://${DOCKER_GATEWAY_HOST}:${CONTROLLER}" >/dev/null; do sleep 1; done
Expand Down
4 changes: 1 addition & 3 deletions indexer/indexer-ts.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

WORKDIR /opt/
RUN git clone https://github.com/graphprotocol/common-ts build/graphprotocol/common-ts --branch 'theodus/local-net'
RUN cd build/graphprotocol/common-ts && yarn
RUN git clone https://github.com/graphprotocol/indexer build/graphprotocol/indexer --branch 'theodus/local-net'
RUN git clone https://github.com/graphprotocol/indexer build/graphprotocol/indexer --branch 'v0.20.23'
RUN cd build/graphprotocol/indexer && yarn --frozen-lockfile --non-interactive

COPY ./.env /opt/
Expand Down
9 changes: 1 addition & 8 deletions indexer/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ set -euf

if [ ! -d "build/graphprotocol/indexer" ]; then
mkdir -p build/graphprotocol/indexer
git clone [email protected]:graphprotocol/indexer build/graphprotocol/indexer --branch 'theodus/local-net'
git clone [email protected]:graphprotocol/indexer build/graphprotocol/indexer --branch 'main'
fi

# TODO: temporary hack. see https://github.com/graphprotocol/common-ts/pull/114, https://github.com/graphprotocol/indexer/pull/818
if [ ! -d "build/graphprotocol/common-ts" ]; then
mkdir -p build/graphprotocol/common-ts
git clone [email protected]:graphprotocol/common-ts build/graphprotocol/common-ts --branch 'theodus/local-net'
fi
(cd build/graphprotocol/common-ts/ && yarn)

. ./.env

until curl -s "http://${DOCKER_GATEWAY_HOST}:${CONTROLLER}" >/dev/null; do sleep 1; done
Expand Down