Skip to content

Commit e4d81e5

Browse files
committed
chore: delete cluster after a successful e2e test
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
1 parent ac24e09 commit e4d81e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ golangci-lint:
113113

114114
.PHONY: test-e2e
115115
test-e2e: docker-build kind-cluster ## Run e2e tests
116-
e2e/e2e_test.sh || (echo "E2E test failed"; exit 1)
116+
e2e/e2e_test.sh && kind delete cluster --name $(KIND_CLUSTER) || (echo "E2E test failed"; exit 1)
117117

118118
.PHONY: lint
119119
lint: golangci-lint ## Run golangci-lint

0 commit comments

Comments
 (0)