From 9d3a2e5b7a5369c84b007c6d654c2a6c545619a7 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Thu, 29 Jul 2021 22:49:54 +0200 Subject: [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 Change-Id: Ie9717bc7c57176ade912bf35f48ac97f13f3e338 --- kubernetes/dcaegen2-services/components/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kubernetes/dcaegen2-services/components') 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 + %: @: -- cgit 1.2.3-korg