mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-11 23:49:30 -05:00
ci: don't delete local cached providers when uploading Terraform state (#2884)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
5ecc5ed9c9
commit
befc7cdf63
12
.github/actions/constellation_create/action.yml
vendored
12
.github/actions/constellation_create/action.yml
vendored
@ -280,8 +280,11 @@ runs:
|
||||
if: always()
|
||||
shell: bash
|
||||
run: |
|
||||
rm constellation-terraform/plan.zip
|
||||
rm -rf constellation-terraform/.terraform constellation-iam-terraform/.terraform
|
||||
mkdir to-zip
|
||||
cp -r constellation-terraform to-zip
|
||||
cp -r constellation-iam-terraform to-zip
|
||||
rm to-zip/constellation-terraform/plan.zip
|
||||
rm -rf to-zip/constellation-terraform/.terraform to-zip/constellation-iam-terraform/.terraform
|
||||
|
||||
- name: Upload terraform state
|
||||
if: always()
|
||||
@ -289,7 +292,6 @@ runs:
|
||||
with:
|
||||
name: terraform-state-${{ inputs.artifactNameSuffix }}
|
||||
path: >
|
||||
constellation-terraform
|
||||
constellation-iam-terraform
|
||||
to-zip/constellation-terraform
|
||||
to-zip/constellation-iam-terraform
|
||||
encryptionSecret: ${{ inputs.encryptionSecret }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user