From fdf9d10ebc6ae1f8f5d0446060ffa830d8f202f3 Mon Sep 17 00:00:00 2001 From: momentmaker Date: Wed, 21 Aug 2024 14:24:03 -0500 Subject: [PATCH] refactor: build-publish-develop-pr workflow to not split (#14187) * refactor: build-publish-develop-pr workflow to not split * fix metrics job name --------- Co-authored-by: Lukasz <120112546+lukaszcl@users.noreply.github.com> --- .github/workflows/build-publish-develop-pr.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-publish-develop-pr.yml b/.github/workflows/build-publish-develop-pr.yml index b1b9db67c65..0b75b6c4778 100644 --- a/.github/workflows/build-publish-develop-pr.yml +++ b/.github/workflows/build-publish-develop-pr.yml @@ -25,9 +25,6 @@ jobs: permissions: id-token: write contents: read - strategy: - matrix: - goarch: [amd64, arm64] steps: - name: Checkout repository uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 @@ -36,7 +33,7 @@ jobs: # This gets the image tag and whether to publish the image based on the event type # PR builds: pr-- (if label 'build-publish' is present publishes the image) - # develop builds: develop- + # develop builds: develop- and develop (only amd64) # release builds: release- # manual builds: (if build-publish is true publishes the image) - name: Get image tag @@ -81,8 +78,6 @@ jobs: docker-image-name: chainlink docker-image-tag: ${{ steps.get-image-tag.outputs.image-tag }} enable-goreleaser-snapshot: "true" - enable-goreleaser-split: "true" - goreleaser-split-arch: ${{ matrix.goarch }} goreleaser-exec: ./tools/bin/goreleaser_wrapper goreleaser-config: .goreleaser.develop.yaml goreleaser-key: ${{ secrets.GORELEASER_KEY }} @@ -92,7 +87,7 @@ jobs: if: steps.get-image-tag.outputs.build-publish == 'true' shell: bash run: | - # need to check if artifacts.json exists because goreleaser splits the build + # need to check if artifacts.json exists because goreleaser could split the build if [[ -f dist/artifacts.json ]]; then artifact_path="dist/artifacts.json" else @@ -115,5 +110,5 @@ jobs: org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }} - this-job-name: goreleaser-build-publish-chainlink (${{ matrix.goarch }}) + this-job-name: goreleaser-build-publish-chainlink continue-on-error: true \ No newline at end of file