Skip to content

Commit

Permalink
all: remove indexer-service, indexer-native
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerner committed Dec 11, 2024
1 parent 5427e86 commit 2a51bdf
Show file tree
Hide file tree
Showing 71 changed files with 103 additions and 11,252 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/indexer-service-image.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/publish-native-binaries.yml

This file was deleted.

10 changes: 0 additions & 10 deletions Dockerfile.indexer-agent
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@ ENV NODE_ENV production

RUN apt-get update && apt-get install -y python3 build-essential git curl

# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh && sh /tmp/rustup.sh -y
ENV PATH="/root/.cargo/bin:$PATH"

WORKDIR /opt/indexer

# Copy root files
COPY package.json .
COPY yarn.lock .
COPY tsconfig.json .
COPY lerna.json .

# Copy shared and package files
COPY packages/indexer-common/ ./packages/indexer-common
Expand All @@ -41,17 +36,12 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"

RUN apt-get update && apt-get install -y python3 build-essential git curl

# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh && sh /tmp/rustup.sh -y
ENV PATH="/root/.cargo/bin:$PATH"

WORKDIR /opt/indexer

# Copy root files
COPY package.json .
COPY yarn.lock .
COPY tsconfig.json .
COPY lerna.json .

# Copy build output
COPY --from=build /opt/indexer/packages/indexer-common/package.json /opt/indexer/packages/indexer-common/package.json
Expand Down
6 changes: 0 additions & 6 deletions Dockerfile.indexer-cli
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ ENV NODE_ENV production

RUN apt-get update && apt-get install -y python3 build-essential git curl

# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh && sh /tmp/rustup.sh -y
ENV PATH="/root/.cargo/bin:$PATH"

WORKDIR /opt/indexer

# Copy root files
Expand All @@ -21,7 +17,6 @@ COPY lerna.json .

# Copy shared and package files
COPY packages/indexer-common/ ./packages/indexer-common
COPY packages/indexer-native/ ./packages/indexer-native
COPY packages/indexer-cli/ ./packages/indexer-cli

# Install dependencies; include dev dependencies
Expand Down Expand Up @@ -56,7 +51,6 @@ COPY --from=build /opt/indexer/packages/indexer-cli/dist /opt/indexer/packages/i
COPY --from=build /opt/indexer/packages/indexer-cli/bin /opt/indexer/packages/indexer-cli/bin



# Install dependencies; exclude dev dependencies
RUN yarn --frozen-lockfile --non-interactive --production=true
RUN ln -s /opt/indexer/packages/indexer-cli/bin/graph-indexer /usr/bin/graph
Expand Down
67 changes: 0 additions & 67 deletions Dockerfile.indexer-service

This file was deleted.

Loading

0 comments on commit 2a51bdf

Please sign in to comment.