Dump kubectl version and context name for VPA e2e tests.

This commit is contained in:
Slawomir Chylek 2018-02-21 11:03:06 +01:00
parent 15c023dfea
commit d027f2fe2b
1 changed files with 2 additions and 7 deletions

View File

@ -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}\]"
;;
*)