Skip to content

Commit 92d5cb5

Browse files
authored
Merge pull request #259 from Andreagit97/run-e2e-on-all-clusters
Allow running e2e test in non-kind clusters
2 parents 6e7fb64 + 037a806 commit 92d5cb5

6 files changed

Lines changed: 225 additions & 159 deletions

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,12 @@ helm-unittest:
9494

9595
.PHONY: test-e2e
9696
test-e2e: generate-ebpf vet
97+
ifneq ($(E2E_USE_EXISTING_CLUSTER),true)
9798
ifeq ($(E2E_NO_REBUILD),)
9899
TAG=latest make $(E2E_DEPS)
99100
endif
100-
go test ./test/e2e/ -v
101+
endif
102+
E2E_USE_EXISTING_CLUSTER=$(E2E_USE_EXISTING_CLUSTER) E2E_SKIP_DEPENDENCIES=$(E2E_SKIP_DEPENDENCIES) go test ./test/e2e/ -v
101103

102104
.PHONY: lint
103105
lint: generate-ebpf golangci-lint ## Run golangci-lint linter

0 commit comments

Comments
 (0)