Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | deploy-heat-cleanup: |
| 6 | type: workflow-scm |
| 7 | concurrent: true |
| 8 | display_name: "Deploy - heat cleanup" |
| 9 | discard: |
| 10 | build: |
| 11 | keep_num: 20 |
| 12 | scm: |
| 13 | type: git |
| 14 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 15 | credentials: "gerrit" |
| 16 | script: cleanup-pipeline.groovy |
| 17 | param: |
| 18 | # openstack api |
| 19 | OPENSTACK_API_URL: |
| 20 | type: string |
| 21 | default: "https://vpc.tcpisek.cz:5000/v2.0" |
| 22 | OPENSTACK_API_CREDENTIALS: |
| 23 | type: string |
| 24 | default: "openstack-qa-credentials" |
| 25 | OPENSTACK_API_PROJECT: |
| 26 | type: string |
| 27 | default: "mirantis_mk20_qa" |
| 28 | OPENSTACK_API_CLIENT: |
| 29 | type: string |
| 30 | default: "liberty" |
| 31 | OPENSTACK_API_VERSION: |
| 32 | type: string |
| 33 | default: "2" |
| 34 | # heat |
| 35 | HEAT_STACK_NAME: |
| 36 | type: string |
| 37 | description: This stack will be deleted. |
Jakub Josef | 556c7b3 | 2017-04-19 17:21:54 +0200 | [diff] [blame] | 38 | delete-failed-stacks: |
| 39 | type: workflow-scm |
| 40 | concurrent: true |
| 41 | display_name: "Deploy - delete failed stacks" |
| 42 | discard: |
| 43 | build: |
| 44 | keep_num: 20 |
| 45 | scm: |
| 46 | type: git |
| 47 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 48 | credentials: "gerrit" |
| 49 | script: delete-broken-stacks-pipeline.groovy |
| 50 | trigger: |
| 51 | timer: |
| 52 | spec: "0 H * * *" |
| 53 | param: |
| 54 | # openstack api |
| 55 | OPENSTACK_API_URL: |
| 56 | type: string |
| 57 | default: "https://vpc.tcpisek.cz:5000/v2.0" |
| 58 | OPENSTACK_API_CREDENTIALS: |
| 59 | type: string |
| 60 | default: "openstack-qa-credentials" |
| 61 | OPENSTACK_API_PROJECT: |
| 62 | type: string |
| 63 | default: "mirantis_mk20_qa" |
| 64 | OPENSTACK_API_CLIENT: |
| 65 | type: string |
| 66 | default: "liberty" |
| 67 | OPENSTACK_API_VERSION: |
| 68 | type: string |
| 69 | default: "2" |