We can't verify changes touching onap-nofeature-noha scenario yet
since it is costly so this change prevents jobs to fail and vote
Verified-1 on Gerrit until we introduce scenario verification for
ONAP.
Change-Id: I11a9ae721c4a588dd28b98bd8325e22a8cbb7537
# If DEPLOY_TYPE is baremetal, we use variable NODE_NAME injected by Jenkins to the job
# in order to set PDF and IDF for the POD the job is running against.
+# we don't support ONAP scenario verification because it is expensive
+# TODO: we need to find a way to verify those patches in a cheaper way
+if [[ "$DEPLOY_SCENARIO" =~ "onap" ]]; then
+ echo "Info: ONAP scenario verification has not been implemented yet!"
+ exit 0
+fi
+
if [[ $DEPLOY_TYPE == "baremetal" ]]; then
PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-pdf.yml"
IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-idf.yml"
# Logic in this script should be kept at minimum and the changes should be pushed into
# the cloud infra test test.sh script.
+# we don't support ONAP scenario verification because it is expensive
+# TODO: we need to find a way to verify those patches in a cheaper way
+if [[ "$DEPLOY_SCENARIO" =~ "onap" ]]; then
+ echo "Info: ONAP scenario verification has not been implemented yet!"
+ exit 0
+fi
+
# execute cloud engine test.sh script with arguments
cd $WORKSPACE
./test/test.sh -c -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO -d $YARDSTICK_DISPATCHER
cd $WORKSPACE
COMMIT_MESSAGE=$(git show -s --format=%B)
echo "Info: Not implemented!"
- exit 1
+ exit 0
fi
}