From d027f2fe2bcb73522ce88cee239c81fe7f911474 Mon Sep 17 00:00:00 2001 From: Slawomir Chylek Date: Wed, 21 Feb 2018 11:03:06 +0100 Subject: [PATCH] Dump kubectl version and context name for VPA e2e tests. --- vertical-pod-autoscaler/hack/run-e2e.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/vertical-pod-autoscaler/hack/run-e2e.sh b/vertical-pod-autoscaler/hack/run-e2e.sh index a84188111f..26353576da 100755 --- a/vertical-pod-autoscaler/hack/run-e2e.sh +++ b/vertical-pod-autoscaler/hack/run-e2e.sh @@ -43,16 +43,11 @@ SUITE=$1 case ${SUITE} in recommender|updater|admission-controller|full-vpa) + kubectl config current-context + kubectl version ${SCRIPT_ROOT}/hack/vpa-down.sh ${SCRIPT_ROOT}/hack/deploy-for-e2e.sh ${SUITE} - # VPA creation and listing for debugging test-infra. DELETE AFTER DEBUG - kubectl describe customresourcedefinition - kubectl create namespace default || true - kubectl --namespace default create -f ${SCRIPT_ROOT}/examples/hamster.yaml - kubectl describe --all-namespaces vpa - kubectl --namespace default delete -f ${SCRIPT_ROOT}/examples/hamster.yaml - go test ${SCRIPT_ROOT}/e2e/*go -v --args --ginkgo.v=true --ginkgo.focus="\[VPA\] \[${SUITE}\]" ;; *)