From bc2f0c73f3d3d6ddf90b378d9b523da85fbd0165 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:07:59 +0100 Subject: [PATCH] test --- .github/workflows/e2e-upgrade.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-upgrade.yml b/.github/workflows/e2e-upgrade.yml index db8b0b5dfaa..bc269550077 100644 --- a/.github/workflows/e2e-upgrade.yml +++ b/.github/workflows/e2e-upgrade.yml @@ -220,12 +220,13 @@ jobs: if: always() uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: - name: constellation + name: constellation-pre-test path: | build/constellation ${{ steps.e2e_test.outputs.kubeconfig }} constellation-terraform constellation-iam-terraform + constellation-conf.yaml e2e-upgrade: name: Run upgrade test @@ -370,12 +371,13 @@ jobs: if: always() uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: - name: constellation + name: constellation-post-test path: | build/constellation - ${{ steps.e2e_test.outputs.kubeconfig }} + ${{ needs.create-cluster.outputs.kubeconfig }} constellation-terraform constellation-iam-terraform + constellation-conf.yaml clean-up: name: Clean up resources @@ -402,11 +404,17 @@ jobs: fetch-depth: 0 ref: ${{ inputs.gitRef }} - - name: Download Working Directory - if: always() + - name: Download Working Directory (Pre-test) + if: always() && needs.e2e-upgrade.result != 'success' uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: - name: constellation + name: constellation-pre-test + + - name: Download Working Directory (Post-test) + if: always() && needs.e2e-upgrade.result == 'success' + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 + with: + name: constellation-post-test - name: Make Constellation executable and add to PATH if: always()