Switch to string parameter for delete_stack 99/2099/2
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 29 Aug 2019 07:57:41 +0000 (07:57 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 29 Aug 2019 07:59:35 +0000 (07:59 +0000)
Choice parameter does not respect the default value setting so
we need to switch to string parameter.

Change-Id: Iefe88173cb7ea39fcc0f4f4f8561802f77552ad3

jjb/cloud-infra/cloud-infra-periodic-onap.yaml

index dd5003023ad4c1b261e677fbb3e158ddd0802b1b..b69a4bf49b4b726103993cecf78365124b49f935 100644 (file)
           name: POD_NAME
           default: '{pod-name}'
           description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-      - choice:
+      - string:
           name: DELETE_STACK
-          choices:
-            - 'yes'
-            - 'no'
           default: '{delete-stack}'
-          description: 'Development purposes only! Whether delete the stack or not. Default is yes. Setting this to no will increase the cost!'
+          description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
 
     properties:
       - logrotate