Skip to content

Commit b294c4c

Browse files
remove per project sonar config
1 parent 9c2629f commit b294c4c

File tree

17 files changed

+7
-281
lines changed

17 files changed

+7
-281
lines changed

.github/workflows/build-plugin.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,13 @@ jobs:
120120
projectBaseDir: ${{ inputs.plugin_directory }}
121121
args: >
122122
-Dsonar.projectKey=${{ github.repository_owner }}_${{ inputs.plugin_directory }}
123-
124-
- name: SonarQube Quality Gate check
125-
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
126-
id: sonarqube-quality-gate-check
127-
uses: sonarsource/sonarqube-quality-gate-action@master
128-
continue-on-error: true
129-
env:
130-
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
131-
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
123+
-Dsonar.projectName=${{ inputs.plugin_directory }}
124+
-Dsonar.sources=src
125+
-Dsonar.python.version=3.10,3.11,3.12,3.13
126+
-Dsonar.sourceEncoding=UTF-8
127+
-Dsonar.python.coverage.reportPaths=coverage.xml
128+
-Dsonar.exclusions=**/__pycache__/**,**/dist/**,**/.hatch/**,**/build/**,**/*.egg-info/**,**/tests/**
129+
-Dsonar.cpd.exclusions=**/tests/**
132130
133131
- name: Build and Verify Package
134132
shell: bash

sam-bedrock-agent/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-event-mesh-agent/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-event-mesh-gateway/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-event-mesh-tool/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-geo-information/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-mermaid/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-mongodb/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-nuclia-tool/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

sam-rag/sonar-project.properties

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)