I have configured the GitLab integration in Sonarqube Cloud. I have the “Team” plan. All projects are private.
Currently I can not create projects in Sonar, because no GitLab repositories can be found during the creation process. It was working for months and stopped working in the last weeks.
I can see in the logs which URL is being queried from GitLab that’s failing and causing this issue. I’m not sure it should be failing this way—something for the devs to investigate later—but I’ll send you the URL via PM. Could you check if you’re able to access it yourself while logged into GitLab?
The good news: There’s an active sprint addressing this problem. While GitLab isn’t included in the current sprint’s scope, it will be covered in the upcoming one.
The less good news: At the moment, there isn’t an amazingly great workaround. Project import doesn’t work and binding after project creation in the UI also requires the repositories to be listed.
However, what you can do is manually create the project, then use the Web API to bind it. This involves sending a POST request to https://api.sonarcloud.io/dop-translation/project-bindings with a payload like the following:
Our team would like to know, @chris41 – about how many repos are in your organization, all sub-groups considered? Typically this only impacts users with a huge number of repos.