AEGIS-455: Updated builders for xtesting in onap-verify-deploy-test 18/9418/1
authorAkash Rajguru <akash.rajguru@est.tech>
Mon, 28 Jun 2021 14:32:52 +0000 (15:32 +0100)
committerAkash Rajguru <akash.rajguru@est.tech>
Mon, 28 Jun 2021 14:32:52 +0000 (15:32 +0100)
               * Update xtesting-healthcheck.sh and xtesting-infra-healthcheck.sh
               * to switch to online in offline xtesting

Change-Id: If9aeba481d461351f42bb12ca44312f4d4fc17bc

jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml
jjb/cloud-infra/scripts/xtesting-healthcheck.sh
jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh

index 0e93bb4aecd5b5edaf184b7d9fe5acc2371035c1..a9555d6c3544253e1e31eee2aa4eb714ec91ae9d 100644 (file)
       - fix-workspace-permissions
 
     builders:
-      - 'download-deploy-artifact-macro'
-      - 'xtesting-healthcheck-macro'
       - 'xtesting-infra-healthcheck-macro'
 
 - job-template:
 
     builders:
       - 'wait-pkg-mgr-macro'
-      - 'download-deploy-artifact-macro'
       - 'xtesting-healthcheck-macro'
 
index 5b63fa26b68d1596595af990f6d16aa373e3a96e..82eb18089ff57625aaea3774826d20b0fa2d4507 100755 (executable)
@@ -25,7 +25,10 @@ set -o pipefail
 export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
 
 if [[ "$EXECUTION_MODE" == "offline-test" ]]; then
-  TEST_ROOT_DIR="/opt/test/offline/git/test"
+  # TEST_ROOT_DIR="/opt/test/offline/git/test"
+  echo "Info  : Testing of offline deployments is not currently supported! switching to online mode"
+  export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/offline/online/g')
+  TEST_ROOT_DIR="$WORKSPACE"
 else
   TEST_ROOT_DIR="$WORKSPACE"
 fi
index 5b63fa26b68d1596595af990f6d16aa373e3a96e..82eb18089ff57625aaea3774826d20b0fa2d4507 100755 (executable)
@@ -25,7 +25,10 @@ set -o pipefail
 export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
 
 if [[ "$EXECUTION_MODE" == "offline-test" ]]; then
-  TEST_ROOT_DIR="/opt/test/offline/git/test"
+  # TEST_ROOT_DIR="/opt/test/offline/git/test"
+  echo "Info  : Testing of offline deployments is not currently supported! switching to online mode"
+  export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/offline/online/g')
+  TEST_ROOT_DIR="$WORKSPACE"
 else
   TEST_ROOT_DIR="$WORKSPACE"
 fi