blob: a36d26e000f85b2c08884183f5c14a3206a596d1 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
4 job:
5 deploy-update-package:
6 type: workflow-scm
7 concurrent: true
8 display_name: "Update system package(s)"
9 scm:
10 type: git
11 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
12 credentials: "gerrit"
13 script: update-package.groovy
14 param:
15 SALT_MASTER_URL:
16 type: string
17 default: "http://10.10.10.1:8000"
18 SALT_MASTER_CREDENTIALS:
19 type: string
20 default: "salt"
21 UPDATE_SERVERS:
22 type: string
23 default: "*"
24 description: Salt compound target to match nodes to be updated.
25 UPDATE_PACKAGES:
26 type: string
27 default: ""
28 description: Space delimited list of packages to be updates [package1=version package2=version], empty string means all updating all packages to the latest version.
29 UPDATE_COMMIT:
30 type: boolean
31 default: false
32
33 deploy-heat-cleanup:
34 type: workflow-scm
35 concurrent: true
36 display_name: "Deploy - heat cleanup"
37 discard:
38 build:
39 keep_num: 20
40 scm:
41 type: git
42 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
43 credentials: "gerrit"
44 script: cleanup-pipeline.groovy
45 param:
46 # openstack api
47 OPENSTACK_API_URL:
48 type: string
49 default: "https://vpc.tcpisek.cz:5000/v2.0"
50 OPENSTACK_API_CREDENTIALS:
51 type: string
52 default: "openstack-qa-credentials"
53 OPENSTACK_API_PROJECT:
54 type: string
55 default: "mirantis_mk20_qa"
56 OPENSTACK_API_CLIENT:
57 type: string
58 default: "liberty"
59 OPENSTACK_API_VERSION:
60 type: string
61 default: "2"
62 # heat
63 HEAT_STACK_NAME:
64 type: string
65 description: This stack will be deleted.
66
67 job_template:
68 deploy_heat_template:
69 name: deploy-{{stack_type}}-{{lab}}
70 jobs:
71 # virtual
72 - lab: virtual_mcp05_dvr
73 install: core,openstack,dvr
74 stack_type: heat
75 - lab: virtual_mcp05_ovs
76 install: core,openstack,ovs
77 stack_type: heat
78 - lab: virtual_mcp10_contrail
79 install: core,openstack,contrail
80 stack_type: heat
81 - lab: virtual_mcp10_dvr
82 install: core,openstack,dvr
83 stack_type: heat
84 - lab: virtual_mcp10_ovs
85 install: core,openstack,ovs
86 stack_type: heat
87 - lab: virtual_mk20_advanced
88 install: core,openstack
89 stack_type: heat
90 - lab: virtual_mk20_basic
91 install: core,openstack
92 stack_type: heat
93 - lab: virtual_mk22_advanced
94 install: core,openstack
95 stack_type: heat
96 - lab: virtual_mk22_basic
97 install: core,openstack
98 stack_type: heat
99 # physical
100 - lab: mcp10_contrail
101 install: core,kvm,openstack,contrail
102 stack_type: physical
103 - lab: mcp10_opencontrail_nfv
104 install: core,kvm,openstack,nfv
105 stack_type: physical
106 - lab: mcp10_dvr
107 install: core,kvm,openstack,dvr
108 stack_type: physical
109 - lab: mcp10_non_dvr
110 install: core,kvm,openstack
111 stack_type: physical
112 template:
113 type: workflow-scm
114 discard:
115 build:
116 keep_num: 20
117 concurrent: true
118 display_name: "Deploy - {{lab}} {{stack_type}} lab"
119 scm:
120 type: git
121 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
122 credentials: "gerrit"
123 script: lab-pipeline.groovy
124 param:
125 # deployments and test settings
126 STACK_TYPE:
127 type: string
128 default: "{{stack_type}}"
129 INSTALL:
130 type: string
131 default: "{{install}}"
132 TEST:
133 type: string
134 default: ""
135
136 # heat
137 HEAT_TEMPLATE_URL:
138 type: string
139 default: "git@github.com:Mirantis/mk-lab-heat-templates.git"
140 HEAT_TEMPLATE_CREDENTIALS:
141 type: string
142 default: "gerrit"
143 HEAT_TEMPLATE_BRANCH:
144 type: string
145 default: "composite"
146 HEAT_STACK_NAME:
147 type: string
148 description: Heat stack name. Will be generated if missing.
149 HEAT_STACK_TEMPLATE:
150 type: string
151 default: "{{lab}}"
152 HEAT_STACK_ENVIRONMENT:
153 type: string
154 default: "tcpisek"
155 HEAT_STACK_ZONE:
156 type: string
157 default: "mirantis-zone-qa"
158 HEAT_STACK_PUBLIC_NET:
159 type: string
160 default: "mirantis-private"
161 HEAT_STACK_DELETE:
162 type: boolean
163 default: 'true'
164 HEAT_STACK_REUSE:
165 type: boolean
166 default: 'false'
167
168 # salt master
169 SALT_MASTER_CREDENTIALS:
170 type: string
171 default: "salt-qa-credentials"
172 SALT_MASTER_URL:
173 type: string
174 default: ""
175
176 # openstack api
177 OPENSTACK_API_URL:
178 type: string
179 default: "https://vpc.tcpisek.cz:5000/v2.0"
180 OPENSTACK_API_CREDENTIALS:
181 type: string
182 default: "openstack-qa-credentials"
183 OPENSTACK_API_PROJECT:
184 type: string
185 default: "mirantis_mk20_qa"
186 OPENSTACK_API_CLIENT:
187 type: string
188 default: "liberty"
189 OPENSTACK_API_VERSION:
190 type: string
191 default: "2"
192
193 # k8s setttings
194 K8S_API_SERVER:
195 type: string
196 default: "http://127.0.0.1:8080"
197 K8S_CONFORMANCE_IMAGE:
198 type: string
199 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
200
201 # Tempest settings
202 TEMPEST_IMAGE_LINK:
203 type: string
204 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
205