From 25a2428b800dcb0c243ced0aed516146f1d46443 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 29 Jun 2021 16:16:29 +0300 Subject: [PATCH] Print pods status on e2e failures Signed-off-by: Stefan Prodan --- .github/workflows/e2e.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 230c10c78..b5d304cf8 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -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 @@ -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