blob: 626dd4e42eef4e4902c1e744642ebbcaccb900a9 [file] [log] [blame]
Filip Pytloun260a9502017-03-16 12:47:22 +01001parameters:
2 jenkins:
3 client:
4 job:
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +02005 deploy-stack-cleanup:
Filip Pytloun260a9502017-03-16 12:47:22 +01006 type: workflow-scm
7 concurrent: true
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +02008 display_name: "Deploy - stack cleanup"
Filip Pytloun260a9502017-03-16 12:47:22 +01009 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:
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020018 # general parameters
19 STACK_NAME:
20 type: string
21 description: This stack will be deleted.
22 STACK_TYPE:
23 type: choice
24 choices:
25 - heat
26 - aws
27 default: 'heat'
28
29 # heat parameters
Filip Pytloun260a9502017-03-16 12:47:22 +010030 OPENSTACK_API_URL:
31 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020032 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun260a9502017-03-16 12:47:22 +010033 OPENSTACK_API_CREDENTIALS:
34 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020035 default: "openstack-devcloud-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010036 OPENSTACK_API_PROJECT:
37 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020038 default: "mcp-mk"
Filip Pytloun260a9502017-03-16 12:47:22 +010039 OPENSTACK_API_CLIENT:
40 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020041 default: ""
Filip Pytloun260a9502017-03-16 12:47:22 +010042 OPENSTACK_API_VERSION:
43 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020044 default: "3"
Matthew Mosesohn480aa322017-06-01 18:46:12 +030045 OPENSTACK_API_PROJECT_DOMAIN:
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040046 type: string
47 default: "default"
Matthew Mosesohn480aa322017-06-01 18:46:12 +030048 OPENSTACK_API_PROJECT_ID:
49 type: string
50 default: ""
51 OPENSTACK_API_USER_DOMAIN:
52 type: string
53 default: "default"
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020054
55 # aws parameters
56 AWS_API_CREDENTIALS:
Filip Pytloun260a9502017-03-16 12:47:22 +010057 type: string
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020058 default: "aws-credentials"
59 AWS_DEFAULT_REGION:
60 type: string
61 default: "us-west-2"
62
Jakub Josef556c7b32017-04-19 17:21:54 +020063 delete-failed-stacks:
64 type: workflow-scm
65 concurrent: true
66 display_name: "Deploy - delete failed stacks"
67 discard:
68 build:
69 keep_num: 20
70 scm:
71 type: git
72 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
73 credentials: "gerrit"
74 script: delete-broken-stacks-pipeline.groovy
75 trigger:
76 timer:
77 spec: "0 H * * *"
78 param:
79 # openstack api
80 OPENSTACK_API_URL:
81 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020082 default: "https://cloud-cz.bud.mirantis.net:5000"
Jakub Josef556c7b32017-04-19 17:21:54 +020083 OPENSTACK_API_CREDENTIALS:
84 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020085 default: "openstack-devcloud-credentials"
Jakub Josef556c7b32017-04-19 17:21:54 +020086 OPENSTACK_API_PROJECT:
87 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020088 default: "mcp-mk"
Jakub Josef556c7b32017-04-19 17:21:54 +020089 OPENSTACK_API_CLIENT:
90 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020091 default: ""
Jakub Josef556c7b32017-04-19 17:21:54 +020092 OPENSTACK_API_VERSION:
93 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020094 default: "3"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +030095 OPENSTACK_API_PROJECT_DOMAIN:
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040096 type: string
97 default: "default"
98 OPENSTACK_API_USER_DOMAIN_ID:
99 type: string
100 default: "default"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300101 OPENSTACK_API_PROJECT_ID:
102 type: string
103 default: ""
104 OPENSTACK_API_USER_DOMAIN:
105 type: string
106 default: "default"