Skip to content

Commit

Permalink
monitor pods on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0Brien committed Nov 20, 2024
1 parent b8bcc53 commit 036b17a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 036b17a

Please sign in to comment.