summaryrefslogtreecommitdiffstats
path: root/kubernetes/Makefile
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-07-06 14:23:05 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-06 14:23:05 +0000
commitcb620a1ee425cde2395bda686af0200746461429 (patch)
tree0a0670be468a147fda4b53f9fe3b99e7cc41776b /kubernetes/Makefile
parent3eff563da598b088d97609fc384ffe014098025b (diff)
parent750c7acf5666333eddb1619426cc039807eb1b25 (diff)
Merge "Fix: make all - returns multiple warnings" into elalto
Diffstat (limited to 'kubernetes/Makefile')
-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)