From 3a74fcd75cc11608a92142adfb1be8cd086e2b1c Mon Sep 17 00:00:00 2001
From: leigh capili <leigh@null.net>
Date: Tue, 1 Jun 2021 11:55:55 -0600
Subject: [PATCH] Add Makefile to test integrations

Signed-off-by: leigh capili <leigh@null.net>
---
 manifests/integrations/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 manifests/integrations/Makefile

diff --git a/manifests/integrations/Makefile b/manifests/integrations/Makefile
new file mode 100644
index 00000000..ebe8d320
--- /dev/null
+++ b/manifests/integrations/Makefile
@@ -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
-- 
GitLab