Commit f55c3cd9 authored by Vincent's avatar Vincent

Merge branch '160-use-gitlab-s-code-quality-template' into 'master'

Use GitLab's Code Quality CI template

Closes #160

See merge request !135
parents 83bbec51 e6d0850a
Pipeline #65557577 passed with stages
in 24 minutes and 54 seconds
......@@ -294,6 +294,9 @@ include:
- template: SAST.gitlab-ci.yml
# See https://gitlab.com/help/user/project/merge_requests/dast.md
- template: DAST.gitlab-ci.yml
# See https://gitlab.com/help/user/project/merge_requests/code_quality.md
- template: Code-Quality.gitlab-ci.yml
# See https://gitlab.com/help/user/project/merge_requests/sast.md
sast:
stage: confidenceCheck
......@@ -312,24 +315,8 @@ dast:
# See https://gitlab.com/help/user/project/merge_requests/code_quality.md
code_quality:
stage: confidenceCheck
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
allow_failure: true
services:
- docker:stable-dind
except:
- schedules
script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
- docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
reports:
codequality: gl-code-quality-report.json
# See https://gitlab.com/help/user/project/merge_requests/browser_performance_testing.md
performance:
......
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