blob: d5dca47c007a669bd6b1fd3a6dab6128cc088143 [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
Jakub Josef04f33202017-05-30 17:53:21 +020032 default: "https://vpc.tcpisek.cz:5000"
Filip Pytloun260a9502017-03-16 12:47:22 +010033 OPENSTACK_API_CREDENTIALS:
34 type: string
35 default: "openstack-qa-credentials"
36 OPENSTACK_API_PROJECT:
37 type: string
38 default: "mirantis_mk20_qa"
39 OPENSTACK_API_CLIENT:
40 type: string
41 default: "liberty"
42 OPENSTACK_API_VERSION:
43 type: string
44 default: "2"
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"
54 OPENSTACK_API_USER_DOMAIN:
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040055 type: string
56 default: "default"
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020057
58 # aws parameters
59 AWS_API_CREDENTIALS:
Filip Pytloun260a9502017-03-16 12:47:22 +010060 type: string
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020061 default: "aws-credentials"
62 AWS_DEFAULT_REGION:
63 type: string
64 default: "us-west-2"
65
Jakub Josef556c7b32017-04-19 17:21:54 +020066 delete-failed-stacks:
67 type: workflow-scm
68 concurrent: true
69 display_name: "Deploy - delete failed stacks"
70 discard:
71 build:
72 keep_num: 20
73 scm:
74 type: git
75 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
76 credentials: "gerrit"
77 script: delete-broken-stacks-pipeline.groovy
78 trigger:
79 timer:
80 spec: "0 H * * *"
81 param:
82 # openstack api
83 OPENSTACK_API_URL:
84 type: string
Jakub Josef04f33202017-05-30 17:53:21 +020085 default: "https://vpc.tcpisek.cz:5000"
Jakub Josef556c7b32017-04-19 17:21:54 +020086 OPENSTACK_API_CREDENTIALS:
87 type: string
88 default: "openstack-qa-credentials"
89 OPENSTACK_API_PROJECT:
90 type: string
91 default: "mirantis_mk20_qa"
92 OPENSTACK_API_CLIENT:
93 type: string
94 default: "liberty"
95 OPENSTACK_API_VERSION:
96 type: string
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040097 default: "2"
98 OPENSTACK_API_PROJECT_DOMAIN_ID:
99 type: string
100 default: "default"
101 OPENSTACK_API_USER_DOMAIN_ID:
102 type: string
103 default: "default"