ci: use Helm 3.1.2 in test container

By default a version of Helm is used that does not want to get
installed. Using the same version as the devel branch makes the testing
work again.

See-also: helm/helm#9617
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-04-19 16:08:09 +02:00 committed by mergify[bot]
parent b5aa0b11d7
commit 955559a235

View File

@ -13,6 +13,7 @@ FROM fedora:latest
ARG GOLANGCI_VERSION=v1.21.0 ARG GOLANGCI_VERSION=v1.21.0
ARG GOSEC_VERSION=2.0.0 ARG GOSEC_VERSION=2.0.0
ARG GOPATH=/go ARG GOPATH=/go
ARG HELM_VERSION=v3.1.2
ENV \ ENV \
GOPATH=${GOPATH} \ GOPATH=${GOPATH} \
@ -37,7 +38,7 @@ RUN dnf -y install \
| bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \ | bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \
&& curl -sfL "https://raw.githubusercontent.com/securego/gosec/master/install.sh" \ && curl -sfL "https://raw.githubusercontent.com/securego/gosec/master/install.sh" \
| sh -s -- -b $GOPATH/bin "${GOSEC_VERSION}" \ | sh -s -- -b $GOPATH/bin "${GOSEC_VERSION}" \
&& curl -L https://git.io/get_helm.sh | bash \ && curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \
&& mkdir /opt/commitlint && pushd /opt/commitlint \ && mkdir /opt/commitlint && pushd /opt/commitlint \
&& npm init -y \ && npm init -y \
&& npm install @commitlint/cli \ && npm install @commitlint/cli \