From: Fatih Degirmenci Date: Thu, 29 Aug 2019 07:46:40 +0000 (+0000) Subject: Run onap pipelines automatically at midnight X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=42a4498e7f0945c37f1a6aa4cd1c82216ebf8c02;p=infra%2Fcicd.git Run onap pipelines automatically at midnight Stack will automatically be deleted for Dublin runs and left untouched for Master ones. Change-Id: I66df4405db1aaf6f2cbef6b8cad17426e7fd36de --- diff --git a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml index 4a0b86dd..dd500302 100644 --- a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml +++ b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml @@ -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 @@ -143,7 +145,7 @@ 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: @@ -172,6 +174,9 @@ - openstack: single-use: True + triggers: + - timed: '@midnight' + scm: - git-scm: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh