Add Makefile to test integrations

Signed-off-by: leigh capili <leigh@null.net>
pull/1469/head
leigh capili 4 years ago
parent 7265276cc2
commit 3a74fcd75c
No known key found for this signature in database
GPG Key ID: 59432144444FB382

@ -0,0 +1,14 @@
bases := $(shell dirname $(shell find | grep kustomization.yaml | sort))
all: $(bases)
permutations := $(bases) $(addsuffix /,$(bases))
.PHONY: $(permutations)
$(permutations):
@echo $@
@warnings=$$(kustomize build $@ -o /dev/null 2>&1); \
if [ "$$warnings" ]; then \
echo "$$warnings"; \
false; \
fi
Loading…
Cancel
Save