From: lapentafd Date: Tue, 21 Jan 2025 09:58:58 +0000 (+0000) Subject: Downalod settings xml in FTC GH action X-Git-Tag: 2.1.0~24 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f8b758823a688589934d8bb6d8ad99f41ad769ad;p=ccsdk%2Foran.git Downalod settings xml in FTC GH action Issue-ID: CCSDK-4057 Change-Id: Ide77700ee877bbdbcb8adf5effffe952e4ca0528 Signed-off-by: lapentafd --- diff --git a/.github/workflows/gerrit-oran-functional-test-case-verify.yaml b/.github/workflows/gerrit-oran-functional-test-case-verify.yaml index 3b122bed..65a53187 100644 --- a/.github/workflows/gerrit-oran-functional-test-case-verify.yaml +++ b/.github/workflows/gerrit-oran-functional-test-case-verify.yaml @@ -81,19 +81,22 @@ jobs: with: java-version: '17' distribution: 'temurin' # Or 'zulu' or 'adopt' - # Step 3: Run Maven build + # Step 3: Download custom settings.xml + - name: Download settings.xml + run: wget -O $HOME/.m2/settings.xml https://raw.githubusercontent.com/onap/oparent/refs/heads/master/settings.xml + # Step 4: Run Maven build - name: Build a1-policy-management image with Maven run: | cd a1-policy-management - mvn clean install -Dmaven.test.skip=true - # Step 4: Run FTC on new a1-policy review + mvn clean install --settings $HOME/.m2/settings.xml -Dmaven.test.skip=true + # Step 5: Run FTC on new a1-policy review - name: Run FTC tests with the local a1-policy image run: | git clone https://gerrit.o-ran-sc.org/r/nonrtric cd nonrtric/test/auto-test chmod +x ./onap-verify-jobs.sh sudo bash ./onap-verify-jobs.sh - # Step 5: uploading the logs + # Step 6: uploading the logs - name: uploading the logs uses: actions/upload-artifact@v4 with: @@ -118,4 +121,4 @@ jobs: gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }} gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }} vote-type: ${{ env.WORKFLOW_CONCLUSION }} - comment-only: true \ No newline at end of file + comment-only: true