
* update files to use one base image file Signed-off-by: James Strong <strong.james.e@gmail.com> * add chart test as well Signed-off-by: James Strong <strong.james.e@gmail.com> * update e2e-test image building Signed-off-by: James Strong <strong.james.e@gmail.com> * update e2e base image arg Signed-off-by: James Strong <strong.james.e@gmail.com> * add current e2e so test run Signed-off-by: James Strong <strong.james.e@gmail.com> * working on fixing build * getting dev-env and make release to work * test * i think buildx is working on mac * updates * why docker for mac and linux cli differ * fix target arch * fix target arch * fix loag issue * fix issue * update the chroot docker file * fix docker base build * mac is the issue * env not getting to the e2e deployment.go file * fix pull issue * fix pull issue * move test scripts into test folder * clean up ci * updates for PR * remove unnesscary var
27 lines
885 B
Makefile
27 lines
885 B
Makefile
|
|
DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
|
E2E_BASE_IMAGE="k8s.gcr.io/ingress-nginx/e2e-test-runner:v20220110-gfd820db46@sha256:273f7d9b1b2297cd96b4d51600e45d932186a1cc79d00d179dfb43654112fe8f"
|
|
|
|
image:
|
|
echo "..entered Makefile in /test/e2e-image"
|
|
echo "..calling Make target <<e2e-test-binary>> in /Makefile from inside /test/e2e-image/Makefile"
|
|
make -C $(DIR)/../../ e2e-test-binary
|
|
echo "..done building e2e-test-binary from /test/e2e-image/Makefile"
|
|
|
|
cp $(DIR)/../e2e/e2e.test .
|
|
cp $(DIR)/../e2e/wait-for-nginx.sh .
|
|
cp -R $(DIR)/../../charts .
|
|
|
|
# TODO: avoid manual copy
|
|
cp -R $(DIR)/../../test/e2e/settings/ocsp/* .
|
|
|
|
docker build \
|
|
--build-arg E2E_BASE_IMAGE=$(E2E_BASE_IMAGE) \
|
|
--tag nginx-ingress-controller:e2e .
|
|
|
|
clean:
|
|
rm -rf _cache e2e.test kubectl cluster ginkgo
|
|
docker rmi -f nginx-ingress-controller:e2e || true
|
|
|
|
|
|
.PHONY: image clean
|