Add a custom Docker image for Danger jobs

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-07-26 12:58:30 +02:00
parent fbe99ba4cc
commit b74990fdd5
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B
11 changed files with 16 additions and 9 deletions

View file

@ -95,6 +95,7 @@ node-8.9-chrome-63.0-yarn-1.2 test: *test_custom
# Used by https://gitlab.com/gitlab-org/distribution/gitlab-provisioner/
ruby-2.3-ansible-2.5.1-terraform-0.11 test: *test_custom
danger test: *test_build
gitlab-charts-build-base test: *test_build
gitlab-qa test: *test_build
omnibus-gitlab-bionic test: *test_build
@ -157,6 +158,7 @@ golang-1.10-git-2.17: *build_and_deploy_custom
# Used by https://gitlab.com/gitlab-org/distribution/gitlab-provisioner/
ruby-2.3-ansible-2.5.1-terraform-0.11: *build_and_deploy_custom
danger: *build_and_deploy
gitlab-charts-build-base: *build_and_deploy
gitlab-qa: *build_and_deploy
omnibus-gitlab-bionic: *build_and_deploy

5
Dockerfile.danger Normal file
View file

@ -0,0 +1,5 @@
FROM ruby:2.4.4-alpine
MAINTAINER GitLab Quality Team
RUN apk update && apk upgrade && apk add --no-cache git
RUN gem install danger-gitlab --no-document

View file

@ -18,4 +18,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -17,4 +17,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -17,4 +17,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -18,4 +18,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -18,4 +18,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -19,4 +19,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -12,4 +12,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -18,4 +18,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document

View file

@ -18,4 +18,4 @@ RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-${RUBY_VERSION}.ta
&& make \
&& make install
RUN gem install bundler
RUN gem install bundler --no-document