Get helm installer script directly and with retries 45/645/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 6 Aug 2019 12:46:35 +0000 (08:46 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 6 Aug 2019 12:46:35 +0000 (08:46 -0400)
This is a workaround for timeouts during Jenkins builds.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I7f6cb99b25ed0739d6484b0ddc1ba19f41d72bba

ci/Dockerfile

index cd5ad00..a28adb6 100644 (file)
@@ -19,7 +19,8 @@
 FROM ubuntu:18.04
 RUN apt-get update && apt-get -y install curl
 ARG GH=get_helm.sh
-RUN curl --silent --show-error -L https://git.io/${GH} -o ${GH}
+# often times out during LF jenkins build
+RUN curl --silent --show-error --connect-timeout 10 --retry 6 -L https://raw.githubusercontent.com/helm/helm/master/scripts/get -o ${GH}
 RUN bash ${GH}
 RUN helm init -c
 ARG TGT=/tmp/it-dep