Upgrade codeclimate image to latest
This commit is contained in:
parent
763ea26dc6
commit
ae7a1e7805
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ codequality:
|
||||||
script:
|
script:
|
||||||
- cp .rubocop.yml .rubocop.yml.bak
|
- cp .rubocop.yml .rubocop.yml.bak
|
||||||
- grep -v "rubocop-gitlab-security" .rubocop.yml.bak > .rubocop.yml
|
- grep -v "rubocop-gitlab-security" .rubocop.yml.bak > .rubocop.yml
|
||||||
- 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 > raw_codeclimate.json
|
- 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 > raw_codeclimate.json
|
||||||
- cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name,fingerprint,location})' > codeclimate.json
|
- cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name,fingerprint,location})' > codeclimate.json
|
||||||
- mv .rubocop.yml.bak .rubocop.yml
|
- mv .rubocop.yml.bak .rubocop.yml
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue