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=refs%2Fchanges%2F45%2F645%2F1;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