mirror of https://github.com/fluxcd/flux2.git
Add Makefile to test integrations
Signed-off-by: leigh capili <leigh@null.net>pull/1469/head
parent
7265276cc2
commit
3a74fcd75c
@ -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…
Reference in New Issue