diff options
author | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-03-28 17:20:13 -0400 |
---|---|---|
committer | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-03-28 17:20:13 -0400 |
commit | 8b833418dfc103c6712737a0393fc689fe146f50 (patch) | |
tree | f641b231138555698b9e4b3e7da72e8535f16e9e | |
parent | 9eff34b1fb64e186b87f36899e38a8b79c361460 (diff) | |
download | gitlab-ce-update_code_quality_job.tar.gz |
Restore custom imageupdate_code_quality_job
-rw-r--r-- | .codeclimate.yml | 2 | ||||
-rw-r--r-- | .gitlab-ci.yml | 2 |
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: |