blob: 8658eec25078777475acf059e45caa2d3f9326fd [file] [log] [blame]
Filip Pytloun260a9502017-03-16 12:47:22 +01001parameters:
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"
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040034 OPENSTACK_API_PROJECT_DOMAIN_ID:
35 type: string
36 default: "default"
37 OPENSTACK_API_USER_DOMAIN_ID:
38 type: string
39 default: "default"
Filip Pytloun260a9502017-03-16 12:47:22 +010040 # heat
41 HEAT_STACK_NAME:
42 type: string
43 description: This stack will be deleted.
Jakub Josef556c7b32017-04-19 17:21:54 +020044 delete-failed-stacks:
45 type: workflow-scm
46 concurrent: true
47 display_name: "Deploy - delete failed stacks"
48 discard:
49 build:
50 keep_num: 20
51 scm:
52 type: git
53 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
54 credentials: "gerrit"
55 script: delete-broken-stacks-pipeline.groovy
56 trigger:
57 timer:
58 spec: "0 H * * *"
59 param:
60 # openstack api
61 OPENSTACK_API_URL:
62 type: string
63 default: "https://vpc.tcpisek.cz:5000/v2.0"
64 OPENSTACK_API_CREDENTIALS:
65 type: string
66 default: "openstack-qa-credentials"
67 OPENSTACK_API_PROJECT:
68 type: string
69 default: "mirantis_mk20_qa"
70 OPENSTACK_API_CLIENT:
71 type: string
72 default: "liberty"
73 OPENSTACK_API_VERSION:
74 type: string
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040075 default: "2"
76 OPENSTACK_API_PROJECT_DOMAIN_ID:
77 type: string
78 default: "default"
79 OPENSTACK_API_USER_DOMAIN_ID:
80 type: string
81 default: "default"