mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Install latest yamllint from Debian testing
Needed for https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/47628
This commit is contained in:
parent
edb77d457d
commit
b7073662ed
1 changed files with 9 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ apt-get install -yq --no-install-recommends \
|
||||||
make gcc g++ locales \
|
make gcc g++ locales \
|
||||||
rsync git-core texlive-latex-recommended texlive-xetex \
|
rsync git-core texlive-latex-recommended texlive-xetex \
|
||||||
texlive-fonts-recommended lmodern ed file curl gnupg2 \
|
texlive-fonts-recommended lmodern ed file curl gnupg2 \
|
||||||
yamllint python3-pkg-resources unzip
|
unzip
|
||||||
|
|
||||||
# Install pandoc
|
# Install pandoc
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
@ -34,6 +34,14 @@ NODE_INSTALL_VERSION=12.4.0
|
||||||
YARN_INSTALL_VERSION=1.21.1-1
|
YARN_INSTALL_VERSION=1.21.1-1
|
||||||
/scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version
|
/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
|
# Install gitlab-runner
|
||||||
curl -O -J -L https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-amd64
|
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
|
mv gitlab-ci-multi-runner-linux-amd64 /usr/bin/gitlab-runner-helper
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue