run tests from the script

This commit is contained in:
Sergey Dudoladov 2019-04-25 14:59:59 +02:00
parent 86a17e35e4
commit 2bfcb0ed23
2 changed files with 4 additions and 0 deletions

View File

@ -19,3 +19,5 @@ fi
kind create cluster --name ${cluster_name} --config ./e2e/kind-config-multikind.yaml
export KUBECONFIG="$(kind get kubeconfig-path --name=${cluster_name})"
kubectl cluster-info
./e2e/tests.py

2
e2e/tests.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
from kubernetes import client, config
def main():