Fix scripts to run in osx (#5061)
This commit is contained in:
parent
0365a7c172
commit
28350f9876
2 changed files with 18 additions and 5 deletions
|
|
@ -47,6 +47,11 @@ if ! command -v parallel &> /dev/null; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v kind --version &> /dev/null; then
|
||||
echo "kind is not installed. Use the package manager or visit the official site https://kind.sigs.k8s.io/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
export TAG=dev
|
||||
|
|
@ -59,8 +64,6 @@ export DOCKER_CLI_EXPERIMENTAL=enabled
|
|||
|
||||
KIND_CLUSTER_NAME="ingress-nginx-dev"
|
||||
|
||||
kind --version || $(echo "Please install kind before running e2e tests";exit 1)
|
||||
|
||||
echo "[dev-env] creating Kubernetes cluster with kind"
|
||||
|
||||
export KUBECONFIG="${HOME}/.kube/kind-config-${KIND_CLUSTER_NAME}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue