Armada: Skip armada scenario deployment on cloud
[infra/cicd.git] / jjb / cloud-infra / delete-heat-stack.sh
index b3239445c1461a2a9381344a81804cdb2e362fb4..872ba304d9d67f82da1cc5c38959aa73debe5453 100644 (file)
@@ -29,10 +29,10 @@ if [[ $DEPLOY_TYPE != "cloud" ]]; then
   exit 0
 fi
 
-# 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 "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