summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/components
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-07-29 22:49:54 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-08-03 19:45:51 +0000
commit9d3a2e5b7a5369c84b007c6d654c2a6c545619a7 (patch)
treee5c310d505c183937a013c3c95b1130df36ac603 /kubernetes/dcaegen2-services/components
parent4e6d4867f5d12620b140ac795d62a74a34f2a8d0 (diff)
[DCAE] Make sure to update index.yaml after pushing all components
As helm may cache the index.yaml from the server let's force it to update it after we push all dcae services to be sure that the building process of umbrella chart is able to find them. Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ie9717bc7c57176ade912bf35f48ac97f13f3e338
Diffstat (limited to 'kubernetes/dcaegen2-services/components')
-rw-r--r--kubernetes/dcaegen2-services/components/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2-services/components/Makefile b/kubernetes/dcaegen2-services/components/Makefile
index 98dfb97f8f..284f99de6b 100644
--- a/kubernetes/dcaegen2-services/components/Makefile
+++ b/kubernetes/dcaegen2-services/components/Makefile
@@ -26,7 +26,7 @@ HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.)
.PHONY: $(EXCLUDES) $(HELM_CHARTS)
-all: $(HELM_CHARTS)
+all: $(HELM_CHARTS) helm-repo-update
$(HELM_CHARTS):
@echo "\n[$@]"
@@ -50,5 +50,11 @@ clean:
@rm -f */requirements.lock
@rm -f *tgz */charts/*tgz
@rm -rf $(PACKAGE_DIR)
+
+helm-repo-update:
+ifeq "$(findstring v3,$(HELM_VER))" "v3"
+ @$(HELM_BIN) repo update
+endif
+
%:
@: