GitHub SonarQube Integration
Mapping
SonarQube allows aggregating projects either manually or based on tags & regex.
For GitHub repos managed in Terraform, creation of associated SonarQube projects and portfolios could also be easily managed in Terraform. Manually aggregating these projects into a portfolio would be trivial.
Projects created from legacy AzDO instances can continued to be managed using exiting methods (unknown). Existing portfolios are organized by CRM product.
Via GitHub Apps - Staging GitHub organizations can be mapped to the staging SonarQube instance. Production GitHub organizations will map to the production SonarQube instance.
Configuration Process
SonarQube GitHub Integration Docs contains the full documentation.
- Create GitHub app in target GitHub Organization.
- Configure SonarQube with GitHub app details.
- This could be done via Terraform.
- Import GitHub repositories into SonarQube.