diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 1f7e093535..f88318800d 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -35,6 +35,12 @@ jobs: kubectl apply -k manifests/crds kubectl apply -f test/e2e/crds - name: Start controller - run: make start-e2e & + run: make start-e2e 2>&1 | sed -r "s/[[:cntrl:]]\[[0-9]{1,3}m//g" > /tmp/e2e-controller.log & - name: Run e2e tests run: make test-e2e + - name: Upload e2e-controller logs + uses: actions/upload-artifact@v2 + with: + name: e2e-controller-k8s.log + path: /tmp/e2e-controller.log + if: ${{ failure() }}