ingress-nginx-helm/test/e2e-image/Makefile
Manuel Alejandro de Brito Fontes 8fb2695d54
Update e2e image (#4883)
2020-01-04 20:29:49 -03:00

20 lines
475 B
Makefile

.PHONY: all
all: container
DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
.PHONY: container
container:
${DIR}/../../build/run-in-docker.sh make e2e-test-binary
cp ../e2e/e2e.test .
cp ../e2e/wait-for-nginx.sh .
cp -r ../../deploy/cloud-generic .
cp -r ../../deploy/cluster-wide .
docker build -t nginx-ingress-controller:e2e .
.PHONY: clean
clean:
rm -rf _cache e2e.test kubectl cluster ginkgo
docker rmi -f nginx-ingress-controller:e2e || true