summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-02-05 15:36:06 +0000
committerRobert Speicher <robert@gitlab.com>2018-02-05 15:36:06 +0000
commite102be67bb648ebe265d7d7a1c91a491f9048213 (patch)
tree51ad0c3077cfd1fdba5da8fe00fc4af871bf5be0
parentd99e07c7eabd3297d4011afd2c00a94ed9d8db5a (diff)
parent7270859b5a33d564df808d9efeccdf7459e128b2 (diff)
downloadgitlab-shell-e102be67bb648ebe265d7d7a1c91a491f9048213.tar.gz
Merge branch 'dz-add-sast' into 'master'
Add SAST job to .gitlab-ci.yml See merge request gitlab-org/gitlab-shell!188
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c04e7f8..18648f8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,3 +71,11 @@ codeclimate:
- docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
artifacts:
paths: [codeclimate.json]
+
+sast:
+ before_script: []
+ image: registry.gitlab.com/gitlab-org/gl-sast:latest
+ script:
+ - /app/bin/run .
+ artifacts:
+ paths: [gl-sast-report.json] \ No newline at end of file