Updated codequality job to use latest available version

Summary

Auto DevOps template job has code quality image uses outdated codequality version.

Steps to reproduce

  1. Use Auto DevOps or relevant code quality template.
  2. Will use older registry image.

Example Project

https://gitlab.com/tristan/code-quality-test/-/jobs/232904417

Also reported via ticket, user on trial: https://gitlab.zendesk.com/agent/tickets/124156

What is the current bug behavior?

Uses outdated Code Quality version

What is the expected correct behavior?

Should use the latest available Code Quality version

Output of checks

GitLab.com, GitLab Enterprise Edition 12.0.0-pre 2ad76408

Workaround

Can use the Auto DevOps template and change the template for code quality so that the include section looks like:

include:
  - template: Jobs/Build.gitlab-ci.yml
  - template: Jobs/Test.gitlab-ci.yml
  - remote: 'https://gitlab.com/gitlab-org/security-products/ci-templates/blob/master/includes/codequality.yml'
  - template: Jobs/Deploy.gitlab-ci.yml
  - template: Jobs/Browser-Performance-Testing.gitlab-ci.yml
  - template: Security/DAST.gitlab-ci.yml
  - template: Security/Container-Scanning.gitlab-ci.yml
  - template: Security/Dependency-Scanning.gitlab-ci.yml
  - template: Security/License-Management.gitlab-ci.yml
  - template: Security/SAST.gitlab-ci.yml
Edited Jun 25, 2019 by Matija Čupić
Assignee Loading
Time tracking Loading