CI: Add Nexus IQ scan to o-du/l2 84/14384/2
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 8 May 2025 21:44:12 +0000 (07:44 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 13 May 2025 07:43:00 +0000 (17:43 +1000)
Issue: IT-28096
Change-Id: I830db2e2fd3213b892b5997d3f348fa3c80832d3
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.github/workflows/gerrit-novote-merge.yaml

index 89259f4..a97760c 100644 (file)
@@ -82,9 +82,17 @@ jobs:
       build_wrapper_url: "https://raw.githubusercontent.com/o-ran-sc/o-du-l2/refs/heads/main/sonarqube-cloud-build.sh"
       build_wrapper_out_dir: build/odu/bin/
 
+  call-sonartype-lifecycle:
+    name: "Sonatype Lifecycle Scan"
+    needs: notify
+    # yamllint disable-line rule:line-length
+    uses: lfit/releng-reusable-workflows/.github/workflows/reuse-sonatype-lifecycle.yaml@ac846b1cfeaf3a7cac6f28413a5206afc9951464 # v0.2.11
+    secrets:
+      NEXUS_IQ_PASSWORD: ${{ secrets.NEXUS_IQ_PASSWORD }}
+
   report-status:
     if: ${{ always() }}
-    needs: [notify, call-cmake-sonarqube-cloud]
+    needs: [notify, call-cmake-sonarqube-cloud, call-sonartype-lifecycle]
     runs-on: ubuntu-latest
     steps:
       - name: Get workflow conclusion