summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-12-23 14:19:51 +0000
committerRémy Coutable <remy@rymai.me>2017-12-23 14:19:51 +0000
commit7fdb77625ec537010a08aef2ce8ea0bfded80495 (patch)
tree0fbcc62876801744998a12c1fc38326b670f9bda
parent0eaf1c524dd906caafa801cc03ad0e1c517d63f2 (diff)
parentef82cbef90c59a8d1d59f05d4acf75a2ecbb42c9 (diff)
downloadgitlab-ce-7fdb77625ec537010a08aef2ce8ea0bfded80495.tar.gz
Merge branch 'dz-add-sast' into 'master'
Remove security checks from static analysis and add sast job See merge request gitlab-org/gitlab-ce!16113
-rw-r--r--.gitlab-ci.yml8
-rwxr-xr-xscripts/static-analysis2
2 files changed, 8 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4b149b13178..6ca2fb471aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -600,6 +600,14 @@ codequality:
artifacts:
paths: [codeclimate.json]
+sast:
+ image: registry.gitlab.com/gitlab-org/gl-sast:latest
+ before_script: []
+ script:
+ - /app/bin/run .
+ artifacts:
+ paths: [gl-sast-report.json]
+
qa:internal:
<<: *dedicated-runner
<<: *except-docs
diff --git a/scripts/static-analysis b/scripts/static-analysis
index 51a2fd81a79..2a2bc67800d 100755
--- a/scripts/static-analysis
+++ b/scripts/static-analysis
@@ -3,12 +3,10 @@
require ::File.expand_path('../lib/gitlab/popen', __dir__)
tasks = [
- %w[bundle exec bundle-audit check --update],
%w[bundle exec rake config_lint],
%w[bundle exec rake flay],
%w[bundle exec rake haml_lint],
%w[bundle exec rake scss_lint],
- %w[bundle exec rake brakeman],
%w[bundle exec license_finder],
%w[yarn run eslint],
%w[bundle exec rubocop --parallel],