Code Climate example has removed "init" command
Summary
https://gitlab.com/gitlab-org/gitlab-ee/blob/master/doc/ci/examples/code_climate.md's example "codequality" job references an "init" command that no longer exists.
Steps to reproduce
- Add a "codequality" job as per the example in the documentation
Example Project
https://gitlab.com/selsky/ntpsec/-/jobs/41917829
What is the current bug behavior?
Job fails with "unknown command init"
What is the expected correct behavior?
No errors.
Relevant logs and/or screenshots
$ docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate init
unknown command init
Output of checks
This bug happens on GitLab.com
Possible fixes
https://github.com/codeclimate/codeclimate/commit/e4af2ee11ebeb71efd375e6b04ca4639e262a009#diff-290f82a68899e39b752de81ca888c0c9 removed the "init" command from codeclimate. It should be safe to just remove https://gitlab.com/gitlab-org/gitlab-ee/blame/master/doc/ci/examples/code_climate.md#L19