From 0342a7ce6a5985b0363f9dec1d251c04133b5cf4 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:21:28 +0100 Subject: [PATCH] ci: download sa key on GCP --- .github/workflows/e2e-upgrade.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-upgrade.yml b/.github/workflows/e2e-upgrade.yml index 5a4462b2112..e221067d34c 100644 --- a/.github/workflows/e2e-upgrade.yml +++ b/.github/workflows/e2e-upgrade.yml @@ -240,6 +240,14 @@ jobs: constellation-conf.yaml constellation-state.yaml constellation-mastersecret.json + encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} + + - name: Upload SA Key + if: always() && inputs.cloudProvider == 'gcp' + uses: ./.github/actions/artifact_upload + with: + name: sa-key + path: > gcpServiceAccountKey.json encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} @@ -324,6 +332,13 @@ jobs: name: constellation-pre-test encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} + - name: Download SA Key + if: inputs.cloudProvider == 'gcp' + uses: ./.github/actions/artifact_download + with: + name: sa-key + encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} + - name: Make Constellation executable and add to PATH if: always() run: | @@ -401,7 +416,6 @@ jobs: constellation-conf.yaml constellation-state.yaml constellation-mastersecret.json - gcpServiceAccountKey.json encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }} clean-up: