Skip dapper targets if status is clean
In order to reduce the churn of unnecessary tasks, only perform these
make targets when we're not trying to clean the e2e tests.
@@ -16,7 +16,9 @@ TARGETS := $(shell ls scripts | grep -v dapper-image)
@mv .dapper.tmp .dapper
dapper-image: .dapper
+ifneq ($(status),clean)
./.dapper -m bind dapper-image
+endif
shell:
./.dapper -m bind -s
@@ -25,7 +27,9 @@ $(TARGETS): .dapper dapper-image vendor/modules.txt
DAPPER_ENV="OPERATOR_IMAGE" ./.dapper -m bind $@ --status $(status) --k8s_version $(version) --logging $(logging) --kubefed $(kubefed) --deploytool $(deploytool) --globalnet $(globalnet) --build_debug $(build_debug)
vendor/modules.txt: .dapper go.mod
+ifneq ($(status),clean)
./.dapper -m bind vendor
+endif
.DEFAULT_GOAL := ci
