Print pods status on e2e failures

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/1570/head
Stefan Prodan 4 years ago
parent 8735229745
commit cf239deb3d
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -100,6 +100,7 @@ jobs:
if: failure()
run: |
kubectl --context ${{ steps.prep.outputs.CONTEXT }} -n flux-system get all
kubectl --context ${{ steps.prep.outputs.CONTEXT }} -n flux-system describe pods
/tmp/flux logs --all-namespaces
- name: Cleanup
if: always()

@ -211,6 +211,7 @@ jobs:
run: |
kubectl version --client --short
kubectl -n flux-system get all
kubectl -n flux-system describe pods
kubectl -n flux-system get kustomizations -oyaml
kubectl -n flux-system logs deploy/source-controller
kubectl -n flux-system logs deploy/kustomize-controller

Loading…
Cancel
Save