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

Update subql versions #69

Merged
merged 14 commits into from
Oct 18, 2023
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
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Deploy to SubQL (EMBRIO staging)
strategy:
matrix:
chainId: [ development-embrio ] # ADD ARRAY OF CHAINS TO DEPLOY
chainId: [development-embrio] # ADD ARRAY OF CHAINS TO DEPLOY
uses: ./.github/workflows/subql_deploy_workflow.yaml
with:
chainId: ${{ matrix.chainId }}
Expand All @@ -29,13 +29,13 @@ jobs:
resetProject: true
secrets:
accessToken: ${{ secrets.SUBQL_ACCESS_TOKEN }}

subql_deploy_centrifuge_staging:
if: ${{ github.repository == 'centrifuge/pools-subql' && github.ref_name == 'main' }}
name: Deploy to SubQL (CENTRIFUGE staging)
strategy:
matrix:
chainId: [ development, demo ] # ADD ARRAY OF CHAINS TO DEPLOY
chainId: [development, demo] # ADD ARRAY OF CHAINS TO DEPLOY
uses: ./.github/workflows/subql_deploy_workflow.yaml
with:
chainId: ${{ matrix.chainId }}
Expand All @@ -51,7 +51,7 @@ jobs:
name: Deploy to SubQL (CENTRIFUGE mainnet)
strategy:
matrix:
chainId: [ altair, catalyst, centrifuge ] # ADD ARRAY OF CHAINS TO DEPLOY
chainId: [altair, catalyst, centrifuge] # ADD ARRAY OF CHAINS TO DEPLOY
uses: ./.github/workflows/subql_deploy_workflow.yaml
with:
chainId: ${{ matrix.chainId }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/subql_deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ on:
accessToken:
required: true


jobs:
subql_deploy_workflow:
runs-on: ubuntu-latest
env:
SUBQL_INDEXER_VERSION: v1.21.1
SUBQL_QUERY_VERSION: v1.11.0
SUBQL_INDEXER_VERSION: v3.0.7
SUBQL_QUERY_VERSION: v2.6.0
CHAIN_ID: ${{ inputs.chainId }}
SUBQL_ACCESS_TOKEN: ${{ secrets.accessToken }}
SUBQL_PROJ_ORG: ${{ inputs.projOrg }}
Expand Down Expand Up @@ -88,4 +87,4 @@ jobs:
--type=$SUBQL_DEPLOYMENT_TYPE \
--disableHistorical \
--indexerVersion="$SUBQL_INDEXER_VERSION" \
--queryVersion="$SUBQL_QUERY_VERSION"
--queryVersion="$SUBQL_QUERY_VERSION"
4 changes: 2 additions & 2 deletions chains/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version: 1.0.0
runner:
node:
name: '@subql/node'
version: '1'
version: '3.0.7'
query:
name: '@subql/query'
version: '1'
version: '2.6.0'
description: 'SubQuery API powered by EMBRIO.tech to query Centrifuge chain data for analytics insights on how Centrifuge is unlocking economic opportunity for all by connecting people to borrow and lend money transparently and cost-effectively.'
repository: https://github.com/centrifuge/pools-subql
schema:
Expand Down