summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-01-10 08:00:48 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-01-10 08:00:48 +0000
commit047cde243ed0fb0e71ddf85735342bec66c92eae (patch)
tree1d5ec3ab2fd10a0524f7b89661f90cc8488e1e23
parent3576d59ae95a61dd20e997a619dbc6c8e8a70276 (diff)
parent3c7fbb84c2929f93a5eef13dc2bbe6d3c6bb46bf (diff)
downloadgitlab-ce-047cde243ed0fb0e71ddf85735342bec66c92eae.tar.gz
Merge branch 'dz-improve-code-quality-docs' into 'master'
Use 0.69 version of codeclimate image for CI code quality docs See merge request gitlab-org/gitlab-ce!16319
-rw-r--r--doc/ci/examples/code_climate.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ci/examples/code_climate.md b/doc/ci/examples/code_climate.md
index 6a5821762cc..f919ed3c797 100644
--- a/doc/ci/examples/code_climate.md
+++ b/doc/ci/examples/code_climate.md
@@ -16,7 +16,8 @@ codequality:
- docker:dind
script:
- docker pull codeclimate/codeclimate
- - docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json || true
+ - docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate:0.69.0 init
+ - docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate:0.69.0 analyze -f json > codeclimate.json || true
artifacts:
paths: [codeclimate.json]
```