2020-04-10 20:18:31 +00:00
|
|
|
sonar.projectKey=argoproj_argo-cd
|
|
|
|
|
sonar.organization=argoproj
|
|
|
|
|
|
|
|
|
|
# This is the name and version displayed in the SonarCloud UI.
|
|
|
|
|
sonar.projectName=argo-cd
|
|
|
|
|
sonar.projectVersion=1.0
|
|
|
|
|
|
|
|
|
|
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
|
|
|
|
|
sonar.sources=.
|
2022-07-30 15:25:08 +00:00
|
|
|
|
2026-02-11 14:28:54 +00:00
|
|
|
# Exclude docs and testdata with kustomization files (Sonar IaC parser fails on empty/edge-case YAML)
|
|
|
|
|
sonar.exclusions=docs/**,**/testdata/**
|
2020-04-10 20:18:31 +00:00
|
|
|
|
|
|
|
|
# Encoding of the source code. Default is default system encoding
|
|
|
|
|
sonar.sourceEncoding=UTF-8
|
|
|
|
|
|
|
|
|
|
sonar.host.url=https://sonarcloud.io
|
|
|
|
|
|
|
|
|
|
# Exclude following set of patterns from coverage analysis
|
2022-07-29 17:48:06 +00:00
|
|
|
sonar.coverage.exclusions=**/*.pb.go,**/*.pb.gw.go,**/mocks/**,**/*.ts*,**/vendor/**,**/openapi_generated.go,**/*_test.go,**/*_generated*,test/**,pkg/client/**,pkg/apiclient/**,docs/**
|
2020-04-10 20:18:31 +00:00
|
|
|
|
2020-05-27 17:22:13 +00:00
|
|
|
# Exclude following set of patterns from code analysis
|
2024-06-16 23:21:45 +00:00
|
|
|
sonar.go.exclusions=**/vendor/**,**/*.pb.go,**/*_test.go,**/*.pb.gw.go,**/mocks/**,**/openapi_generated.go,**/*_generated*.go,docs/**
|
2020-04-10 20:18:31 +00:00
|
|
|
|
|
|
|
|
# Exclude following set of patterns from duplication detection
|
2022-07-29 17:48:06 +00:00
|
|
|
sonar.cpd.exclusions=**/*.pb.go,**/*.g.cs,**/*.gw.go,**/mocks/*,docs/**
|
2024-06-10 19:36:30 +00:00
|
|
|
|
2026-02-10 15:00:22 +00:00
|
|
|
# Exclude test manifests from analysis (avoids Sonar IaC parser errors on empty/edge-case kustomization files)
|
|
|
|
|
sonar.kubernetes.exclusions=controller/testdata/**,test/**,util/kustomize/testdata/**,util/app/discovery/testdata/**,reposerver/repository/testdata/**
|