Skip to content

Commit

Permalink
Fix auxo build and add auxo build check (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx authored Aug 22, 2024
1 parent 6bd7465 commit 431c69b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/indexer-build-docker-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,33 @@ jobs:
DOCKER_BUILDKIT=1 docker build \
--platform amd64 \
-f Dockerfile.bazooka.remote .
check-build-auxo:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./indexer
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install pnpm
run:
npm install -g [email protected]

- name: Build and install
run: |
pnpm install --loglevel warn --frozen-lockfile
pnpm run build:prod:all
- name: Build docker image for auxo
id: build-image
run: |
DOCKER_BUILDKIT=1 docker build \
--platform amd64 \
-f Dockerfile.auxo.remote .
4 changes: 4 additions & 0 deletions indexer/Dockerfile.auxo.remote
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ COPY ./patches ./patches

# Copy auxo and imported packages
COPY ./packages/base/ ./packages/base/
COPY ./packages/dev/ ./packages/dev/
COPY ./packages/postgres/ ./packages/postgres/
COPY ./packages/v4-protos/ ./packages/v4-protos/
COPY ./packages/kafka/ ./packages/kafka/
COPY ./packages/redis/ ./packages/redis/
COPY ./services/auxo/ ./services/auxo/
COPY ./packages/v4-proto-parser/ ./packages/v4-proto-parser/

Expand Down

0 comments on commit 431c69b

Please sign in to comment.