diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 223e1dd8..76f25ecd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,6 +14,10 @@ on: jobs: nats: runs-on: ubuntu-latest + strategy: + matrix: + backend: [nats, eventmesh] + steps: - uses: actions/checkout@v4 @@ -50,9 +54,14 @@ jobs: kubectl create ns kyma-system || true make deploy IMG=$DOCKER_IMAGE - - name: Get NATS + - name: Get backend {{ matrix.backend }} + if: {{ matrix.backend }} == 'nats' run: | make -C hack/ci/ get-nats-via-lifecycle-manager + else + run: | + echo "implement me!" + exit 1 - name: Setup and test the eventing-manager run: | diff --git a/hack/ci/check-k8s-resource-is-ready.sh b/hack/ci/check-k8s-resource-is-ready.sh index f59ecc2e..848c08f5 100755 --- a/hack/ci/check-k8s-resource-is-ready.sh +++ b/hack/ci/check-k8s-resource-is-ready.sh @@ -14,9 +14,9 @@ check-nats-ready() { if [[ $? -ne 0 ]]; then echo "NATS was not 'Ready' after ${timeouttime} seconds" exit 1 + else + echo "NATS is 'Ready'" fi - - echo "NATS is 'Ready'" } check-nats-ready