Skip to content

Commit

Permalink
Removes standalone broker
Browse files Browse the repository at this point in the history
- removes controller, CRDs and reconcilers
- removes relevant make targets
- removes relevant GitHub actions
  • Loading branch information
gab-satchi committed Apr 11, 2022
1 parent 002391d commit 8886fc7
Show file tree
Hide file tree
Showing 42 changed files with 7 additions and 7,605 deletions.
129 changes: 0 additions & 129 deletions .github/workflows/kind-conformance-standalone.yaml

This file was deleted.

14 changes: 1 addition & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,6 @@ install: | $(KUBECTL) $(KO) install-knative-eventing install-rabbitmq-cluster-op
$(KO) apply --filename config/source
$(KUBECTL) wait --for=condition=available deploy/pingsource-mt-adapter --timeout=60s --namespace knative-eventing

.PHONY: install-standalone
install-standalone: | $(KUBECTL) $(KO) install-knative-eventing install-rabbitmq-cluster-operator ## Install local dev Knative Eventing RabbitMQ Standalone - manages all dependencies, including K8S components
$(KO) apply --filename config/brokerstandalone
$(KUBECTL) wait --for=condition=available deploy/rabbitmq-standalone-broker-controller --timeout=60s --namespace $(EVENTING_NAMESPACE)
$(KUBECTL) wait --for=condition=available deploy/rabbitmq-broker-webhook --timeout=60s --namespace $(EVENTING_NAMESPACE)
$(KO) apply --filename config/source
$(KUBECTL) wait --for=condition=available deploy/pingsource-mt-adapter --timeout=60s --namespace knative-eventing

.PHONY: test-e2e-publish
test-e2e-publish: | $(KUBECONFIG) ## Run TestKoPublish end-to-end tests - assumes a K8S with all necessary components installed (Knative & RabbitMQ)
go test -v -race -count=1 -timeout=15m -tags=e2e ./test/e2e/... -run 'TestKoPublish'
Expand All @@ -393,13 +385,9 @@ _test-conformance:
-run TestBroker.*Conformance.* $(CURDIR)/test/conformance/...

.PHONY: test-conformance
test-conformance: BROKER_TEMPLATES = $(CURDIR)/test/conformance/testdata/with-operator
test-conformance: BROKER_TEMPLATES = $(CURDIR)/test/conformance/testdata
test-conformance: | _test-conformance ## Run conformance tests

.PHONY: test-conformance-standalone
test-conformance-standalone: BROKER_TEMPLATES = $(CURDIR)/test/conformance/testdata/with-secret
test-conformance-standalone: _test-conformance ## Run conformance tests for standalone broker

TEST_COMPILATION_TAGS=e2e
.PHONY: test-compilation
test-compilation: ## Build test binaries with e2e tags
Expand Down
33 changes: 0 additions & 33 deletions cmd/controller/brokerstandalone/main.go

This file was deleted.

28 changes: 0 additions & 28 deletions config/brokerstandalone/200-rabbitmq-broker-binding.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions config/brokerstandalone/200-rabbitmq-broker-clusterrole.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions config/brokerstandalone/200-webhook-clusterrole.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions config/brokerstandalone/201-webhook-serviceaccount.yaml

This file was deleted.

0 comments on commit 8886fc7

Please sign in to comment.