codeclimate/codeclimate-duplication

undefined local variable or method `config' in /usr/src/app/bin/duplication

winniehell opened this issue ยท 3 comments

When using the codeclimate/codeclimate Docker image, we started getting

/usr/src/app/bin/duplication:16:in `<main>': undefined local variable or method `config' for main:Object (NameError)

about three hours ago (2017-08-30T17:56Z was the first failure).

A downgrade of the codeclimate/codeclimate Docker image didn't help: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/30809782

I'm assuming that this is caused by a55e616#commitcomment-23983826.

Hey @winniehell,

Sorry about that! Engine update should be rolling out shortly. Any reason why you're using the CLI directly in CI instead of Code Climate's GitLab support? https://docs.codeclimate.com/docs/gitlab

@dblandin Thank you for the blazingly fast fix! ๐Ÿš€ I can confirm our builds are passing now.

Any reason why you're using the CLI directly in CI instead of Code Climate's GitLab support

I don't know who made that decision, so I can only guess: This way we only rely on our own infrastructure and not on an external service and we are also able to dogfood our own Code Quality integration feature. ๐Ÿ˜ƒ

we are also able to dogfood our own Code Quality integration feature. ๐Ÿ˜ƒ

Ahh, very cool! Haven't seen that yet. ๐Ÿ‘Œ