File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -201,12 +201,12 @@ cluster-api/tilt-settings.json: hack/tilt-settings.json cluster-api
201
201
202
202
# #@ End-to-End Testing
203
203
204
- CLOUDSTACK_TEMPLATES := $( PROJECT_DIR ) / test/e2e/data/infrastructure-cloudstack/v1beta1/
205
- CLUSTER_TEMPLATES_INPUTS =$(shell find $( CLOUDSTACK_TEMPLATES ) -type d -name "cluster* " )
206
- e2e-cluster-templates : bin/kustomize $( CLOUDSTACK_TEMPLATES ) /.templateflag.mk # # Generate cluster template files for e2e testing.
207
- $( CLOUDSTACK_TEMPLATES ) /.templateflag.mk : $(CLUSTER_TEMPLATES_INPUTS )
208
- $( shell find $( CLOUDSTACK_TEMPLATES ) -type d -name " cluster* " -exec bash -c " bin/kustomize build --load-restrictor LoadRestrictionsNone {} > {}.yaml" \; )
209
- @touch $( CLOUDSTACK_TEMPLATES ) /.templateflag.mk
204
+ CLUSTER_TEMPLATES_INPUT_FILES = $( shell find test/e2e/data/infrastructure-cloudstack/* /cluster-template * / * -type f)
205
+ CLUSTER_TEMPLATES_OUTPUT_FILES =$(shell find test/e2e/data/infrastructure-cloudstack -type d -name "cluster-template * " -exec echo {}.yaml \; )
206
+ .PHONY : cluster-templates
207
+ cluster-templates : $(CLUSTER_TEMPLATES_OUTPUT_FILES ) # # Generate cluster template files for e2e testing.
208
+ cluster-template % yaml : bin/kustomize $( CLUSTER_TEMPLATES_INPUT_FILES )
209
+ kustomize build --load-restrictor LoadRestrictionsNone $( basename $@ ) > $@
210
210
211
211
e2e-essentials : bin/ginkgo e2e-cluster-templates kind-cluster # # Fulfill essential tasks for e2e testing.
212
212
IMG=$(IMG_LOCAL ) make manifests docker-build docker-push
You can’t perform that action at this time.
0 commit comments