aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2025-01-21 09:58:58 +0000
committerlapentafd <francesco.lapenta@est.tech>2025-01-21 09:59:02 +0000
commitf8b758823a688589934d8bb6d8ad99f41ad769ad (patch)
tree9e83cab5bee9d0dad59c831a86b676afee34a94e /.github/workflows
parented36ee090df371a1720d6973434013db2cb949b4 (diff)
Downalod settings xml in FTC GH actionHEADmaster
Issue-ID: CCSDK-4057 Change-Id: Ide77700ee877bbdbcb8adf5effffe952e4ca0528 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gerrit-oran-functional-test-case-verify.yaml13
1 files changed, 8 insertions, 5 deletions
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