Merge branch 'overhaul-danger' into 'master'

Maintain Danger image with Node.js 14 etc.

See merge request gitlab-org/gitlab-build-images!395
This commit is contained in:
Rémy Coutable 2021-04-21 08:21:42 +00:00
commit 954b621a79

View file

@ -1,13 +1,13 @@
FROM ruby:2.7.2-buster
FROM ruby:2.7.3
MAINTAINER GitLab Quality Team
# Danger manipulates git diff output. When an unicode char is present in the diff, it chokes with
# (Danger::DSLError) [!] Invalid `Dangerfile` file: invalid byte sequence in US-ASCII
# eg. https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/275286625
# eg. https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/275286625
ENV LC_ALL "C.UTF-8"
ENV NODE_VERSION=12.4.0
ENV YARN_VERSION=1.21.1-1
ENV NODE_VERSION=14.16.1
ENV YARN_VERSION=1.22.5-1
ENV GITLAB_GEM_VERSION=4.16.1
ENV DANGER_GEM_VERSION=8.2.2
ENV DANGER_GITLAB_GEM_VERSION=8.0.0
@ -17,7 +17,7 @@ ADD /scripts/ /scripts/
RUN apt-get update \
&& apt-get install -y git \
&& /scripts/install-node ${NODE_VERSION} ${YARN_VERSION} \
&& yarn global add alex@7 \
&& yarn global add alex@9 \
&& yarn cache clean \
&& apt-get autoremove -yq \
&& apt-get clean -yqq \