Commit e102be67 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'dz-add-sast' into 'master'

Add SAST job to .gitlab-ci.yml

See merge request gitlab-org/gitlab-shell!188
parents d99e07c7 7270859b
...@@ -71,3 +71,11 @@ codeclimate: ...@@ -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 - 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: artifacts:
paths: [codeclimate.json] 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment