diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-04-18 18:13:38 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-20 10:25:32 +0100 |
commit | 1d0e736c97cbb08a6c1cdb3a8ed92eb353cb7687 (patch) | |
tree | d09747db277dfce429074f6d8104b6077212a96c /doc | |
parent | f9dbb12279f7fd7d438d245df8d7b75dd2cd86e8 (diff) | |
download | gitlab-ce-1d0e736c97cbb08a6c1cdb3a8ed92eb353cb7687.tar.gz |
Merge branch 'docs-fix-sp-examples' into 'master'
Fix code climate example
See merge request gitlab-org/gitlab-ce!18267
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/examples/code_climate.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ci/examples/code_climate.md b/doc/ci/examples/code_climate.md index 92317c77427..d1aa783cc9c 100644 --- a/doc/ci/examples/code_climate.md +++ b/doc/ci/examples/code_climate.md @@ -17,7 +17,11 @@ codequality: - 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 + - 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: [codeclimate.json] ``` |