equal
deleted
inserted
replaced
26 before_script: |
26 before_script: |
27 - grep "version =" setup.py |
27 - grep "version =" setup.py |
28 script: |
28 script: |
29 - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') |
29 - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') |
30 - docker run |
30 - docker run |
|
31 --privileged |
31 --env SOURCE_CODE="$PWD/src" |
32 --env SOURCE_CODE="$PWD/src" |
32 --volume "$PWD":/code |
33 --volume "$PWD":/code |
33 --volume /var/run/docker.sock:/var/run/docker.sock |
34 --volume /var/run/docker.sock:/var/run/docker.sock |
34 "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code |
35 "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code |
35 artifacts: |
36 artifacts: |