eclipse-tractusx / sig-infra

Repository for Tractus-X infrastructure topics and resources.
Apache License 2.0
2 stars 2 forks source link

PolicyHub: Sonarcloud setup #382

Closed Phil91 closed 10 months ago

Phil91 commented 10 months ago

Is your support request related to a problem? Please describe.
We are currently setting up the PolicyHub project, to check the code quality one of the tools we're using is sonarcloud therefore we have a workflow in place to run the sonarcloud checks. As of now there is no sonarcloud configuration existing for the two policy hub projects fork and upstream.

Describe the solution you'd like
Could you please take over the configuration for sonarcloud. The upstream project should be configured like: https://sonarcloud.io/project/overview?id=eclipse-tractusx_portal-backend The fork project should be configured like: https://sonarcloud.io/project/overview?id=catenax-ng_tx-portal-backend

Additional context
N/A

FaGru3n commented 10 months ago

for fork --> https://sonarcloud.io/project/?id=catenax-ng_tx-policy-hub SONAR_Token was added in the repo settings under secrets

think the workflow to use sonarcloud is missing like https://github.com/catenax-ng/tx-portal-backend/blob/dev/.github/workflows/sonarcloud.yml

FaGru3n commented 10 months ago

for the upstream you have to get in contact with the Eclipse Foundation maybe over GitLab Issue or Matrix Chat.

We as System Team can not modify the Sonarcloud projects for this GitHub Organisation

Phil91 commented 10 months ago

for fork --> https://sonarcloud.io/project/?id=catenax-ng_tx-policy-hub SONAR_Token was added in the repo settings under secrets

think the workflow to use sonarcloud is missing like https://github.com/catenax-ng/tx-portal-backend/blob/dev/.github/workflows/sonarcloud.yml

thanks a lot. i've currently working on upstream. but once finished it should be available in the fork as well.

for upstream i'll create a gitlab issue.

FaGru3n commented 10 months ago

You´re welcome. 😉 I will close issue for now feel free to repoen it, if you have further questions

FaGru3n commented 10 months ago

Hi @Phil91 https://eclipse-tractusx.github.io/docs/oss/issues/#eclipse-foundation-helpdesk

there is also an example on our web-page

Example for requesting a sonar project for a repository