diff --git a/build.env b/build.env index e24529c2319..b462dc56968 100644 --- a/build.env +++ b/build.env @@ -34,6 +34,9 @@ SNAPSHOT_VERSION=v6.1.0 #TEST_COVERAGE=html #GO_COVER_DIR=_output/ +# URL for the script to install Helm +HELM_SCRIPT=https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 + # helm chart generation, testing and publishing HELM_VERSION=v3.10.1 diff --git a/deploy.sh b/deploy.sh index 0cc245a7ad1..5cd618895c5 100755 --- a/deploy.sh +++ b/deploy.sh @@ -104,7 +104,7 @@ CSI_CHARTS_DIR=$(mktemp -d) pushd "${CSI_CHARTS_DIR}" >/dev/null -curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" +curl -L "${HELM_SCRIPT}" | bash -s -- --version "${HELM_VERSION}" build_step "cloning ceph/csi-charts repository" git clone https://github.com/ceph/csi-charts diff --git a/scripts/Dockerfile.test b/scripts/Dockerfile.test index b3f218aa907..4efb764b95e 100644 --- a/scripts/Dockerfile.test +++ b/scripts/Dockerfile.test @@ -50,7 +50,7 @@ RUN source /build.env \ | tar xzf - -C ${GOROOT} --strip-components=1 \ && curl -sf "https://raw.githubusercontent.com/golangci/golangci-lint/${GOLANGCI_VERSION}/install.sh" \ | bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \ - && curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \ + && curl -L "${HELM_SCRIPT}" | bash -s -- --version "${HELM_VERSION}" \ && mkdir /opt/commitlint && pushd /opt/commitlint \ && npm init -y \ && npm install @commitlint/cli@"${COMMITLINT_VERSION}" \