提交 169a8c35 编写于 作者: K Kamil Trzciński

Merge branch 'skip-sast-on-ce' into 'master'

Avoid running autodevops sast job on GitLab CE

Closes gl-sast#3

See merge request gitlab-org/gitlab-ce!15962
......@@ -89,7 +89,7 @@ sast:
POSTGRES_DB: "false"
allow_failure: true
script:
- /app/bin/run .
- sast .
artifacts:
paths: [gl-sast-report.json]
......@@ -232,6 +232,17 @@ production:
docker run ${cc_opts} codeclimate/codeclimate:0.69.0 analyze -f json > codeclimate.json
}
function sast() {
case "$CI_SERVER_VERSION" in
*-ee)
/app/bin/run "$@"
;;
*)
echo "GitLab EE is required"
;;
esac
}
function deploy() {
track="${1-stable}"
name="$CI_ENVIRONMENT_SLUG"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册