Skip to content

ci: SonarQube analysis on the internal server through NetBird - #50

Merged
ulysse-bonneau-simvia merged 1 commit into
mainfrom
ci/sonar
Oct 23, 2026
Merged

ulysse-bonneau-simvia merged 1 commit into
mainfrom
ci/sonar

Conversation

@ulysse-bonneau-simvia

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a sonar job after quality-reports on the default branch.
  • The job joins NetBird with a setup key and trusts the internal Simvia CA (ci/simvia-ca.crt).
  • Runs sonarqube-scan-action using sonar-project.properties.
  • Vitest now also emits lcov so Sonar's JS analyzer gets coverage.
  • The job is skipped until the secrets and variable below are set.

Needs:

  • Secrets SONAR_TOKEN (project analysis token for project key vs-code-aster) and NETBIRD_SETUP_KEY.
  • Variable SONAR_HOST_URL=https://sonar.simvia.internal.

The job only runs on main, so the first real run is after merge.

Adds a sonar job after quality-reports on the default branch. The job
joins NetBird with a setup key, trusts the internal Simvia CA
(ci/simvia-ca.crt) and runs sonarqube-scan-action with
sonar-project.properties. Vitest now also emits lcov for Sonar's JS
analyzer.

The job is skipped until the secrets SONAR_TOKEN and NETBIRD_SETUP_KEY
and the variable SONAR_HOST_URL are set.
@ulysse-bonneau-simvia
ulysse-bonneau-simvia merged commit 6e2b684 into main Oct 23, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant