engine: Create openstack release jobs
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-test.sh
index 2b85f0ddbd81f93dd55de6d73d0a3d88657fe678..a473fcd1efcc4875a8fa91ea3960cdeec05f3427 100644 (file)
@@ -28,8 +28,21 @@ set -o pipefail
 # 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
+
+# we don't support testing of the deployments done on OpenStack cloud using heat yet
+if [[ $DEPLOY_TYPE == "cloud" ]]; then
+  echo "Info: Testing of cloud deployments 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
+./test/test.sh -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO -d $YARDSTICK_DISPATCHER
 
 # vim: set ts=2 sw=2 expandtab: