CI: Add sonar-project.properties 95/5195/2 master
authorEric Ball <eball@linuxfoundation.org>
Thu, 8 Aug 2024 22:54:13 +0000 (15:54 -0700)
committerEric Ball <eball@linuxfoundation.org>
Thu, 8 Aug 2024 22:57:02 +0000 (15:57 -0700)
This also includes an update to a called action version.

Issue-ID: RELENG-4799
Change-Id: Ifb2d113c66e2198c0a6b14571987e2ea478b2e6a
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
.github/workflows/gerrit-novote-verify.yaml
sonar-project.properties [new file with mode: 0644]

index cd7950e..84d4c4d 100644 (file)
@@ -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 (file)
index 0000000..df90e3d
--- /dev/null
@@ -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/**