chore: enforce CSI smoke test and add post-deploy health checks
Some checks failed
Deploy Cluster / Terraform (push) Successful in 42s
Deploy Cluster / Ansible (push) Failing after 8m20s

This commit is contained in:
2026-03-01 23:45:27 +00:00
parent fc598d6eb4
commit d92bde78f4
2 changed files with 10 additions and 1 deletions

View File

@@ -230,6 +230,15 @@ jobs:
env: env:
ANSIBLE_HOST_KEY_CHECKING: "False" ANSIBLE_HOST_KEY_CHECKING: "False"
- name: Post-deploy cluster health checks
working-directory: ansible
run: |
ansible -i inventory.ini 'control_plane[0]' -m command -a "kubectl get nodes -o wide"
ansible -i inventory.ini 'control_plane[0]' -m command -a "kubectl -n kube-system get pods -o wide"
ansible -i inventory.ini 'control_plane[0]' -m command -a "kubectl get storageclass"
env:
ANSIBLE_HOST_KEY_CHECKING: "False"
- name: Upload Kubeconfig - name: Upload Kubeconfig
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

View File

@@ -12,4 +12,4 @@ csi_smoke_test_base_storage_class: "hcloud-volumes"
csi_smoke_test_size: "1Gi" csi_smoke_test_size: "1Gi"
csi_smoke_test_pvc_timeout_seconds: 300 csi_smoke_test_pvc_timeout_seconds: 300
csi_smoke_test_job_timeout_seconds: 300 csi_smoke_test_job_timeout_seconds: 300
csi_smoke_test_required: false csi_smoke_test_required: true