File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
set -e
7
7
8
- ps x | grep -q [m]inikube || minikube start --kubernetes-version=" v1.12.0" --extra-config=apiserver.v=4 || { echo ' Cannot start minikube.' ; exit 1; }
9
- eval $( minikube docker-env) || { echo ' Cannot switch to minikube docker' ; exit 1; }
10
- kubectl config use-context minikube
8
+ if [ -z " $NO_MINIKUBE " ]; then
9
+ ps x | grep -q [m]inikube || minikube start --kubernetes-version=" v1.12.0" --extra-config=apiserver.v=4 || { echo ' Cannot start minikube.' ; exit 1; }
10
+ eval $( minikube docker-env) || { echo ' Cannot switch to minikube docker' ; exit 1; }
11
+ kubectl config use-context minikube
12
+ fi
11
13
docker build -f e2e.Dockerfile .
12
14
docker tag $( docker images --filter ' label=stage=olm' --format ' {{.CreatedAt}}\t{{.ID}}' | sort -nr | head -n 1 | cut -f2) quay.io/coreos/olm:local
13
15
docker tag $( docker images --filter ' label=stage=e2e' --format ' {{.CreatedAt}}\t{{.ID}}' | sort -nr | head -n 1 | cut -f2) quay.io/coreos/olm-e2e:local
You can’t perform that action at this time.
0 commit comments