Skip to content

Commit

Permalink
ci: Add kuadrant status check step to test jobs (#943)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mikenairn authored Oct 16, 2024
1 parent 5d76689 commit d4e205f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
schedule:
- cron: "15 1 * * *"

workflow_dispatch:

jobs:
unit-tests:
name: Unit Tests
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d4e205f

Please sign in to comment.