From b7073662ed7215d6668750792c11b079b61f6969 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Thu, 4 Jun 2020 16:12:53 +0200 Subject: [PATCH] Install latest yamllint from Debian testing Needed for https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/47628 --- scripts/install-www-gitlab-com | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/install-www-gitlab-com b/scripts/install-www-gitlab-com index cf04f60..871a05d 100755 --- a/scripts/install-www-gitlab-com +++ b/scripts/install-www-gitlab-com @@ -11,7 +11,7 @@ apt-get install -yq --no-install-recommends \ make gcc g++ locales \ rsync git-core texlive-latex-recommended texlive-xetex \ texlive-fonts-recommended lmodern ed file curl gnupg2 \ - yamllint python3-pkg-resources unzip + unzip # Install pandoc cd /tmp @@ -34,6 +34,14 @@ NODE_INSTALL_VERSION=12.4.0 YARN_INSTALL_VERSION=1.21.1-1 /scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version +# Install yamllint +# We need the latest version +# https://packages.debian.org/testing/yamllint +YAMLLINT_VERSION=1.23.0 +echo "deb http://deb.debian.org/debian testing main" | tee -a /etc/apt/sources.list.d/testing.list +apt update +apt -t testing install -yq yamllint=${YAMLLINT_VERSION}-1 + # Install gitlab-runner curl -O -J -L https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-amd64 mv gitlab-ci-multi-runner-linux-amd64 /usr/bin/gitlab-runner-helper