Skip to content

Commit

Permalink
Merge pull request #396 from fluxcd/debug-e2e
Browse files Browse the repository at this point in the history
Print pods status on e2e failures
  • Loading branch information
stefanprodan authored Jun 29, 2021
2 parents 5c170bf + 25a2428 commit c6ae5e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
${{ runner.os }}-go-
- name: Setup Kubernetes
uses: engineerd/setup-kind@v0.5.0
with:
version: v0.11.1
image: kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
- name: Setup Kustomize
uses: fluxcd/pkg/actions/kustomize@main
- name: Setup Kubebuilder
Expand Down Expand Up @@ -108,6 +111,8 @@ jobs:
- name: Debug failure
if: failure()
run: |
kubectl -n kube-system describe pods
kubectl -n source-system describe pods
kubectl -n source-system get gitrepositories -oyaml
kubectl -n source-system get helmrepositories -oyaml
kubectl -n source-system get helmcharts -oyaml
Expand Down

0 comments on commit c6ae5e7

Please # to comment.