Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft committed Dec 19, 2023
1 parent 339d3fd commit bc2f0c7
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/e2e-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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()
Expand Down

0 comments on commit bc2f0c7

Please sign in to comment.