I have been doing a bunch of work on SonarQube Enterprise Edition
Version 9.9. My current project contains around 100k lines of code to be analyzed. It contains a variety of languages (Java, Python, Terraform, etc.). There are a number of Java micro-services that each require a separate build (20+ individually built micro-services).
The Python code, on the other hand, can all be built at the same time.
In GitHub actions, I have a workflow that runs on every PR open, modification, and merge. It successfully analyzes changed Python scripts, changed Java micro-services, and changed Terraform and passes it to one singular PR scan step. Right now, we only build these micro-services / scripts when they are changed. We keep everything neat and tidy under one project in SonarQube with one PR decoration representing all the changed code analysis.
My question today is:
How would enabling mono-repo support improve our setup if we were to enable it?
How would the maintainability / simplicity of the setup be affected if now we have 20+ separate projects (and their respective keys / secrets / GitHub PR decoration bots) in SonarQube to maintain – I am assuming (please correct me if I am wrong) this is what would happen if we went the mono-repo route?
I am almost leaning toward not enabling the mono-repo setting and sticking with our current setup (of keeping everything under one roof) for right now because of this.