Add Code Climate to Auto Deploy and other templates
Code Climate support is getting a huge power up in 9.3. Moreover, doing static analysis of code is a best practice that we should encourage, and make default. We should at least add it to the Auto Deploy templates, but should consider it for all other templates as well.
Links / references
(Write the start of the documentation of this feature here, include:
- Why should someone use it; what's the underlying problem.
- What is the solution.
- How does someone use this
During implementation, this can then be copied and used as a starter for the documentation.)
Yep, good idea.
Example of CI configuration for code climate job can be found https://docs.gitlab.com/ee/ci/examples/code_climate.html#analyze-project-code-quality-with-code-climate-cli
I tried this today on a kubernetes cluster, and it failed because of docker-in-docker, which was very surprising as I'm pretty sure we've tested dind with our k8s clusters before.
Going further, I was considering enabling Auto Code Quality for all projects (on .com at least where we have shared runners) as our first "implied" CI/CD configuration. Separate issue, but likely blocked until we figure this out, although since .com shared runners do support DinD, it doesn't have to be blocked. Edit: created gitlab-ee#2708 for tracking