Skip to content

Commit

Permalink
configure sonarcloud action
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Oct 22, 2023
1 parent b96bb7d commit 714375b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# Local .terraform directories
**/.terraform/*

# Sonar Scanner
.scannerwork/

# .tfstate files
*.tfstate
*.tfstate.*
Expand Down
3 changes: 2 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
sonar.projectKey=doitintl_kubeip
sonar.organization=doitintl
sonar.host.url=https://sonarcloud.io
# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=kubeip
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This is where the source code is located.
sonar.sources=.
sonar.exclusions=**/*_test.go,mocks/*,**/mock_*.go
sonar.exclusions=**/*_test.go,mocks/**/*.go,**/mock_*.go
# This is where the tests are located.
sonar.tests=.
sonar.test.inclusions=**/*_test.go
Expand Down

0 comments on commit 714375b

Please sign in to comment.