IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 5e23ab21 authored by ralfulrich's avatar ralfulrich
Browse files

try code quality

parent 01d62b12
No related branches found
No related tags found
No related merge requests found
...@@ -17,3 +17,22 @@ build: ...@@ -17,3 +17,22 @@ build:
- cmake .. - cmake ..
- cmake --build . - cmake --build .
- ctest -V - ctest -V
code_quality:
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
allow_failure: true
services:
- docker:stable-dind
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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment