Skip to content

Commit

Permalink
Merge pull request #1219 from autonomys/main
Browse files Browse the repository at this point in the history
Sync prod w/ main
  • Loading branch information
marc-aurele-besner authored Feb 17, 2025
2 parents 87ab7fa + 444939f commit c63f70f
Show file tree
Hide file tree
Showing 75 changed files with 2,585 additions and 3,941 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
defaults:
run:
working-directory: indexers
name: Run codegen and build
name: Indexers - Run codegen and build
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -34,7 +34,7 @@ jobs:
defaults:
run:
working-directory: explorer
name: Run eslint and code style check
name: Explorer - Run eslint and code style check
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -57,26 +57,3 @@ jobs:
env:
NEXT_PUBLIC_GEMINI_3H_INDEXERS: ${{ secrets.NEXT_PUBLIC_GEMINI_3H_INDEXERS }}
run: yarn build
ts-lint-and-build-health-check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: health-check
name: Run eslint, check typescript
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Set up Node.js 📦
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install dependencies 📦
run: npm ci

- name: Run linter 🔍
run: npm run lint

- name: Build project 🔧
run: npm run build
86 changes: 0 additions & 86 deletions .github/workflows/gh-deploy-subql.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@

- [Explorer](./explorer/README.md) - Next.js app based on React and Tailwind CSS, uses Apollo Client to fetch data from Astral Indexers
- [Indexers](./indexers/README.md) - Includes various SubQuery indexers organized by network and functionality
- [Health check](./health-check/README.md) - utility service to check health status of an internal service and expose it as a REST API endpoint

## Development

Expand Down
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ volumes:
redis_db: {}
caddy_config: {}
caddy_data: {}
api_dependencies: {}

services:
# Caddy Reverse Proxy with CORS enabled
Expand Down Expand Up @@ -448,6 +449,10 @@ services:
condition: service_healthy
hasura:
condition: service_started
volumes:
- ./indexers/api:/app
- api_dependencies:/app/node_modules
hostname: api
restart: unless-stopped
ports:
- "${API_PORT}:3000"
Expand All @@ -458,7 +463,3 @@ services:
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_DATABASE: ${DB_DATABASE}
hostname: api
volumes:
- ./indexers/api:/app
- /app/node_modules
10 changes: 7 additions & 3 deletions explorer/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ NEXT_PUBLIC_DISCORD_INVITE_URL="https://discord.gg/<discord-invite-url>"
DISCORD_BOT_TOKEN="<discord-bot-token>"

# Subspace Discord Server Role ID's
DISCORD_GUILD_ROLE_ID_FARMER="<discord-farmer-role-id>"
DISCORD_GUILD_ROLE_ID_OPERATOR="<discord-operator-role-id>"
DISCORD_GUILD_ROLE_ID_NOMINATOR="<discord-nominator-role-id>"
MAINNET_DISCORD_GUILD_ROLE_ID_FARMER="<discord-farmer-role-id>"
MAINNET_DISCORD_GUILD_ROLE_ID_OPERATOR="<discord-operator-role-id>"
MAINNET_DISCORD_GUILD_ROLE_ID_NOMINATOR="<discord-nominator-role-id>"

TAURUS_DISCORD_GUILD_ROLE_ID_FARMER="<discord-farmer-role-id>"
TAURUS_DISCORD_GUILD_ROLE_ID_OPERATOR="<discord-operator-role-id>"
TAURUS_DISCORD_GUILD_ROLE_ID_NOMINATOR="<discord-nominator-role-id>"

SLACK_TOKEN=""
SLACK_CONVERSATION_ID=""
Expand Down
Loading

0 comments on commit c63f70f

Please sign in to comment.