Skip to content
Snippets Groups Projects
Unverified Commit 0c9f77da authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Store E2E uberjar artifact with a SHA1 in its name (#34811)

parent f3b31a92
No related branches found
No related tags found
No related merge requests found
......@@ -146,8 +146,20 @@ jobs:
- name: Build uberjar with ./bin/build.sh
run: ./bin/build.sh
- name: Prepare uberjar artifact
uses: ./.github/actions/prepare-uberjar-artifact
- name: Mark with the commit hash
run: echo ${{ github.sha }} > COMMIT-ID
shell: bash
- name: Calculate SHA256 checksum
run: sha256sum ./target/uberjar/metabase.jar > SHA256.sum
shell: bash
- name: Upload JARs as artifact
uses: actions/upload-artifact@v3
with:
name: metabase-${{ matrix.edition }}-${{ github.sha }}-uberjar
path: |
./target/uberjar/metabase.jar
./COMMIT-ID
./SHA256.sum
e2e-tests:
needs: [build, files-changed, test-run-id, download_uberjar, e2e-matrix-builder]
......@@ -215,7 +227,7 @@ jobs:
if: needs.build.result == 'success'
name: Retrieve uberjar artifact for ${{ matrix.edition }}
with:
name: metabase-${{ matrix.edition }}-uberjar
name: metabase-${{ matrix.edition }}-${{ github.sha }}-uberjar
- name: Get the version info
run: |
......@@ -385,7 +397,7 @@ jobs:
if: needs.build.result == 'success'
name: Retrieve uberjar artifact for ee
with:
name: metabase-ee-uberjar
name: metabase-ee-${{ github.sha }}-uberjar
- name: Get the version info
run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment