Update debian from buster to bullseye in www-gitlab-com

to update yamllint from 1.25.0 to 1.26.0-2

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2022-08-14 09:04:32 +00:00
parent ec6bf89cf6
commit 8fdc02afff
2 changed files with 2 additions and 10 deletions

View file

@ -13,8 +13,7 @@ function build_debian() {
make gcc g++ locales \
rsync git-core \
ed file curl gnupg2 \
unzip \
python3 python3-pip python3-crcmod python-minimal \
yamllint unzip \
patch
# Install Imagemagick for cropping the pictures on the team page
@ -25,13 +24,6 @@ function build_debian() {
YARN_INSTALL_VERSION=1.22.10
/scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version
# Install yamllint
# We need version 1.25.0+: https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst
YAMLLINT_VERSION=1.25.0
# Temporarily pin pyyaml and pathspec to reduce compatibility with packages from Debian bullseye (testing)
pip3 install yamllint==${YAMLLINT_VERSION} pyyaml==5.4.1 pathspec==0.8.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