Skip to content

Removing 'codeclimate init' command from Auto DevOps template

Description

With CodeClimate 0.70.0 or newer, there is no need to run codeclimate init to create a default configuration file. If you want to use defaults, you can just run codeclimate analyze and defaults are used if no configuration file is found.

This is great, but the problem is that the init command has been removed from the codeclimate cli, so you get an error if you still try to run it. This is what we have in Auto DevOps template, and what we suggest in documentation.

We should then:

  • Remove codeclimate init from Auto DevOps template
  • Vendor the new template in GitLab (CE/EE)
  • Update the documentation

cc @dosuken123 @markpundsack

Edited by Olivier Gonzalez