Check ginkgo is installed before running e2e tests

This commit is contained in:
Manuel de Brito Fontes 2018-04-27 00:10:02 -03:00
parent e35a7d20a3
commit c719e2adbe

View file

@ -164,6 +164,7 @@ e2e-image: sub-container-amd64
.PHONY: e2e-test
e2e-test:
@ginkgo version || go get -u github.com/onsi/ginkgo/ginkgo
@ginkgo build ./test/e2e
@KUBECONFIG=${HOME}/.kube/config ginkgo -randomizeSuites -randomizeAllSpecs -flakeAttempts=2 -p -trace -nodes=2 ./test/e2e/e2e.test