Skip to content
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
@@ -34,6 +34,13 @@ source "$(pwd)/scripts/" ${KIND_K8S_VERSION}
docker pull
kind load docker-image

# 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.