[GLOBAL] Add sleep 3 to avoid race condition
[oom.git] / kubernetes / Makefile
index faa96df..b25381f 100644 (file)
@@ -28,7 +28,7 @@ endif
 
 SUBMODS := robot aai
 EXCLUDES := config oneclick readiness test dist helm $(PARENT_CHART) dcae $(SUBMODS)
-HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.)))) $(SUBMODS) $(PARENT_CHART)
+HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.)))) $(PARENT_CHART)
 
 .PHONY: $(EXCLUDES) $(HELM_CHARTS)
 
@@ -81,6 +81,7 @@ plugins:
 repo:
        @mkdir -p $(PACKAGE_DIR)
        @helm serve --repo-path $(PACKAGE_DIR) &
+       @sleep 3
        @helm repo index $(PACKAGE_DIR)
        @helm repo add local http://127.0.0.1:8879