diff --git a/.github/workflows/nightly-eks.yml b/.github/workflows/nightly-eks.yml index 1fe4f4ad7c..c30e310c14 100644 --- a/.github/workflows/nightly-eks.yml +++ b/.github/workflows/nightly-eks.yml @@ -58,7 +58,13 @@ jobs: run: make test-e2e-with-cluster ARCH=amd64 - name: Teardown the cluster - if: always() + if: failure() + run: | + kubectl get pods --all-namespaces -o yaml + kubectl get nodes -o yaml + + - name: Teardown the cluster + # if: always() run: | ./build/zarf package deploy build/zarf-package-distro-eks-amd64-0.0.3.tar.zst \ --components=teardown-eks-cluster \