ci: update .gitlab-ci.yml
This commit is contained in:
parent
d8ca4d4625
commit
490a332db1
1 changed files with 0 additions and 22 deletions
|
|
@ -31,25 +31,3 @@ test:
|
||||||
- ./tests/cli_test
|
- ./tests/cli_test
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
|
|
||||||
code_quality:
|
|
||||||
stage: test
|
|
||||||
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:
|
|
||||||
paths: [gl-code-quality-report.json]
|
|
||||||
expire_in: 1 week
|
|
||||||
except:
|
|
||||||
variables:
|
|
||||||
- $CODE_QUALITY_DISABLED
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue