From 162ecb97e98d3e118caaec4b1b034484e598a602 Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Thu, 12 Dec 2019 13:49:28 -0500 Subject: [PATCH] misc: improve build scripts --- build/dev-env.sh | 3 ++- build/run-e2e-suite.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build/dev-env.sh b/build/dev-env.sh index e535af5c4..d2e2b4112 100755 --- a/build/dev-env.sh +++ b/build/dev-env.sh @@ -36,7 +36,8 @@ DEV_IMAGE=${REGISTRY}/nginx-ingress-controller:${TAG} { [ "$(minikube status | grep -c Running)" -ge 2 ] && minikube status | grep -qE ': Configured$|Correctly Configured'; } \ || minikube start \ --extra-config=kubelet.sync-frequency=1s \ - --extra-config=apiserver.authorization-mode=RBAC + --extra-config=apiserver.authorization-mode=RBAC \ + --kubernetes-version=v1.15.0 # shellcheck disable=SC2046 eval $(minikube docker-env --shell bash) diff --git a/build/run-e2e-suite.sh b/build/run-e2e-suite.sh index 4fa19b0f1..3f14d34cd 100755 --- a/build/run-e2e-suite.sh +++ b/build/run-e2e-suite.sh @@ -69,6 +69,8 @@ until kubectl get secret | grep -q -e ^ingress-nginx-e2e-token; do \ sleep 3; \ done +echo -e "Starting the e2e test pod" + kubectl run --rm \ --attach \ --restart=Never \