@@ -198,7 +198,7 @@ generate: controller-gen
198
198
# end-to-tests
199
199
.PHONY : e2e
200
200
e2e : chainsaw
201
- chainsaw test --test-dir ./tests/e2e
201
+ $( CHAINSAW ) test --test-dir ./tests/e2e
202
202
203
203
# end-to-end-test for testing autoscale
204
204
.PHONY : e2e-autoscale
@@ -248,10 +248,10 @@ e2e-upgrade: undeploy chainsaw
248
248
$(CHAINSAW ) test --test-dir ./tests/e2e-upgrade
249
249
250
250
.PHONY : prepare-e2e
251
- prepare-e2e : set-image-controller add-image-targetallocator add-image-opampbridge container container-target-allocator container-operator-opamp-bridge start-kind cert-manager install-metrics-server install-targetallocator-prometheus-crds load-image-all deploy
251
+ prepare-e2e : chainsaw set-image-controller add-image-targetallocator add-image-opampbridge container container-target-allocator container-operator-opamp-bridge start-kind cert-manager install-metrics-server install-targetallocator-prometheus-crds load-image-all deploy
252
252
253
253
.PHONY : prepare-e2e-with-featuregates
254
- prepare-e2e-with-featuregates : enable-operator-featuregates prepare-e2e
254
+ prepare-e2e-with-featuregates : chainsaw enable-operator-featuregates prepare-e2e
255
255
256
256
.PHONY : scorecard-tests
257
257
scorecard-tests : operator-sdk
@@ -371,7 +371,7 @@ KIND_VERSION ?= v0.20.0
371
371
ifneq ($(shell which chainsaw) ,)
372
372
CHAINSAW ?= $(shell which chainsaw)
373
373
else
374
- CHAINSAW ?= $(LOCALBIN ) /bin/ chainsaw
374
+ CHAINSAW ?= $(LOCALBIN ) /chainsaw
375
375
endif
376
376
377
377
.PHONY : install-tools
@@ -409,7 +409,7 @@ chainsaw: ## Find or download chainsaw
409
409
ifeq (, $(shell which chainsaw) )
410
410
@{ \
411
411
set -e ;\
412
- go install github.com/kyverno/
[email protected] .
3 ;\
412
+ go install github.com/kyverno/
[email protected] .
4 ;\
413
413
}
414
414
CHAINSAW ?= $(GOBIN ) /chainsaw
415
415
else
0 commit comments