summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-05-04 16:34:52 +0200
committerRémy Coutable <remy@rymai.me>2017-05-04 16:34:52 +0200
commit221dccab97766be810d87c6eb1d120145b41b364 (patch)
tree36b1604a2647e319f8ca66c241f0115c17d08d35
parent3441e60fd9d8d3ce111b1ece93ae867b3938f7e5 (diff)
downloadgitlab-ce-221dccab97766be810d87c6eb1d120145b41b364.tar.gz
Include the bundler:audit job into the static-analysis job31824-move-bundler-audit-job-to-static-analysis-job
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--.gitlab-ci.yml12
-rwxr-xr-xscripts/static-analysis1
2 files changed, 1 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7f665f19132..44620d390ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -412,18 +412,6 @@ rake karma:
paths:
- coverage-javascript/
-bundler:audit:
- stage: test
- <<: *ruby-static-analysis
- <<: *dedicated-runner
- only:
- - master@gitlab-org/gitlab-ce
- - master@gitlab-org/gitlab-ee
- - master@gitlab/gitlabhq
- - master@gitlab/gitlab-ee
- script:
- - "bundle exec bundle-audit check --update --ignore CVE-2016-4658"
-
.migration-paths: &migration-paths
stage: test
<<: *dedicated-runner
diff --git a/scripts/static-analysis b/scripts/static-analysis
index 1bd6b339830..7dc8f679036 100755
--- a/scripts/static-analysis
+++ b/scripts/static-analysis
@@ -3,6 +3,7 @@
require ::File.expand_path('../lib/gitlab/popen', __dir__)
tasks = [
+ %w[bundle exec bundle-audit check --update --ignore CVE-2016-4658],
%w[bundle exec rake config_lint],
%w[bundle exec rake flay],
%w[bundle exec rake haml_lint],