summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gonzalez <ogonzalez@gitlab.com>2018-03-28 17:20:13 -0400
committerOlivier Gonzalez <ogonzalez@gitlab.com>2018-03-28 17:20:13 -0400
commit8b833418dfc103c6712737a0393fc689fe146f50 (patch)
treef641b231138555698b9e4b3e7da72e8535f16e9e
parent9eff34b1fb64e186b87f36899e38a8b79c361460 (diff)
downloadgitlab-ce-update_code_quality_job.tar.gz
Restore custom imageupdate_code_quality_job
-rw-r--r--.codeclimate.yml2
-rw-r--r--.gitlab-ci.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml
index 131bf5f5a48..216ecf43beb 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -15,7 +15,7 @@ engines:
channel: "eslint-4"
rubocop:
enabled: true
- channel: "rubocop-0-52"
+ channel: "gitlab-rubocop-0-52-1"
ratings:
paths:
- Gemfile.lock
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51ad06e7281..1d6981c05ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,8 @@ codequality:
cache: {}
dependencies: []
script:
+ - docker pull dev.gitlab.org:5005/gitlab/gitlab-build-images:gitlab-codeclimate-rubocop-0-52-1
+ - docker tag dev.gitlab.org:5005/gitlab/gitlab-build-images:gitlab-codeclimate-rubocop-0-52-1 codeclimate/codeclimate-rubocop:gitlab-codeclimate-rubocop-0-52-1
- 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
artifacts: