summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMateusz Pilat <m.pilat@partner.samsung.com>2020-05-15 12:19:48 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-03 06:30:45 +0000
commit750c7acf5666333eddb1619426cc039807eb1b25 (patch)
tree1180adb1b8e93e596c4b6f34c6c6ad1c8ef29f17 /kubernetes
parent1ba556dfafe98d298630d997251de8331528d975 (diff)
Fix: make all - returns multiple warnings
Issue-ID: OOM-2412 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: I7d02ebc6aa43a8e8aa89cea7860bba6b55723fa9 (cherry picked from commit 613343a914d86c84cf3e8bad12584a44b45d6ae2)
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/kubernetes/Makefile b/kubernetes/Makefile
index fa63bd8942..38fbf4f141 100644
--- a/kubernetes/Makefile
+++ b/kubernetes/Makefile
@@ -20,8 +20,15 @@ OUTPUT_DIR := $(ROOT_DIR)/dist
PACKAGE_DIR := $(OUTPUT_DIR)/packages
SECRET_DIR := $(OUTPUT_DIR)/secrets
-EXCLUDES := config oneclick readiness test dist helm $(PARENT_CHART) dcae
-HELM_CHARTS := $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.))) $(PARENT_CHART)
+ifneq ($(SKIP_LINT),TRUE)
+ HELM_LINT_CMD := helm lint
+else
+ HELM_LINT_CMD := echo "Skipping linting of"
+endif
+
+SUBMODS := robot aai
+EXCLUDES := config oneclick readiness test dist helm $(PARENT_CHART) dcae $(SUBMODS)
+HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.)))) $(PARENT_CHART)
.PHONY: $(EXCLUDES) $(HELM_CHARTS)