Skip to content
Snippets Groups Projects
Commit 876fab56 authored by Tarun Khandelwal's avatar Tarun Khandelwal
Browse files

Merge branch 'renovate-mise-install' into 'main'

fix: install a specific mise_version instead of latest in renovate image

See merge request gitlab-com/gl-infra/common-ci-tasks!932
parents 539a6b6e 1e0d7018
No related branches found
No related tags found
No related merge requests found
Pipeline #24984566 failed
Loading
Loading
@@ -13,8 +13,11 @@ ARG GL_COMMON_RENOVATE_NODEJS_VERSION
ARG GL_COMMON_RENOVATE_RUBY_VERSION
ARG GL_COMMON_RENOVATE_YARN_VERSION
ARG GL_COMMON_RENOVATE_PYTHON_VERSION
ARG GL_COMMON_RENOVATE_MISE_VERSION
 
ENV DEBIAN_FRONTEND=noninteractive
ARG MISE_INSTALL_PATH=/bin/mise
ARG MISE_VERSION=v${GL_COMMON_RENOVATE_MISE_VERSION}
ENV ASDF_DIR=/asdf
 
# Install post-upgrade script
Loading
Loading
@@ -47,8 +50,7 @@ RUN apt-get update \
&& git clone https://github.com/asdf-vm/asdf.git "${ASDF_DIR}" \
 
# Install mise
&& curl https://mise.jdx.dev/mise-latest-linux-x64 > /bin/mise && chmod 755 /bin/mise \
&& curl -sSL -o ${MISE_INSTALL_PATH} https://github.com/jdx/mise/releases/download/${MISE_VERSION}/mise-${MISE_VERSION}-linux-x64 && chmod 755 ${MISE_INSTALL_PATH} \
# Try install renovate with a retry
&& npm install -g renovate || npm install -g renovate \
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment