Currently we support only pure k8s scenarios on cloud.
Everything else shall be skipped for DEPLOY_TYPE == cloud
Change-Id: I5eb536d82066cd476c89db9dad27e812534f130b
-# we don't support OpenStack scenario verification on OpenStack yet
-if [[ "$DEPLOY_SCENARIO" =~ "os-" ]] && [[ "$PROVISIONER_TYPE" == "heat" ]]; then
- echo "Info: OpenStack scenario verification on OpenStack has not been implemented yet!"
+# we only support k8s scenario deployment on openstack as of now
+if [[ "$DEPLOY_SCENARIO" != "k8-*" ]] && [[ "$PROVISIONER_TYPE" == "heat" ]]; then
+ echo "Info: Only k8s scenario verification on OpenStack has been implemented!"
-# we don't support OpenStack scenario verification on OpenStack yet
-if [[ "$DEPLOY_SCENARIO" =~ "os-" ]] && [[ "$PROVISIONER_TYPE" == "heat" ]]; then
+# we only support k8s scenario deployment on openstack as of now
+if [[ "$DEPLOY_SCENARIO" != "k8-*" ]] && [[ "$PROVISIONER_TYPE" == "heat" ]]; then
echo "-------------------------------------------------------------------------"
echo "-------------------------------------------------------------------------"
- echo "Info: OpenStack scenario verification on OpenStack has not been implemented yet!"
+ echo "Info: Only k8s scenario deployment on OpenStack has been implemented!"
echo "-------------------------------------------------------------------------"
exit 0
fi
echo "-------------------------------------------------------------------------"
exit 0
fi