From 01c7ccd3d9fe793e216360a8a827c28847f31173 Mon Sep 17 00:00:00 2001 From: Adam0Brien Date: Wed, 20 Nov 2024 11:18:18 +0000 Subject: [PATCH] monitor pods on failure --- .github/workflows/e2e-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 4438e01c..acd09f63 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -26,6 +26,7 @@ jobs: echo "Test pod failed." TEST_POD=$(kubectl get pods --selector=job-name=e2e-inventory-http-tests -o jsonpath='{.items[0].metadata.name}') kubectl logs $TEST_POD + kubectl get pods exit 1 fi sleep 1 @@ -39,6 +40,7 @@ jobs: TEST_POD=$(kubectl get pods --selector=job-name=e2e-inventory-http-tests -o jsonpath='{.items[0].metadata.name}') kubectl logs $TEST_POD + - name: Inventory Down - Kind Cluster run: make inventory-down-kind