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
Allow e2e stress-test workflow to build the jar when needed (#75669)
Nemanja Glumacf0ab65ee4f61
diff --git a/.github/workflows/e2e-stress-test-flake-fix.yml b/.github/workflows/e2e-stress-test-flake-fix.ymlindex d7fa29ad862..5256c6fb480 100644--- a/.github/workflows/e2e-stress-test-flake-fix.yml+++ b/.github/workflows/e2e-stress-test-flake-fix.yml@@ -36,6 +36,11 @@ on:type: booleanrequired: falsedefault: false+ build_jar:+ description: "Build the uberjar from this branch (required to test frontend fixes) instead of downloading a prebuilt one"+ type: boolean+ required: false+ default: falsejobs:determine-test-type:@@ -73,6 +78,7 @@ jobs:echo '- `qa_db`: "${{ inputs.qa_db }}"' >> $GITHUB_STEP_SUMMARYecho '- `enable_network_throttling`: "${{ inputs.enable_network_throttling }}"' >> $GITHUB_STEP_SUMMARYecho '- `fail_fast`: "${{ inputs.fail_fast }}"' >> $GITHUB_STEP_SUMMARY+ echo '- `build_jar`: "${{ inputs.build_jar }}"' >> $GITHUB_STEP_SUMMARYecho '' >> $GITHUB_STEP_SUMMARYecho 'triggered by: @${{ github.event.sender.login }}' >> $GITHUB_STEP_SUMMARY@@ -109,16 +115,24 @@ jobs:mysql: ${{ inputs.qa_db }}mongo: ${{ inputs.qa_db }}- - name: Download Metabase ${{ matrix.edition }} uberjar+ - name: Download Metabase ${{ inputs.mb_edition }} uberjar+ if: ${{ !inputs.build_jar }}uses: ./.github/actions/e2e-download-uberjarwith:- edition: "ee"+ edition: ${{ inputs.mb_edition }}- name: Prepare front-end environmentuses: ./.github/actions/prepare-frontend- name: Prepare back-end environmentuses: ./.github/actions/prepare-backend+ - name: Build Metabase ${{ inputs.mb_edition }} uberjar from this branch+ if: ${{ inputs.build_jar }}+ run: ./bin/build.sh+ env:+ # license check is irrelevant for ephemeral e2e jars and slows the build down+ SKIP_LICENSES: true+- name: Build Embedding SDK packageif: ${{ needs.determine-test-type.outputs.type == 'component' }}run: bun run build-embedding-sdk-package