ci: fix artifact overwriting in upgrade test (#2913)

This commit is contained in:
Moritz Sanft 2024-02-19 15:12:04 +01:00 committed by GitHub
parent cdf1282996
commit ffb1ef9185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -245,7 +245,7 @@ jobs:
if: always() if: always()
uses: ./.github/actions/artifact_upload uses: ./.github/actions/artifact_upload
with: with:
name: constellation-pre-test name: constellation-pre-test-${{ inputs.attestationVariant }}
path: > path: >
${{ steps.e2e_test.outputs.kubeconfig }} ${{ steps.e2e_test.outputs.kubeconfig }}
constellation-terraform constellation-terraform
@ -259,7 +259,7 @@ jobs:
if: always() && needs.generate-input-parameters.outputs.cloudProvider == 'gcp' if: always() && needs.generate-input-parameters.outputs.cloudProvider == 'gcp'
uses: ./.github/actions/artifact_upload uses: ./.github/actions/artifact_upload
with: with:
name: sa-key name: sa-key-${{ inputs.attestationVariant }}
path: > path: >
gcpServiceAccountKey.json gcpServiceAccountKey.json
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
@ -342,14 +342,14 @@ jobs:
- name: Download Working Directory (Pre-test) - name: Download Working Directory (Pre-test)
uses: ./.github/actions/artifact_download uses: ./.github/actions/artifact_download
with: with:
name: constellation-pre-test name: constellation-pre-test-${{ inputs.attestationVariant }}
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
- name: Download SA Key - name: Download SA Key
if: needs.generate-input-parameters.outputs.cloudProvider == 'gcp' if: needs.generate-input-parameters.outputs.cloudProvider == 'gcp'
uses: ./.github/actions/artifact_download uses: ./.github/actions/artifact_download
with: with:
name: sa-key name: sa-key-${{ inputs.attestationVariant }}
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
- name: Make Constellation executable and add to PATH - name: Make Constellation executable and add to PATH
@ -421,7 +421,7 @@ jobs:
if: always() if: always()
uses: ./.github/actions/artifact_upload uses: ./.github/actions/artifact_upload
with: with:
name: constellation-post-test name: constellation-post-test-${{ inputs.attestationVariant }}
path: | path: |
${{ needs.create-cluster.outputs.kubeconfig }} ${{ needs.create-cluster.outputs.kubeconfig }}
constellation-terraform constellation-terraform
@ -466,14 +466,14 @@ jobs:
if: always() && needs.e2e-upgrade.result != 'success' if: always() && needs.e2e-upgrade.result != 'success'
uses: ./.github/actions/artifact_download uses: ./.github/actions/artifact_download
with: with:
name: constellation-pre-test name: constellation-pre-test-${{ inputs.attestationVariant }}
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
- name: Download Working Directory (Post-test) - name: Download Working Directory (Post-test)
if: always() && needs.e2e-upgrade.result == 'success' if: always() && needs.e2e-upgrade.result == 'success'
uses: ./.github/actions/artifact_download uses: ./.github/actions/artifact_download
with: with:
name: constellation-post-test name: constellation-post-test-${{ inputs.attestationVariant }}
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
- name: Make Constellation executable and add to PATH - name: Make Constellation executable and add to PATH