Avoid deleting stack for unsupported OS on OS deployments. 91/2691/3
authorSriram Yagnaraman <sriram.y@gmail.com>
Tue, 22 Oct 2019 09:55:25 +0000 (11:55 +0200)
committerSriram Yagnaraman <sriram.y@gmail.com>
Tue, 22 Oct 2019 12:55:40 +0000 (14:55 +0200)
Openstack on heat provisioner is not supported. So there is no
stack to delete, so just quit gracefully.

Also increasing job timeout for functest to 60 mins, as
openstack functest-healthcheck takes more than 30 mins now.

installer-type: kolla
deploy-scenario: os-nosdn-nofeature

Change-Id: I1d0640a0d0f615df2af206a163daa736fd084a4d

jjb/cloud-infra/cloud-infra-verify-engine.yaml
jjb/cloud-infra/delete-heat-stack.sh

index b6e58970c4cc4ab447f64af697aa039e1a3c0ee3..21c46550880e526aa7c4496b858e7b50b30e1d93 100644 (file)
@@ -80,7 +80,7 @@
       - deploy:
           build-timeout: 90
       - functest:
-          build-timeout: 30
+          build-timeout: 60
 
     jobs:
       - 'cloud-infra-verify-engine-{distro}-{cloud}-{type}-{stream}'
index 2bd6c732a10675b8a1ba947b78b728d2279506fb..b3239445c1461a2a9381344a81804cdb2e362fb4 100644 (file)
@@ -29,6 +29,14 @@ 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
+  echo "-------------------------------------------------------------------------"
+  echo "Info: OpenStack scenario verification on OpenStack has not been implemented yet!"
+  echo "-------------------------------------------------------------------------"
+  exit 0
+fi
+
 if [[ "$DELETE_STACK" != "yes" ]]; then
   echo "-------------------------------------------------------------------------"
   echo "Info: Stack will not be deleted upon the completion of the job!"