Skip to content

Commit

Permalink
add backend matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Oct 6, 2023
1 parent 454f030 commit a10c67c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
jobs:
nats:
runs-on: ubuntu-latest
strategy:
matrix:
backend: [nats, eventmesh]

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions hack/ci/check-k8s-resource-is-ready.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a10c67c

Please sign in to comment.