e2e: delete kind cluster in setup

Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
This commit is contained in:
Hongchao Deng
2020-10-27 20:55:50 -07:00
parent 137b56cb03
commit 42115e7774
2 changed files with 10 additions and 1 deletions
+9 -1
View File
@@ -22,6 +22,14 @@ jobs:
uses: engineerd/setup-kind@v0.4.0
with:
version: "v0.7.0"
skipClusterCreation: true
- name: Setup Kind Cluster
run: |
kind delete cluster
kind create cluster
kubectl version
kubectl cluster-info
- name: Load Image to kind cluster
run: make kind-load
@@ -34,7 +42,7 @@ jobs:
- name: Run e2e tests
run: |
make e2e-cleanup
make e2e-setup
make e2e-test
make e2e-api-test
make e2e-cleanup
+1
View File
@@ -96,6 +96,7 @@ e2e-api-test:
e2e-cleanup:
# Clean up
rm -rf ~/.vela
# load docker image to the kind cluster
kind-load: