mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
ci: install Helm with script located on GitHub
Installing Helm fails often in the CI. The Helm documentation does not
point to `https://git.io/get_helm.sh` anymore, but to a location on
GitHub. To make it easier to update the location in the future, it has
now been added to `build.env`, just like the `HELM_VERSION`.
See-also: https://helm.sh/docs/intro/install/
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit bc167cc6f4
)
This commit is contained in:
committed by
mergify[bot]
parent
0ec6e10bf2
commit
9ec78a63f3
@ -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}" \
|
||||
|
Reference in New Issue
Block a user