Merge pull request #7950 from blockscout/vb-ci-for-eth-goerli-branch

Add GA CI for Eth Goerli chain
pull/7954/head
Victor Baranov 1 year ago committed by GitHub
commit d1d689d1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/config.yml
  2. 18
      .github/workflows/publish-docker-image-for-eth-goerli.yml
  3. 1
      CHANGELOG.md
  4. 1
      docker/Dockerfile
  5. 1
      docker/Makefile

@ -6,8 +6,8 @@ on:
- master
- production-optimism-stg
- production-eth-stg-experimental
- production-eth-goerli-stg
- production-xdai-stg
- production-polygon-supernets-stg
- production-core-stg
- production-sokol-stg
- production-rsk-stg

@ -8,26 +8,17 @@ name: Publish Docker image for specific chain branches
on:
push:
branches:
- production-polygon-supernets-stg
env:
OTP_VERSION: '24.3.4.1'
ELIXIR_VERSION: '1.13.4'
- production-eth-goerli-stg
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
RELEASE_VERSION: 5.2.0
DOCKER_CHAIN_NAME: polygon-supernets
DOCKER_CHAIN_NAME: eth-goerli
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
@ -53,12 +44,11 @@ jobs:
tags: blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:latest, blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:${{ env.RELEASE_VERSION }}-prerelease-${{ env.SHORT_SHA }}
build-args: |
CACHE_EXCHANGE_RATES_PERIOD=
API_V1_READ_METHODS_DISABLED=true
DISABLE_READ_API=false
DISABLE_WEBAPP=false
API_V1_WRITE_METHODS_DISABLED=true
DISABLE_WRITE_API=false
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
ADMIN_PANEL_ENABLED=false
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
SENTRY_DSN_CLIENT_GNOSIS=${{ secrets.SENTRY_DSN_CLIENT_GNOSIS }}
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta.+commit.${{ env.SHORT_SHA }}
RELEASE_VERSION=${{ env.RELEASE_VERSION }}

@ -26,6 +26,7 @@
### Chore
- [#7950](https://github.com/blockscout/blockscout/pull/7950) - Add GA CI for Eth Goerli chain
- [#7934](https://github.com/blockscout/blockscout/pull/7934), [#7936](https://github.com/blockscout/blockscout/pull/7936) - Explicitly set consensus == true in queries (convenient for search), remove logger requirements, where it is not used anymore
- [#7901](https://github.com/blockscout/blockscout/pull/7901) - Fix Docker image build
- [#7890](https://github.com/blockscout/blockscout/pull/7890), [#7918](https://github.com/blockscout/blockscout/pull/7918) - Resolve warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead

@ -78,4 +78,3 @@ COPY --from=builder /opt/release/blockscout .
COPY --from=builder /app/apps/explorer/node_modules ./node_modules
COPY --from=builder /app/config/config_helper.exs ./config/config_helper.exs
COPY --from=builder /app/config/config_helper.exs /app/releases/${RELEASE_VERSION}/config_helper.exs

@ -850,4 +850,3 @@ tag-stable-version: ## Generate container `{version}` tag
tag \
tag-latest \
tag-version

Loading…
Cancel
Save