Bump google.golang.org/protobuf from 1.32 to 1.33 (#7949) #3452
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Integration | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish: | |
strategy: | |
matrix: | |
module: | |
[ | |
graphql, | |
grpc, | |
importer, | |
monitor, | |
rest, | |
rest-java, | |
rest-monitor, | |
rosetta, | |
test, | |
web3, | |
] | |
env: | |
CONTEXT: hedera-mirror-${{ matrix.module }} | |
IMAGE: gcr.io/mirrornode/hedera-mirror-${{ matrix.module }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get version | |
run: echo "VERSION=$(grep -oP 'version=\K.+' gradle.properties)" >> $GITHUB_ENV | |
- name: Custom monitor path | |
if: matrix.module == 'rest-monitor' | |
run: echo "CONTEXT=hedera-mirror-rest/monitoring" >> $GITHUB_ENV | |
- name: Install JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Authenticate to Google Cloud | |
uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: "${{ secrets.GCR_KEY }}" | |
- name: Setup gcloud | |
uses: google-github-actions/setup-gcloud@v2 | |
- name: Configure Docker | |
run: gcloud auth configure-docker gcr.io,marketplace.gcr.io | |
- name: Build | |
if: matrix.module != 'rest' && matrix.module != 'rest-monitor' && matrix.module != 'rosetta' | |
run: ./gradlew build -x test | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push images | |
uses: docker/build-push-action@v5 | |
with: | |
build-args: VERSION=${{env.VERSION}} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
context: ${{env.CONTEXT}} | |
platforms: linux/amd64, linux/arm64 | |
provenance: false | |
push: true | |
tags: ${{env.IMAGE}}:${{env.VERSION}},${{env.IMAGE}}:main,${{env.IMAGE}}:main-${{ github.sha }} | |
deploy: | |
needs: publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: deploy | |
- name: Update integration deployment configuration | |
run: 'sed -i "s/git.commit: .*/git.commit: ${GITHUB_SHA}/" clusters/preprod/integration/helmrelease.yaml' | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Upgrade integration to main ${{ github.sha }} |