Skip to content

Commit

Permalink
simplify nats installation
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Oct 6, 2023
1 parent f774726 commit 0165fd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
jobs:
nats:
runs-on: ubuntu-latest
matrix:
backend: [nats, eventmesh]
steps:
- uses: actions/checkout@v4

Expand All @@ -28,21 +30,9 @@ jobs:
kubectl version
kubectl cluster-info
- name: Deploy lifecycle-manager
- name: Get NATS
run: |
make -C hack/ci/ install-lifecycle-manager
- name: Install the latest NATS-manager module template
run: |
make -C hack/ci/ install-latest-nats-module-template-fast
- name: Enable NATS-manager module
run: |
make -C hack/ci/ enable-nats-module
- name: Wait for NATS to become Ready
run: |
./hack/ci/check-k8s-resource-is-ready.sh
make -C hack/ci/ get-nats-via-lifecycle-manager
- name: Install eventing-manager
run: |
Expand Down
4 changes: 4 additions & 0 deletions hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ install-latest-nats-module-template-fast: ## Downloads and applies the latest na
.PHONY: enable-nats-module
enable-nats-module:
"${KYMA_CLI}" alpha enable module nats -c fast -f --ci -n kyma-system

.PHONY: get-nats-via-lifecycle-manager
get-nats-via-lifecycle-manager: install-lifecycle-manager install-latest-nats-module-template-fast enable-nats-module
./check-k8s-resource-is-ready.sh

0 comments on commit 0165fd5

Please sign in to comment.