mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-12 07:59:29 -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()
|
if: always()
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rm constellation-terraform/plan.zip
|
mkdir to-zip
|
||||||
rm -rf constellation-terraform/.terraform constellation-iam-terraform/.terraform
|
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
|
- name: Upload terraform state
|
||||||
if: always()
|
if: always()
|
||||||
@ -289,7 +292,6 @@ runs:
|
|||||||
with:
|
with:
|
||||||
name: terraform-state-${{ inputs.artifactNameSuffix }}
|
name: terraform-state-${{ inputs.artifactNameSuffix }}
|
||||||
path: >
|
path: >
|
||||||
constellation-terraform
|
to-zip/constellation-terraform
|
||||||
constellation-iam-terraform
|
to-zip/constellation-iam-terraform
|
||||||
encryptionSecret: ${{ inputs.encryptionSecret }}
|
encryptionSecret: ${{ inputs.encryptionSecret }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user