Skip to content

Commit

Permalink
feat: add indexer and graphql integration to db (materialized view) (#46
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Mercurial authored Apr 23, 2024
1 parent 1291e39 commit 3fe70d5
Show file tree
Hide file tree
Showing 24 changed files with 1,324 additions and 99 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/indexer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Indexer

on:
workflow_dispatch: {}
push:
branches:
- "main"
paths:
- ".github/workflows/indexer.yml"
- "indexer/*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.indexer
platforms: linux/amd64
push: true
tags: ghcr.io/txpipe/asteria-indexer:${{ github.sha }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ target

# .env files
**/.env

.mono
27 changes: 27 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3fe70d5

Please sign in to comment.