Repository navigation
ci: SonarQube analysis on the internal server through NetBird - #50
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sonarjob afterquality-reportson the default branch.ci/simvia-ca.crt).sonarqube-scan-actionusingsonar-project.properties.Needs:
SONAR_TOKEN(project analysis token for project keyvs-code-aster) andNETBIRD_SETUP_KEY.SONAR_HOST_URL=https://sonar.simvia.internal.The job only runs on
main, so the first real run is after merge.