Skip to content

Commit

Permalink
ci: download sa key on GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft committed Jan 19, 2024
1 parent 923056b commit 9724111
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/e2e-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -401,7 +416,6 @@ jobs:
constellation-conf.yaml
constellation-state.yaml
constellation-mastersecret.json
gcpServiceAccountKey.json
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}

clean-up:
Expand Down

0 comments on commit 9724111

Please sign in to comment.