summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-23 15:51:39 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-23 15:51:39 +0000
commit36f7b624be0926b45b6a45aabea2beecfba72e50 (patch)
tree25bda1966e21b3c183788b71f2d552ff4964edde
parentf84fb819701ab052e2192a24f1aff9fc7bc61b8b (diff)
parentb6ed935dcddef1b458b3431dae7a1e8e250e081f (diff)
downloadgitlab-ce-36f7b624be0926b45b6a45aabea2beecfba72e50.tar.gz
Merge branch 'bundler-audit' into 'master'
Add bundler-audit to CI Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> cc @DouweM @rspeicher @vsizov See merge request !1874
-rw-r--r--.gitlab-ci.yml9
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock4
3 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94753093540..e8290fb36b2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,3 +87,12 @@ flay:
tags:
- ruby
- mysql
+
+bundler:audit:
+ script:
+ - "bundle exec bundle-audit update"
+ - "bundle exec bundle-audit check"
+ tags:
+ - ruby
+ - mysql
+ allow_failure: true
diff --git a/Gemfile b/Gemfile
index 98890108562..bd8e9bd8fa1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -261,6 +261,7 @@ group :development, :test do
gem 'simplecov', '~> 0.10.0', require: false
gem 'flog', require: false
gem 'flay', require: false
+ gem 'bundler-audit', require: false
gem 'benchmark-ips', require: false
end
diff --git a/Gemfile.lock b/Gemfile.lock
index 8dd49bcf968..448941cfc8d 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -90,6 +90,9 @@ GEM
bullet (4.14.9)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.9.0)
+ bundler-audit (0.4.0)
+ bundler (~> 1.2)
+ thor (~> 0.18)
byebug (6.0.2)
cal-heatmap-rails (0.0.1)
capybara (2.4.4)
@@ -802,6 +805,7 @@ DEPENDENCIES
brakeman (= 3.0.1)
browser (~> 1.0.0)
bullet
+ bundler-audit
byebug
cal-heatmap-rails (~> 0.0.1)
capybara (~> 2.4.0)