Run onap pipelines automatically at midnight 98/2098/1
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 29 Aug 2019 07:46:40 +0000 (07:46 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 29 Aug 2019 07:46:40 +0000 (07:46 +0000)
Stack will automatically be deleted for Dublin runs and left
untouched for Master ones.

Change-Id: I66df4405db1aaf6f2cbef6b8cad17426e7fd36de

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

index 4a0b86dd9d7a59aaf646047df333232f47a5b8ee..dd5003023ad4c1b261e677fbb3e158ddd0802b1b 100644 (file)
@@ -38,6 +38,7 @@
           deploy-scenario-version: master
           deploy-scenario-refspec: master
           disabled: false
+          delete-stack: yes
       - 'master':
           nordix-branch: master
           onap-version: master
@@ -47,6 +48,7 @@
           deploy-scenario-version: master
           deploy-scenario-refspec: master
           disabled: false
+          delete-stack: no
 
     distro:
       - ubuntu1804
           choices:
             - 'yes'
             - 'no'
-          default: 'yes'
+          default: '{delete-stack}'
           description: 'Development purposes only! Whether delete the stack or not. Default is yes. Setting this to no will increase the cost!'
 
     properties:
       - openstack:
           single-use: True
 
+    triggers:
+      - timed: '@midnight'
+
     scm:
       - git-scm:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh