diff options
| author | Alban Peignier | 2016-11-27 15:16:12 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2016-11-27 15:16:12 +0100 | 
| commit | c06535f7f71b302d844de8de019953d282ffcf9a (patch) | |
| tree | af39c8234fbb520af08191d1088888992d4c548a /lib/tasks | |
| parent | 51034e39f03a50d073d7aaeda9cbd119f4507130 (diff) | |
| download | chouette-core-c06535f7f71b302d844de8de019953d282ffcf9a.tar.bz2 | |
Integrate bundle-audit. Add ci:check_security. Refs #2068
Diffstat (limited to 'lib/tasks')
| -rw-r--r-- | lib/tasks/ci.rake | 5 | 
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" | 
