1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Makefile: fix e2e-testing of the full image

Fix syntax error in the shell code. Also enable verbosity to print out
the shell script being run.
This commit is contained in:
Markus Lehtonen 2023-12-12 11:25:03 +02:00
parent 795c35683d
commit 4ebe58ffd9

View file

@ -198,7 +198,7 @@ e2e-test:
-ginkgo.v \ -ginkgo.v \
-test.timeout=1h \ -test.timeout=1h \
$(if $(OPENSHIFT),-nfd.openshift,) $(if $(OPENSHIFT),-nfd.openshift,)
@if [ "$(E2E_TEST_FULL_IMAGE)" = "true" ]; then \ if [ "$(E2E_TEST_FULL_IMAGE)" = "true" ]; then \
$(GO_CMD) test -v ./test/e2e/ -args -nfd.repo=$(IMAGE_REPO) -nfd.tag=$(IMAGE_TAG_NAME)-full \ $(GO_CMD) test -v ./test/e2e/ -args -nfd.repo=$(IMAGE_REPO) -nfd.tag=$(IMAGE_TAG_NAME)-full \
-kubeconfig=$(KUBECONFIG) \ -kubeconfig=$(KUBECONFIG) \
-nfd.e2e-config=$(E2E_TEST_CONFIG) \ -nfd.e2e-config=$(E2E_TEST_CONFIG) \
@ -207,7 +207,7 @@ e2e-test:
-ginkgo.label-filter=$(E2E_GINKGO_LABEL_FILTER) \ -ginkgo.label-filter=$(E2E_GINKGO_LABEL_FILTER) \
-ginkgo.v \ -ginkgo.v \
-test.timeout=1h \ -test.timeout=1h \
$(if $(OPENSHIFT),-nfd.openshift,) $(if $(OPENSHIFT),-nfd.openshift,); \
fi fi
push: push: