Skip to content

Commit

Permalink
use matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Oct 6, 2023
1 parent 24d95d8 commit 6dd89f8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
kubectl version
kubectl cluster-info
- name: Install eventing-manager
- name: Install eventing-manager
run: |
make install IMG=$DOCKER_IMAGE
Expand All @@ -48,19 +48,21 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_OWNER: "${{ github.repository_owner }}"
GITHUB_REPO: "eventing-manager"

- name: Deploy the controller to the cluster
run: |
kubectl create ns kyma-system || true
make deploy IMG=$DOCKER_IMAGE
- name: Get backend {{ matrix.backend }}
- name: Setup NATS
if: {{ matrix.backend }} == 'nats'
run: |
make -C hack/ci/ get-nats-via-lifecycle-manager
else
- name: Setup EventMesh
if: {{ matrix.backend }} == 'eventmesh'
run: |
echo "implement me!"
echo 'implement me'
exit 1
- name: Setup and test the eventing-manager
Expand All @@ -79,7 +81,7 @@ jobs:
if: failure()
run: |
kubectl get nats -n kyma-system -o yaml
- name: On error get eventing CR
if: failure()
run: |
Expand Down

0 comments on commit 6dd89f8

Please sign in to comment.