diff --git a/build.env b/build.env index f113a323c..a5ed3056a 100644 --- a/build.env +++ b/build.env @@ -19,6 +19,9 @@ CEPH_VERSION=octopus GOLANG_VERSION=1.16.4 GO111MODULE=on +# commitlint version +COMMITLINT_VERSION=12.1.4 + # static checks and linters GOLANGCI_VERSION=v1.39.0 GOSEC_VERSION=v2.7.0 diff --git a/scripts/Dockerfile.test b/scripts/Dockerfile.test index e1bc3dad7..0178594a6 100644 --- a/scripts/Dockerfile.test +++ b/scripts/Dockerfile.test @@ -44,7 +44,7 @@ RUN source /build.env \ && curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \ && mkdir /opt/commitlint && pushd /opt/commitlint \ && npm init -y \ - && npm install @commitlint/cli \ + && npm install @commitlint/cli@"${COMMITLINT_VERSION}" \ && popd \ && true