From: Lott, Christopher (cl778h) Date: Tue, 6 Aug 2019 12:46:35 +0000 (-0400) Subject: Get helm installer script directly and with retries X-Git-Tag: 0.0.2~38 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=5e94a66d5dc9ec584ab7b40f5ac983b724b2119b;p=it%2Fdep.git 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 --- 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