The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Fix: Don't containerize on doc-only change and explicit artifact name (#62091)
Nicolò Maria Mezzoperafe478e275ad1
diff --git a/.github/actions/fetch-artifact/action.yml b/.github/actions/fetch-artifact/action.ymlindex 3b808c1eacd..df03997f1a3 100644--- a/.github/actions/fetch-artifact/action.yml+++ b/.github/actions/fetch-artifact/action.yml@@ -33,7 +33,7 @@ runs:});if (!artifacts.data?.artifacts?.[0]?.id) {- throw new Error(`No artifacts found for ${{ inputs.commit }}`);+ throw new Error(`No artifacts found for: ${{ inputs.name }}`);}const artifact_id = artifacts.data.artifacts[0].id;diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 4818cdc6a35..752b7246520 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -83,6 +83,7 @@ jobs:with:name: metabase-${{ inputs.edition }}-${{ github.event.pull_request.head.sha || github.sha }}-uberjarextract-path: "target/uberjar"+ output-name: "metabase.jar"- name: Prepare front-end environmentuses: ./.github/actions/prepare-frontenddiff --git a/.github/workflows/perf-test.yml b/.github/workflows/perf-test.ymlindex b7a9d8ab232..2dac1296359 100644--- a/.github/workflows/perf-test.yml+++ b/.github/workflows/perf-test.yml@@ -93,6 +93,7 @@ jobs:with:name: metabase-ee-${{ github.event.pull_request.head.sha || github.sha }}-uberjarextract-path: "target/uberjar"+ output-name: "metabase.jar"- name: Move uberjar to bin/dockerrun: |jar xf target/uberjar/metabase.jardiff --git a/.github/workflows/pr-env.yml b/.github/workflows/pr-env.ymlindex 0dd60253fcf..f778d11471e 100644--- a/.github/workflows/pr-env.yml+++ b/.github/workflows/pr-env.yml@@ -31,6 +31,7 @@ jobs:with:name: metabase-ee-${{ github.event.pull_request.head.sha || github.sha }}-uberjarextract-path: "target/uberjar"+ output-name: "metabase.jar"- name: Move uberjar to bin/dockerrun: |jar xf target/uberjar/metabase.jardiff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.ymlindex 78d76bcce28..25ac9f695c7 100644--- a/.github/workflows/run-tests.yml+++ b/.github/workflows/run-tests.yml@@ -135,6 +135,7 @@ jobs:needs: [uberjar]if: |!cancelled() &&+ needs.uberjar.result == 'success' &&((github.event_name == 'push' && contains(fromJson('["master", "metabot-v3-main", "internal-tools"]'), github.ref_name)) ||(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'build-docker-uberjar'))