equal
deleted
inserted
replaced
22 allow_failure: true |
22 allow_failure: true |
23 script: |
23 script: |
24 - pip install pylint --quiet |
24 - pip install pylint --quiet |
25 - pylint src/ |
25 - pylint src/ |
26 |
26 |
27 include: |
27 quality: |
28 - template: Code-Quality.gitlab-ci.yml |
28 stage: test |
|
29 image: docker:stable |
|
30 variables: |
|
31 DOCKER_DRIVER: overlay2 |
|
32 allow_failure: true |
|
33 services: |
|
34 - docker:stable-dind |
|
35 script: |
|
36 - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') |
|
37 - docker run |
|
38 --env SOURCE_CODE="$PWD" |
|
39 --volume "$PWD":/code |
|
40 --volume /var/run/docker.sock:/var/run/docker.sock |
|
41 "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code |
|
42 artifacts: |
|
43 reports: |
|
44 codequality: gl-code-quality-report.json |