mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-24 07:50:40 -04:00
ci: Upload e2e terraform state as artifact (#2853)
This commit is contained in:
parent
2140fa5452
commit
eabcdbe931
1 changed files with 18 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue