From 5e94a66d5dc9ec584ab7b40f5ac983b724b2119b Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Tue, 6 Aug 2019 08:46:35 -0400 Subject: [PATCH] Get helm installer script directly and with retries This is a workaround for timeouts during Jenkins builds. Signed-off-by: Lott, Christopher (cl778h) Change-Id: I7f6cb99b25ed0739d6484b0ddc1ba19f41d72bba --- ci/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index cd5ad000..a28adb6c 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -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 -- 2.16.6