[GENERAL] Print helm binary used 58/117858/3
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 15 Feb 2021 15:16:23 +0000 (16:16 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 18 Feb 2021 18:11:16 +0000 (19:11 +0100)
In order to know which helm binary is used, print it at start of global
Makefile

Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I2361feb2b28e55b8adfb5b8620e4fa49480674bd

kubernetes/Makefile

index ef913e3..d994397 100644 (file)
@@ -45,7 +45,7 @@ HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.)
 
 .PHONY: $(EXCLUDES) $(HELM_CHARTS) check-for-staging-images
 
-all: $(COMMON_CHARTS_DIR) $(SUBMODS) $(HELM_CHARTS) helm-repo-update plugins
+all: print_helm_bin $(COMMON_CHARTS_DIR) $(SUBMODS) $(HELM_CHARTS) helm-repo-update plugins
 
 $(COMMON_CHARTS):
        @echo "\n[$@]"
@@ -66,6 +66,8 @@ submod-%:
 %/requirements.yaml:
        $(error Submodule $* needs to be retrieved from gerrit.  See https://wiki.onap.org/display/DW/OOM+-+Development+workflow+after+code+transfer+to+tech+teams ); fi
 
+print_helm_bin:
+       $(info Using Helm binary ${HELM_BIN} which is helm version ${HELM_VER})
 
 make-%:
        @if [ -f $*/Makefile ]; then make -C $*; fi