Task | Add SonarCloud variables in project's yaml files | Sandbox test | Remove SonarQube plugin if RelEng test fails (org.sonarsource.scanner.maven) | Review results | Comment on progress |
---|---|---|---|---|---|
Responsible | RelEng | Releng | PTL | PTL | |
Estimated Duration | 5 min | 15 min to 1 hr depending | 10 min per project including reviews | 10 min per report | |
AAF | https://gerrit.onap.org/r/#/c/ci-management/+/98542/ | ||||
AAI | |||||
APPC | failed | CCSDK parent needs to migrate first | |||
CCSDK | Working with Dan to migrate ccsdk-parent | ||||
CLAMP | https://gerrit.onap.org/r/#/c/ci-management/+/98543/ | 1/2 pass | Tested and working for JDK13 but having issues with JavaScript (Contacted Sonar team) | ||
CLI | |||||
DCAE | |||||
Demo | |||||
DMAAP | |||||
ExtAPI | |||||
Holmes | |||||
Integration | |||||
Logging | |||||
Modeling | |||||
MSB | |||||
MultiCloud | |||||
Music | |||||
OOF | |||||
OOM | |||||
O-parent | |||||
Policy | |||||
Portal | |||||
SDC | |||||
SDNC | |||||
SO | |||||
UUI | |||||
VFC | |||||
VID | |||||
VNFSDK |
SonarCloud migration notes
Ready to migrate? Things to consider and challenges faced with the currently migrated teams
- Teams will still be using the same Jenkins jobs
- SonarCloud is based on SonarQube 8.0 with +- some feature and plugin differences
- SonarQube will stay around for some time, but eventually will be deprecated (mid next year)
- Warnings in Quality Gates are no longer applicable in SonarCloud
- Teams using the "org.sonarsource.scanner.maven" plugin, might face issues during the migration since this plugin calls SonarQube directly.
- Releng will report these issues from the testing
- Teams will need to disable this plugin and configure jacoco like ODL does https://github.com/opendaylight/aaa/blob/master/pom.xml#L58-L93
- APPC example of this: https://gerrit.onap.org/r/#/c/appc/+/98197/
Changes needed to be done and stakeholders
RELENG: Modify project's yaml files to run Sonar on SonarCloud
RELENG: Test new runs in Sandbox and report failures
TECHTEAM: If failures are reported from the test, techteams help will be needed (Most likely related to dependencies and SonarQube specific plugins in the source)
TECHTEAM: Once test passes, review the final report and +1 Releng ci-management change
RELENG: Merge ci-management change
Testing the migration
The reports will now be posted under: https://sonarcloud.io/organizations/onap/projects
Jenkins jobs do not change.