After last week's changes in pipeline configuration, we finally have
successfully imported analyses for:
1. incubator-kie-drools
https://sonarcloud.io/project/overview?id=apache_incubator-kie-drools
2. incubator-kie-kogito-runtimes
https://sonarcloud.io/project/overview?id=apache_incubator-kie-kogito-runtimes
3. incubator-kie-kogito-apps
https://sonarcloud.io/summary/overall?id=apache_incubator-kie-kogito-apps

One left to do is incubator-kie-optaplanner, because there the sonar
analysis is implemented differently, not in Jenkins, but rather GitHub
actions. And GHAs have not yet been adjusted after the repository
transfer it seems (https://github.com/apache/incubator-kie-issues/issues/674
).

I'll be switching on SonarCloud analysis on PRs today or tomorrow, after I
validate the current configuration with the INFRA team.

Regards
Jan

On Fri, 3 Nov 2023 at 16:27, Jan Šťastný <jstastn...@apache.org> wrote:

> Correction:
> So nightly sonar analysis is a first step, after validation of the
> configuration I'll enable the analysis also in PR checks.
>
> On Fri, 3 Nov 2023 at 16:24, Jan Šťastný <jstastn...@apache.org> wrote:
>
>> Thank you Marek for noticing and apologies for deleting a wrong project
>> inside kiegroup org in sonarcloud.
>>
>> That's the reason why drools haven't yet been imported into apache
>> organization, but the rest of projects is there already.
>> I've adjusted the pipelines to override sonar configuration with the new
>> entries, hopefully next nightly will show some reasonable results.
>>
>> Later on I'll update the defaults in respective repositories not to point
>> at kiegroup anymore.
>>
>> So nightly sonar analysis is a first step, after validation of the
>> configuration I'll enable the analysis also in nightlies.
>>
>> You might have noticed some Sonar PR checks appearing on
>> incubator-kie-kogito-apps already, but that was an automatic default scan
>> for Java repository made by SonarCloud itself, I have now disabled it and
>> should be appearing in PRs again only after I enable the scan in jenkins PR
>> checks.
>>
>> Regards
>> Jan
>>
>> On Wed, 1 Nov 2023 at 16:49, Jan Šťastný <jstastn...@apache.org> wrote:
>>
>>> Hello,
>>> I have now deleted the projects from SonarCloud kiegroup organization
>>> and asked for a retry to import under apache organization.
>>>
>>> Regards
>>> Jan
>>>
>>> On Mon, 16 Oct 2023 at 09:51, Marek Novotny <mnovo...@redhat.com> wrote:
>>>
>>>> ok, i will delete them, even i think you should have the admin rights
>>>> to
>>>> do that too.
>>>>
>>>> Wrt sonarcloud analysis which could re-create them again Tristan is
>>>> looking into it, so need first merge that change.
>>>>
>>>> BR,
>>>>
>>>> Dne 10/16/23 v 08:58 Tibor Zimányi napsal(a):
>>>> > +1 from me for the deletion in kiegroup.
>>>> >
>>>> > Best regards,
>>>> > Tibor
>>>> >
>>>> > Dňa 16. októbra 2023 8:49:12 SELČ používateľ "Jan Šťastný" <
>>>> jstastn...@apache.org> napísal:
>>>> >> The work is tracked as Apache INFRA ticket
>>>> >> https://issues.apache.org/jira/browse/INFRA-25081 .
>>>> >>
>>>> >> It turns out that existing sonarcloud projects under kiegroup
>>>> organization
>>>> >> are blocking import of the transferred repositories under apache
>>>> >> organization, because of matching groupId:artifactId of maven
>>>> projects
>>>> >> before and after move.
>>>> >>
>>>> >> Trying to change projectKey of the legacy kiegroup projects (in
>>>> SonarCloud
>>>> >> only) to unblock creation of the new projects in apache DIDN'T help.
>>>> >>
>>>> >> The solution is to DELETE legacy projects from the kiegroup
>>>> organization in
>>>> >> SonarCloud (see linked references in the INFRA ticket).
>>>> >>
>>>> >> Given that currently community projects are those in apache
>>>> organization
>>>> >> and inability to analyze repositories in both organizations at the
>>>> same
>>>> >> time, I propose we delete the already transferred repository
>>>> projects from
>>>> >> kiegroup SonarCloud organization, which enables us to recreate in
>>>> apache.
>>>> >>
>>>> >> Regards
>>>> >> Jan
>>>> >>
>>>> >>
>>>> >>
>>>> >> On Mon, 9 Oct 2023 at 14:54, Jan Šťastný <jstastn...@apache.org>
>>>> wrote:
>>>> >>
>>>> >>> Hello,
>>>> >>>
>>>> >>> based on instructions in [1] I'll be during this week registering
>>>> our
>>>> >>> transferred repositories under Apache organization [2] in Sonar
>>>> Cloud.
>>>> >>>
>>>> >>> We're looking for volunteers that would like to manage the KIE
>>>> projects
>>>> >>> there, the reports and of course maintain the integration.
>>>> >>> There is a prerequisite in [1], so please make sure you comply with
>>>> those
>>>> >>> when you volunteer:
>>>> >>>
>>>> >>> "Confirm that the Admins have logged into sonarcloud.io with their
>>>> >>> ASF-linked GitHub ID."
>>>> >>>
>>>> >>> There are no mentions of limits on the number of admins, though I
>>>> think
>>>> >>> it'd be good to have a reasonably sized group to account for time
>>>> zone
>>>> >>> differences, vacations, etc. But at the same time not to spread the
>>>> admin
>>>> >>> privilege too widely.
>>>> >>>
>>>> >>> Important thing - the admin privilege should be bound to each
>>>> particular
>>>> >>> project, so if you're interested just in a specific ones, make the
>>>> note of
>>>> >>> them.
>>>> >>>
>>>> >>> No need to create projects for not yet transferred repositories
>>>> (e.g.
>>>> >>> kie-tools), we'll handle when that happens.
>>>> >>>
>>>> >>> At the moment, as I plan to work on the task to configure the
>>>> integration
>>>> >>> in the Jenkins CI and will be requesting the projects, I'll put
>>>> myself as
>>>> >>> one of the admins in all the projects.
>>>> >>>
>>>> >>> In case of any objections or questions please reach out to me.
>>>> >>>
>>>> >>> I'll keep the window for volunteering open till Wednesday end of day
>>>> >>> (through this mail thread). On Thursday morning I'll be creating
>>>> the INFRA
>>>> >>> ticket(s).
>>>> >>>
>>>> >>> Meanwhile I'll start investigating changes needed in Jenkins
>>>> pipelines
>>>> >>> that would be needed in this regard.
>>>> >>>
>>>> >>> Regards
>>>> >>> Jan
>>>> >>>
>>>> >>>
>>>> >>> [1]
>>>> >>>
>>>> https://cwiki.apache.org/confluence/display/INFRA/SonarCloud+for+ASF+projects
>>>> >>> [2] https://sonarcloud.io/organizations/apache/projects
>>>> >>>
>>>> --
>>>> Marek Novotny
>>>> --
>>>>
>>>> RedHat JBoss Middleware
>>>>
>>>> Red Hat Czech s.r.o.
>>>> Purkynova 111
>>>> 612 45 Brno
>>>>
>>>>

Reply via email to