diff options
author | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-04-03 22:19:00 +0300 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-04-03 22:19:00 +0300 |
commit | a086945275bb2c3ea7d75f9e26d85743754f0c40 (patch) | |
tree | 90ed08d25746b896e9aa86c958f4d4bc896da720 /doc/ci/examples/code_climate.md | |
parent | 59a158955e1ae09420ad05e53782e0dbc512e9c8 (diff) |
Update Security Products examples documentation
Diffstat (limited to 'doc/ci/examples/code_climate.md')
-rw-r--r-- | doc/ci/examples/code_climate.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ci/examples/code_climate.md b/doc/ci/examples/code_climate.md index 64a759a9a99..92317c77427 100644 --- a/doc/ci/examples/code_climate.md +++ b/doc/ci/examples/code_climate.md @@ -9,11 +9,12 @@ Once you set up the Runner, add a new job to `.gitlab-ci.yml`, called `codequali ```yaml codequality: - image: docker:latest + image: docker:stable variables: - DOCKER_DRIVER: overlay + DOCKER_DRIVER: overlay2 + allow_failure: true services: - - docker:dind + - 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 |