mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-21 07:01:47 +00:00
Print pods status on e2e failures
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
8735229745
commit
cf239deb3d
2 changed files with 2 additions and 0 deletions
1
.github/workflows/e2e-arm64.yaml
vendored
1
.github/workflows/e2e-arm64.yaml
vendored
|
|
@ -100,6 +100,7 @@ jobs:
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
kubectl --context ${{ steps.prep.outputs.CONTEXT }} -n flux-system get all
|
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
|
/tmp/flux logs --all-namespaces
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
1
.github/workflows/e2e.yaml
vendored
1
.github/workflows/e2e.yaml
vendored
|
|
@ -211,6 +211,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
kubectl version --client --short
|
kubectl version --client --short
|
||||||
kubectl -n flux-system get all
|
kubectl -n flux-system get all
|
||||||
|
kubectl -n flux-system describe pods
|
||||||
kubectl -n flux-system get kustomizations -oyaml
|
kubectl -n flux-system get kustomizations -oyaml
|
||||||
kubectl -n flux-system logs deploy/source-controller
|
kubectl -n flux-system logs deploy/source-controller
|
||||||
kubectl -n flux-system logs deploy/kustomize-controller
|
kubectl -n flux-system logs deploy/kustomize-controller
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue