From 750c7acf5666333eddb1619426cc039807eb1b25 Mon Sep 17 00:00:00 2001 From: Mateusz Pilat Date: Fri, 15 May 2020 12:19:48 +0200 Subject: Fix: make all - returns multiple warnings Issue-ID: OOM-2412 Signed-off-by: Mateusz Pilat Change-Id: I7d02ebc6aa43a8e8aa89cea7860bba6b55723fa9 (cherry picked from commit 613343a914d86c84cf3e8bad12584a44b45d6ae2) --- kubernetes/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'kubernetes/Makefile') 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) -- cgit 1.2.3-korg