summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-03-28 16:15:07 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-03-28 16:15:07 +0000
commitbe944a649032ccfa07f4f98cb2d048e14725fed1 (patch)
treeb2f14e6d72bc6d3dc7d3e5a43ca55c11a2a1f5ef
parenta91b158ec01b47e42191ae4a4096c27a21ca9f76 (diff)
parentc368c23c33165719b1e4952203d2143450a94890 (diff)
downloadgitlab-ce-be944a649032ccfa07f4f98cb2d048e14725fed1.tar.gz
Merge branch 'docs-fix_code_quality_example_documentation' into 'master'
Fix code quality example documentation See merge request gitlab-org/gitlab-ce!18053
-rw-r--r--doc/ci/examples/code_climate.md7
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/ci/examples/code_climate.md b/doc/ci/examples/code_climate.md
index ec5e5afb8c6..64a759a9a99 100644
--- a/doc/ci/examples/code_climate.md
+++ b/doc/ci/examples/code_climate.md
@@ -15,13 +15,8 @@ codequality:
services:
- docker:dind
script:
- - docker pull codeclimate/codeclimate
- 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]
```