.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 15s
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 15s
This commit is contained in:
parent
ef01ee42f1
commit
86ed12f4dd
1 changed files with 6 additions and 1 deletions
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
|
|
@ -51,7 +51,12 @@ jobs:
|
|||
- name: Terraform Deploy
|
||||
run: |
|
||||
terraform init
|
||||
terraform apply -auto-approve -var="app_version=${{ github.sha }}"
|
||||
|
||||
# 1. Zwingt Terraform, den echten Zustand des K3s-Clusters live einzulesen
|
||||
terraform refresh -var="app_version=${{ github.sha }}"
|
||||
|
||||
# 2. Führt das Update durch und bricht eventuell hängende Locks auf
|
||||
terraform apply -auto-approve -force-unlock="" -var="app_version=${{ github.sha }}"
|
||||
|
||||
- name: Verify App Health
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue