[GLOBAL] Add sleep 3 to avoid race condition
We are facing some random failures in our gating due to race condition
between our makefile and helm startup. To prevent that let's add a
sleep 3 after helm serve.
Yes we realize that it's not the proper solution but it's an easy win
which is very readable compared to placing a proper solution in the makefile.
Issue-ID: OOM-2511
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: If6b3332ea9f51e997f2a6057fff9d481b425104a
diff --git a/kubernetes/Makefile b/kubernetes/Makefile
index ee9e8d9..b25381f 100644
--- a/kubernetes/Makefile
+++ b/kubernetes/Makefile
@@ -81,6 +81,7 @@
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