aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlban Peignier2016-11-27 15:16:12 +0100
committerAlban Peignier2016-11-27 15:16:12 +0100
commitc06535f7f71b302d844de8de019953d282ffcf9a (patch)
treeaf39c8234fbb520af08191d1088888992d4c548a /lib
parent51034e39f03a50d073d7aaeda9cbd119f4507130 (diff)
downloadchouette-core-c06535f7f71b302d844de8de019953d282ffcf9a.tar.bz2
Integrate bundle-audit. Add ci:check_security. Refs #2068
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/ci.rake5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 2b584c08b..e1d0e87a4 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -22,6 +22,11 @@ namespace :ci do
git_branch.in?(deploy_envs) ? git_branch : "dev"
end
+ desc "Check security aspects"
+ task :check_security do
+ sh "bundle exec bundle-audit check --update"
+ end
+
desc "Deploy after CI"
task :deploy do
sh "cap #{deploy_env} deploy:migrations deploy:seed"