Skip to content

Commit

Permalink
misc: improve build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvinEfendi committed Dec 12, 2019
1 parent 54918c0 commit 162ecb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions build/run-e2e-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 162ecb9

Please sign in to comment.