From d4e205f491959d68121e169636dc95d13b4e888a Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Wed, 16 Oct 2024 13:51:59 +0100 Subject: [PATCH] ci: Add kuadrant status check step to test jobs (#943) Adds a step to the integration test jobs to display the pods in the kuadrant-system namespace. More info could be added here, but for now this is enough to tell you if the pods were restarting during the test run for some reason (panic in the operator itself). Add workflow dispatch to "Test" workflow. Signed-off-by: Michael Nairn --- .github/workflows/test.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 71975a7fe..6d1084c34 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,6 +15,8 @@ on: schedule: - cron: "15 1 * * *" + workflow_dispatch: + jobs: unit-tests: name: Unit Tests @@ -102,6 +104,10 @@ jobs: flags: controllers-integration fail_ci_if_error: false verbose: true + - name: Check kuadrant status + if: always() + run: | + kubectl get pods -n kuadrant-system bare-k8s-integration-tests: name: Integration Tests for kuadrant-operator/tests/bare_k8s @@ -241,6 +247,10 @@ jobs: flags: ${{ matrix.gatewayapi-provider }}-integration fail_ci_if_error: false verbose: true + - name: Check kuadrant status + if: always() + run: | + kubectl get pods -n kuadrant-system verify-manifests: name: Verify manifests