mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
Add Makefile to test integrations
Signed-off-by: leigh capili <leigh@null.net>
This commit is contained in:
parent
7265276cc2
commit
3a74fcd75c
1 changed files with 14 additions and 0 deletions
14
manifests/integrations/Makefile
Normal file
14
manifests/integrations/Makefile
Normal 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
|
||||||
Loading…
Reference in a new issue