|
|
@ -17,6 +17,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
env: |
|
|
|
RELEASE_VERSION: 6.9.0 |
|
|
|
RELEASE_VERSION: 6.9.0 |
|
|
|
|
|
|
|
API_GRAPHQL_MAX_COMPLEXITY: 10400 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- name: Setup repo |
|
|
|
- name: Setup repo |
|
|
@ -95,3 +96,76 @@ jobs: |
|
|
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }} |
|
|
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }} |
|
|
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }} |
|
|
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }} |
|
|
|
CHAIN_TYPE=celo |
|
|
|
CHAIN_TYPE=celo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker image (indexer + API + shrink internal transactions) |
|
|
|
|
|
|
|
uses: docker/build-push-action@v5 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
context: . |
|
|
|
|
|
|
|
file: ./docker/Dockerfile |
|
|
|
|
|
|
|
push: true |
|
|
|
|
|
|
|
tags: blockscout/blockscout-celo:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-shrink-internal-txs |
|
|
|
|
|
|
|
labels: ${{ steps.setup.outputs.docker-labels }} |
|
|
|
|
|
|
|
platforms: | |
|
|
|
|
|
|
|
linux/amd64 |
|
|
|
|
|
|
|
linux/arm64/v8 |
|
|
|
|
|
|
|
build-args: | |
|
|
|
|
|
|
|
API_GRAPHQL_MAX_COMPLEXITY=${{ env.API_GRAPHQL_MAX_COMPLEXITY }} |
|
|
|
|
|
|
|
CACHE_EXCHANGE_RATES_PERIOD= |
|
|
|
|
|
|
|
API_V1_READ_METHODS_DISABLED=false |
|
|
|
|
|
|
|
DISABLE_WEBAPP=false |
|
|
|
|
|
|
|
API_V1_WRITE_METHODS_DISABLED=false |
|
|
|
|
|
|
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED= |
|
|
|
|
|
|
|
ADMIN_PANEL_ENABLED=false |
|
|
|
|
|
|
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL= |
|
|
|
|
|
|
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }} |
|
|
|
|
|
|
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }} |
|
|
|
|
|
|
|
CHAIN_TYPE=celo |
|
|
|
|
|
|
|
SHRINK_INTERNAL_TRANSACTIONS_ENABLED=true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker image (indexer + shrink internal transactions) |
|
|
|
|
|
|
|
uses: docker/build-push-action@v5 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
context: . |
|
|
|
|
|
|
|
file: ./docker/Dockerfile |
|
|
|
|
|
|
|
push: true |
|
|
|
|
|
|
|
tags: blockscout/blockscout-celo:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-shrink-internal-txs-indexer |
|
|
|
|
|
|
|
labels: ${{ steps.setup.outputs.docker-labels }} |
|
|
|
|
|
|
|
platforms: | |
|
|
|
|
|
|
|
linux/amd64 |
|
|
|
|
|
|
|
linux/arm64/v8 |
|
|
|
|
|
|
|
build-args: | |
|
|
|
|
|
|
|
API_GRAPHQL_MAX_COMPLEXITY=${{ env.API_GRAPHQL_MAX_COMPLEXITY }} |
|
|
|
|
|
|
|
CACHE_EXCHANGE_RATES_PERIOD= |
|
|
|
|
|
|
|
DISABLE_WEBAPP=true |
|
|
|
|
|
|
|
DISABLE_API=true |
|
|
|
|
|
|
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED= |
|
|
|
|
|
|
|
ADMIN_PANEL_ENABLED=false |
|
|
|
|
|
|
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL= |
|
|
|
|
|
|
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }} |
|
|
|
|
|
|
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }} |
|
|
|
|
|
|
|
CHAIN_TYPE=celo |
|
|
|
|
|
|
|
SHRINK_INTERNAL_TRANSACTIONS_ENABLED=true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker image (API + shrink internal transactions) |
|
|
|
|
|
|
|
uses: docker/build-push-action@v5 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
context: . |
|
|
|
|
|
|
|
file: ./docker/Dockerfile |
|
|
|
|
|
|
|
push: true |
|
|
|
|
|
|
|
tags: blockscout/blockscout-celo:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-shrink-internal-txs-api |
|
|
|
|
|
|
|
labels: ${{ steps.setup.outputs.docker-labels }} |
|
|
|
|
|
|
|
platforms: | |
|
|
|
|
|
|
|
linux/amd64 |
|
|
|
|
|
|
|
linux/arm64/v8 |
|
|
|
|
|
|
|
build-args: | |
|
|
|
|
|
|
|
API_GRAPHQL_MAX_COMPLEXITY=${{ env.API_GRAPHQL_MAX_COMPLEXITY }} |
|
|
|
|
|
|
|
CACHE_EXCHANGE_RATES_PERIOD= |
|
|
|
|
|
|
|
DISABLE_WEBAPP=true |
|
|
|
|
|
|
|
DISABLE_INDEXER=true |
|
|
|
|
|
|
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED= |
|
|
|
|
|
|
|
ADMIN_PANEL_ENABLED=false |
|
|
|
|
|
|
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL= |
|
|
|
|
|
|
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }} |
|
|
|
|
|
|
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }} |
|
|
|
|
|
|
|
CHAIN_TYPE=celo |
|
|
|
|
|
|
|
SHRINK_INTERNAL_TRANSACTIONS_ENABLED=true |