1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Add Makefile to test integrations

Signed-off-by: leigh capili <leigh@null.net>
This commit is contained in:
leigh capili
2021-06-01 11:55:55 -06:00
parent 7265276cc2
commit 3a74fcd75c

View File

@@ -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