From: Eric Ball Date: Thu, 8 Aug 2024 22:54:13 +0000 (-0700) Subject: CI: Add sonar-project.properties X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=1f1c2144e8b29c1bf2244a2e90ccf0f20b2bf5d5;p=iec.git CI: Add sonar-project.properties This also includes an update to a called action version. Issue-ID: RELENG-4799 Change-Id: Ifb2d113c66e2198c0a6b14571987e2ea478b2e6a Signed-off-by: Eric Ball --- diff --git a/.github/workflows/gerrit-novote-verify.yaml b/.github/workflows/gerrit-novote-verify.yaml index cd7950e..84d4c4d 100644 --- a/.github/workflows/gerrit-novote-verify.yaml +++ b/.github/workflows/gerrit-novote-verify.yaml @@ -53,7 +53,7 @@ jobs: steps: - name: Gerrit Checkout # yamllint disable-line rule:line-length - uses: lfit/checkout-gerrit-change-action@57bf0435f739fbbc7ce4cc85c9c3b8a386c6f84b # v0.6 + uses: lfit/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9 with: gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }} gerrit-project: ${{ inputs.GERRIT_PROJECT }} diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..df90e3d --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,22 @@ +# Required metadata +sonar.projectKey=akraino-edge-stack_iec +sonar.projectName=iec +sonar.organization=akraino-edge-stack + +#Source +sonar.sources=. +sonar.exclusions=**/*_test.go,**/vendor/** + +# Language +sonar.language=go + +# Encoding +sonar.build.sourceEncoding=UTF-8 + +# Inclusions +sonar.inclusions=**/**.go + +# Test Execution +sonar.tests=. +sonar.test.inclusions=**/*_test.go +sonar.test.exclusions=**/vendor/**