Fix e2e test in osx

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-02-26 12:32:53 -03:00
parent ec632817ad
commit 51c6e950a3
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
4 changed files with 20 additions and 63 deletions

View file

@ -1,17 +1,11 @@
IMAGE=nginx-ingress-controller:e2e
KUBE_VERSION ?= 1.13.3
.PHONY: all container getbins clean
all: container
container:
./kubectl > /dev/null 2>&1 || curl -Lo ./kubectl \
https://storage.googleapis.com/kubernetes-release/release/v$(KUBE_VERSION)/bin/linux/amd64/kubectl \
&& chmod +x ./kubectl
$(GOPATH)/bin/ginkgo > /dev/null 2>&1 || go get github.com/onsi/ginkgo/ginkgo
cp $(GOPATH)/bin/ginkgo .
make -C ../../ e2e-test-binary
cp ../e2e/e2e.test .
cp ../e2e/wait-for-nginx.sh .