Skip to content

Commit

Permalink
feat: Kafka EventBus (argoproj#2502)
Browse files Browse the repository at this point in the history
Signed-off-by: David Farr <david_farr@intuit.com>
Signed-off-by: Prema devi Kuppuswamy <premadk@gmail.com>
Signed-off-by: Bilal Bakht Ahmad <tringingly@gmail.com>
Co-authored-by: Prema <107519450+premadk@users.noreply.github.com>
Co-authored-by: Bilal Bakht Ahmad <bilalba@users.noreply.github.com>
Co-authored-by: Bilal Bakht Ahmad <tringingly@gmail.com>
  • Loading branch information
4 people authored and AalokAhluwalia committed Apr 13, 2023
1 parent e5be917 commit 6ef3d51
Show file tree
Hide file tree
Showing 84 changed files with 3,695 additions and 346 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 25
env:
KUBECONFIG: /home/runner/.kubeconfig
strategy:
Expand All @@ -123,6 +123,7 @@ jobs:
include:
- driver: stan
- driver: jetstream
- driver: kafka
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,14 @@ test:
go test $(shell go list ./... | grep -v /vendor/ | grep -v /test/e2e/) -race -short -v

test-functional:
go test -v -timeout 15m -count 1 --tags functional -p 1 ./test/e2e
ifeq ($(EventBusDriver),kafka)
kubectl -n argo-events apply -k test/manifests/kafka
kubectl -n argo-events wait -l statefulset.kubernetes.io/pod-name=kafka-0 --for=condition=ready pod --timeout=60s
endif
go test -v -timeout 20m -count 1 --tags functional -p 1 ./test/e2e
ifeq ($(EventBusDriver),kafka)
kubectl -n argo-events delete -k test/manifests/kafka
endif

# to run just one of the functional e2e tests by name (i.e. 'make TestMetricsWithWebhook'):
Test%:
Expand Down
188 changes: 188 additions & 0 deletions api/event-bus.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6ef3d51

Please sign in to comment.