Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit ba5a3e5

Browse files
committed
Add post failure step
1 parent 0bc3ba4 commit ba5a3e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,12 @@ jobs:
274274
helm -n integration-tests install kube-hunter ./integrations/kube-hunter/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
275275
cd tests/integration/
276276
npx jest --ci --color kube-hunter
277+
- name: Inspect Post Failure
278+
if: failure()
279+
run: |
280+
kubectl get scan -o wide
281+
kubectl get jobs -o wide
282+
kubectl get pods -o wide
277283
- name: "Inspect Operator"
278284
run: |
279285
echo "Deployment in namspace 'securecodebox-system'"

0 commit comments

Comments
 (0)