aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/Makefile
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-07-22 14:02:03 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-07-22 14:02:07 +0200
commit21731c96c5f92dedb9019ca2abbe4686998bba77 (patch)
treeed2588e7b118a185e7031160d71e268a22e10f94 /kubernetes/Makefile
parent68971c446a8f7dc2b0a9a39f354bd329c67fab9f (diff)
[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
Diffstat (limited to 'kubernetes/Makefile')
-rw-r--r--kubernetes/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/Makefile b/kubernetes/Makefile
index ee9e8d980b..b25381fd81 100644
--- a/kubernetes/Makefile
+++ b/kubernetes/Makefile
@@ -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