summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-03-28 16:15:07 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-04-09 10:17:04 +0100
commite5821bcae83a8214c714f73ce8898104f5b1e056 (patch)
tree927bb9ac78666e7b86d0937c25f9e0625f98bb2f
parentc75cdcf541a37d80714808f6e9b365c37240f9f0 (diff)
downloadgitlab-ce-e5821bcae83a8214c714f73ce8898104f5b1e056.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]
```