aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-09-06 06:02:08 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-06 06:02:08 +0000
commit02be1623b5ac5b492a436406ecd3bbd64fd8ba2d (patch)
tree651f316713a044fc086e130e8f6a982bd2cb1a84 /kubernetes
parent3980a8cbeb63c885b123ac50033e32ed996bb39a (diff)
parent9d3a2e5b7a5369c84b007c6d654c2a6c545619a7 (diff)
Merge "[DCAE] Make sure to update index.yaml after pushing all components"
Diffstat (limited to 'kubernetes')
-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
+
%:
@: