Save docker artifacts 44/15144/1
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>
Mon, 13 Oct 2025 10:47:47 +0000 (16:17 +0530)
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>
Mon, 13 Oct 2025 10:47:47 +0000 (16:17 +0530)
Save docker artifacts to use by CICD job

Issue-ID: OAM-517
Change-Id: Iebc5fff017360085a1b0096e9c75014b2075ad75
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
.github/workflows/gerrit-verify.yaml

index 0778d02..5a842df 100644 (file)
@@ -82,31 +82,21 @@ jobs:
 
   maven-verify:
     needs: [prepare, sanitize]
-    runs-on: ubuntu-latest
-    steps:
-      - name: Run make
-        # yamllint disable-line rule:line-length
-        uses: lfit/releng-reusable-workflows/.github/workflows/compose-make-verify.yaml@f318aaac9f4fce73a8059fe95ba9080833e018c2
-        with:
-          GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
-          GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
-          # yamllint disable-line rule:line-length
-          GERRIT_PROJECT: ${{ github.repository_owner }}/${{ needs.sanitize.outputs.sanitized_project }}
-          GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
-          JDK_VERSION: "21"
-          MVN_VERSION: "3.9.6"
-          MAKE_TARGETS: "build"
-          # yamllint enable rule:line-length
-          ENV_VARS: ${{ toJSON(vars) }}
-      - name: Run tests
-        run: CICD/bin/setup.sh
-      - name: Print test log
-        if: always()
-        run: |
-          echo "Test log dump - START"
-          cat CICD/log/testsuite.log
-          echo "Test log dump - END"
-
+    # yamllint disable-line rule:line-length
+    uses: ravipendurty/releng-reusable-workflows/.github/workflows/compose-make-verify.yaml@12bc2adcabceba2b017b0095ced01ce7a5211a2b
+    with:
+      GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
+      GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
+      GERRIT_PROJECT: ${{ github.repository_owner }}/${{ needs.sanitize.outputs.sanitized_project }}
+      GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
+      JDK_VERSION: "21"
+      MVN_VERSION: "3.9.6"
+      MAKE_TARGETS: "build"
+      # yamllint enable rule:line-length
+      ENV_VARS: ${{ toJSON(vars) }}
+      SAVE_DOCKER_ARTIFACTS: true
+      DOCKER_ARTIFACTS_TO_SAVE: "o-ran-sc/oam-oam-controller/sdnr-image:latest, o-ran-sc/oam-oam-controller/sdnr-web-image:latest"
+      
   vote:
     if: ${{ always() }}
     # yamllint enable rule:line-length