File tree Expand file tree Collapse file tree 7 files changed +21
-14
lines changed
cronjob-tutorial/testdata/project
getting-started/testdata/project
multiversion-tutorial/testdata/project
pkg/plugins/golang/v4/scaffolds/internal/templates Expand file tree Collapse file tree 7 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
7171# - CERT_MANAGER_INSTALL_SKIP=true
7272.PHONY : test-e2e
7373test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
74- @command -v kind > /dev/null 2>&1 || { \
74+ @command -v $( KIND ) > /dev/null 2>&1 || { \
7575 echo " Kind is not installed. Please install Kind manually." ; \
7676 exit 1; \
7777 }
78- @kind get clusters | grep -q ' kind' || { \
78+ @$( KIND ) get clusters | grep -q ' kind' || { \
7979 echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
8080 exit 1; \
8181 }
@@ -169,6 +169,7 @@ $(LOCALBIN):
169169
170170# # Tool Binaries
171171KUBECTL ?= kubectl
172+ KIND ?= kind
172173KUSTOMIZE ?= $(LOCALBIN ) /kustomize
173174CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
174175ENVTEST ?= $(LOCALBIN ) /setup-envtest
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
6767# - CERT_MANAGER_INSTALL_SKIP=true
6868.PHONY : test-e2e
6969test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70- @command -v kind > /dev/null 2>&1 || { \
70+ @command -v $( KIND ) > /dev/null 2>&1 || { \
7171 echo " Kind is not installed. Please install Kind manually." ; \
7272 exit 1; \
7373 }
74- @kind get clusters | grep -q ' kind' || { \
74+ @$( KIND ) get clusters | grep -q ' kind' || { \
7575 echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
7676 exit 1; \
7777 }
@@ -165,6 +165,7 @@ $(LOCALBIN):
165165
166166# # Tool Binaries
167167KUBECTL ?= kubectl
168+ KIND ?= kind
168169KUSTOMIZE ?= $(LOCALBIN ) /kustomize
169170CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
170171ENVTEST ?= $(LOCALBIN ) /setup-envtest
Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
7171# - CERT_MANAGER_INSTALL_SKIP=true
7272.PHONY : test-e2e
7373test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
74- @command -v kind > /dev/null 2>&1 || { \
74+ @command -v $( KIND ) > /dev/null 2>&1 || { \
7575 echo " Kind is not installed. Please install Kind manually." ; \
7676 exit 1; \
7777 }
78- @kind get clusters | grep -q ' kind' || { \
78+ @$( KIND ) get clusters | grep -q ' kind' || { \
7979 echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
8080 exit 1; \
8181 }
@@ -169,6 +169,7 @@ $(LOCALBIN):
169169
170170# # Tool Binaries
171171KUBECTL ?= kubectl
172+ KIND ?= kind
172173KUSTOMIZE ?= $(LOCALBIN ) /kustomize
173174CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
174175ENVTEST ?= $(LOCALBIN ) /setup-envtest
Original file line number Diff line number Diff line change @@ -146,11 +146,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
146146# - CERT_MANAGER_INSTALL_SKIP=true
147147.PHONY: test-e2e
148148test-e2e: manifests generate fmt vet ## Run the e2e tests. Expected an isolated environment using Kind.
149- @command -v kind >/dev/null 2>&1 || { \
149+ @command -v $(KIND) >/dev/null 2>&1 || { \
150150 echo "Kind is not installed. Please install Kind manually."; \
151151 exit 1; \
152152 }
153- @kind get clusters | grep -q 'kind' || { \
153+ @$(KIND) get clusters | grep -q 'kind' || { \
154154 echo "No Kind cluster is running. Please start a Kind cluster before running the e2e tests."; \
155155 exit 1; \
156156 }
@@ -244,6 +244,7 @@ $(LOCALBIN):
244244
245245## Tool Binaries
246246KUBECTL ?= kubectl
247+ KIND ?= kind
247248KUSTOMIZE ?= $(LOCALBIN)/kustomize
248249CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
249250ENVTEST ?= $(LOCALBIN)/setup-envtest
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
6767# - CERT_MANAGER_INSTALL_SKIP=true
6868.PHONY : test-e2e
6969test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70- @command -v kind > /dev/null 2>&1 || { \
70+ @command -v $( KIND ) > /dev/null 2>&1 || { \
7171 echo " Kind is not installed. Please install Kind manually." ; \
7272 exit 1; \
7373 }
74- @kind get clusters | grep -q ' kind' || { \
74+ @$( KIND ) get clusters | grep -q ' kind' || { \
7575 echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
7676 exit 1; \
7777 }
@@ -165,6 +165,7 @@ $(LOCALBIN):
165165
166166# # Tool Binaries
167167KUBECTL ?= kubectl
168+ KIND ?= kind
168169KUSTOMIZE ?= $(LOCALBIN ) /kustomize
169170CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
170171ENVTEST ?= $(LOCALBIN ) /setup-envtest
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
6767# - CERT_MANAGER_INSTALL_SKIP=true
6868.PHONY : test-e2e
6969test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70- @command -v kind > /dev/null 2>&1 || { \
70+ @command -v $( KIND ) > /dev/null 2>&1 || { \
7171 echo " Kind is not installed. Please install Kind manually." ; \
7272 exit 1; \
7373 }
74- @kind get clusters | grep -q ' kind' || { \
74+ @$( KIND ) get clusters | grep -q ' kind' || { \
7575 echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
7676 exit 1; \
7777 }
@@ -165,6 +165,7 @@ $(LOCALBIN):
165165
166166# # Tool Binaries
167167KUBECTL ?= kubectl
168+ KIND ?= kind
168169KUSTOMIZE ?= $(LOCALBIN ) /kustomize
169170CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
170171ENVTEST ?= $(LOCALBIN ) /setup-envtest
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
6767# - CERT_MANAGER_INSTALL_SKIP=true
6868.PHONY : test-e2e
6969test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70- @command -v kind > /dev/null 2>&1 || { \
70+ @command -v $( KIND ) > /dev/null 2>&1 || { \
7171 echo " Kind is not installed. Please install Kind manually." ; \
7272 exit 1; \
7373 }
74- @kind get clusters | grep -q ' kind' || { \
74+ @$( KIND ) get clusters | grep -q ' kind' || { \
7575 echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
7676 exit 1; \
7777 }
@@ -165,6 +165,7 @@ $(LOCALBIN):
165165
166166# # Tool Binaries
167167KUBECTL ?= kubectl
168+ KIND ?= kind
168169KUSTOMIZE ?= $(LOCALBIN ) /kustomize
169170CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
170171ENVTEST ?= $(LOCALBIN ) /setup-envtest
You can’t perform that action at this time.
0 commit comments