mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-29 01:16:12 -05:00
ci: Upload e2e terraform state as artifact (#2853)
This commit is contained in:
parent
2140fa5452
commit
eabcdbe931
18
.github/actions/constellation_create/action.yml
vendored
18
.github/actions/constellation_create/action.yml
vendored
@ -275,3 +275,21 @@ runs:
|
||||
path: >
|
||||
!(terraform).log
|
||||
encryptionSecret: ${{ inputs.encryptionSecret }}
|
||||
|
||||
- name: Prepare terraform state folders
|
||||
if: always()
|
||||
shell: bash
|
||||
run: |
|
||||
rm constellation-terraform/plan.zip
|
||||
rm -rf constellation-terraform/.terraform constellation-iam-terraform/.terraform
|
||||
|
||||
- name: Upload terraform state
|
||||
if: always()
|
||||
uses: ./.github/actions/artifact_upload
|
||||
with:
|
||||
name: terraform-state-${{ inputs.artifactNameSuffix }}
|
||||
path: >
|
||||
constellation-terraform
|
||||
constellation-iam-terraform
|
||||
encryptionSecret: ${{ inputs.encryptionSecret }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user