Refactor e2e tests to use the service ClusterIP
This commit is contained in:
parent
f04361cc06
commit
5e249d3366
80 changed files with 777 additions and 706 deletions
23
test/e2e-image/Makefile
Normal file
23
test/e2e-image/Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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 .
|
||||
|
||||
cp ../e2e/e2e.test .
|
||||
cp ../e2e/wait-for-nginx.sh .
|
||||
|
||||
docker build -t $(IMAGE) .
|
||||
|
||||
clean:
|
||||
rm -rf _cache e2e.test kubectl cluster ginkgo
|
||||
docker rmi -f $(IMAGE) || true
|
||||
Loading…
Add table
Add a link
Reference in a new issue