Skip to content
Permalink
Browse files

tests: delete kind cluster after e2e

  • Loading branch information
alexeldeib committed Dec 30, 2019
1 parent 19458ba commit 3c9a09ffad04b593d37a5222be1e9a20a826a7db
Showing with 7 additions and 0 deletions.
  1. +7 −0 test_e2e.sh
@@ -34,6 +34,13 @@ source "$(pwd)/scripts/setup.sh" ${KIND_K8S_VERSION}
docker pull gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
kind load docker-image gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1

# remove running containers on exit
function cleanup() {
kind delete cluster
}

trap cleanup EXIT

# The v1 is deprecated
go test ./test/e2e/v1
go test ./test/e2e/v2

0 comments on commit 3c9a09f

Please sign in to comment.
You can’t perform that action at this time.