feat(ci): switch to SonarQube self-hosted
Some checks failed
CI / validate_pr_title (pull_request) Failing after 6s
CI / ci (pull_request) Failing after 1m5s

This commit is contained in:
Luke Tainton 2025-02-09 20:04:01 +00:00
parent 709ad18edd
commit 9ed144b042
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo
3 changed files with 5 additions and 4 deletions

View File

@ -18,5 +18,6 @@ jobs:
with: with:
python-version: 3.13 python-version: 3.13
secrets: secrets:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

View File

@ -11,6 +11,7 @@ jobs:
with: with:
python-version: 3.13 python-version: 3.13
secrets: secrets:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

View File

@ -1,7 +1,6 @@
sonar.organization=luketainton
sonar.projectKey=luketainton_roboluke-tasks2 sonar.projectKey=roboluke
sonar.projectName=roboluke-tasks sonar.projectName=roboluke
sonar.projectVersion=1.0
sonar.python.version=3.13 sonar.python.version=3.13
sonar.python.coverage.reportPaths=coverage.xml sonar.python.coverage.reportPaths=coverage.xml
sonar.python.pylint.reportPaths=lintreport.txt sonar.python.pylint.reportPaths=lintreport.txt