blob: 57cd09b0d8ef07f459db3265be535ad73b4b4702 [file] [log] [blame]
Kailash Khalasi417d13f2018-04-17 12:38:48 -07001---
2# POD Nightly Build Pipeline Jobs
3
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -080013 build-days-to-keep: '{big-build-days-to-keep}'
14 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash Khalasi417d13f2018-04-17 12:38:48 -070015
Kailash Khalasi417d13f2018-04-17 12:38:48 -070016
17- job-template:
Suchitra Vemurifad6ee42020-09-01 22:14:53 -070018 name: 'build_{profile}{name-extension}_{config-pod}_{branch}_manual'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070019 id: build_pod_manual
20 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -070021 Manual Build on POD {config-pod} using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -070022 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070023 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
24 Copyright (c) 2018 Open Networking Foundation (ONF)
25
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +010026 openoltAdapterChart: onf/voltha-adapter-openolt
27
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070028 <<: *test-pipe-job-boiler-plate
29
30 parameters:
31 - string:
Zack Williams8ef79812019-10-29 11:09:18 -070032 name: buildNode
33 default: '{build-node}'
34 description: 'Name of the Jenkins executor node to run the job on'
35
36 - string:
hwchiu14f97852019-10-08 10:51:11 -070037 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -070038 default: '{build-node}'
39 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070040
41 - string:
hwchiu14f97852019-10-08 10:51:11 -070042 name: cordRepoUrl
43 default: '{gerrit-server-url}'
44 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070045
46 - string:
hwchiu14f97852019-10-08 10:51:11 -070047 name: configBaseDir
48 default: 'pod-configs'
49 description: 'The directory inside the POD configs repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070050
51 - string:
hwchiu14f97852019-10-08 10:51:11 -070052 name: configDeploymentDir
53 default: 'deployment-configs'
54 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070055
56 - string:
hwchiu14f97852019-10-08 10:51:11 -070057 name: configKubernetesDir
58 default: 'kubernetes-configs'
59 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070060
61 - string:
hwchiu14f97852019-10-08 10:51:11 -070062 name: configToscaDir
63 default: 'tosca-configs'
64 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -070065
66 - string:
hwchiu14f97852019-10-08 10:51:11 -070067 name: configFileName
68 default: '{config-pod}'
69 description: 'The config file'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070070
71 - string:
hwchiu14f97852019-10-08 10:51:11 -070072 name: branch
73 default: '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070074
Kailash Khalasi9559f362018-09-14 13:53:28 -070075 - string:
hwchiu14f97852019-10-08 10:51:11 -070076 name: helmRepoUrl
77 default: 'https://charts.opencord.org'
78 description: 'URL where helm-charts are published'
Kailash876b9012019-03-13 13:22:34 -070079
80 - string:
hwchiu14f97852019-10-08 10:51:11 -070081 name: profile
82 default: '{profile}'
83 description: 'Profile in which this job installs'
Kailash Khalasi9559f362018-09-14 13:53:28 -070084
Kailashdee47a02018-11-29 08:46:32 -080085 - string:
hwchiu14f97852019-10-08 10:51:11 -070086 name: notificationEmail
87 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
88 description: ''
Kailashdee47a02018-11-29 08:46:32 -080089
Kailash Khalasice9eaec2018-09-14 12:01:56 -070090 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070091 name: installMonitoringAndLogging
92 default: false
93 description: "Wether to install prometheus and Elk-stack"
94
95 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070096 name: configurePod
97 default: true
98 description: "Configure POD via TOSCA post build"
99
Kailashdee47a02018-11-29 08:46:32 -0800100 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700101 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700102 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700103 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700104
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800105 - bool:
106 name: installBBSim
107 default: false
108 description: "Install the BBSim container"
109
110 - string:
111 name: onuNumber
112 default: '16'
113 description: "Onus per PonPort"
114
Suchitra Vemurie0451712020-05-06 22:51:23 -0700115 - string:
116 name: workFlow
117 default: '{work-flow}'
118 description: 'Installs and uses the specified work flow on the POD'
119
120 - string:
121 name: NumOfOpenOnu
122 default: '{num-of-openonu}'
123 description: 'Installs the specified Number of OpenOnu Adapters'
124
125 - string:
126 name: NumOfOnos
127 default: '{num-of-onos}'
128 description: 'Installs the specified Number of ONOS instances'
129
Suchitra Vemuria0d92052020-07-15 11:36:12 -0700130 - bool:
131 name: inBandManagement
132 default: '{in-band-management}'
133 description: 'Indicates whether POD is configured for in band management'
134
Suchitra Vemurie0451712020-05-06 22:51:23 -0700135 - string:
136 name: NumOfAtomix
137 default: '{num-of-atomix}'
138 description: 'Installs the specified Number of Atomix Instances'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100139
140 - string:
141 name: openoltAdapterChart
142 default: '{openoltAdapterChart}'
143 description: 'OpenOLT chart name (or location on file system)'
144
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700145 concurrent: true
146
147 pipeline-scm:
148 script-path: '{Jenkinsfile}'
149 scm:
150 - git:
hwchiu14f97852019-10-08 10:51:11 -0700151 url: '{gerrit-server-url}/{test-repo}'
152 branches:
153 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700154
155- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700156 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700157 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700158 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700159 Nightly Kubernetes tests on {config-pod} using {Jenkinsfile}<br /><br />
160 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml<br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700161 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
162 Copyright (c) 2017 Open Networking Foundation (ONF)
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100163 disabled: '{disable-job}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700164
165 <<: *test-pipe-job-boiler-plate
166
167 parameters:
168 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700169 name: buildNode
170 default: '{build-node}'
171 description: 'Name of the Jenkins executor node to run the job on'
172
173 - string:
hwchiu14f97852019-10-08 10:51:11 -0700174 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700175 default: '{build-node}'
176 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700177
178 - string:
hwchiu14f97852019-10-08 10:51:11 -0700179 name: cordRepoUrl
180 default: '{gerrit-server-url}'
181 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700182
183 - string:
hwchiu14f97852019-10-08 10:51:11 -0700184 name: configBaseDir
185 default: 'pod-configs'
186 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700187
188 - string:
hwchiu14f97852019-10-08 10:51:11 -0700189 name: configDeploymentDir
190 default: 'deployment-configs'
191 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700192
193 - string:
hwchiu14f97852019-10-08 10:51:11 -0700194 name: configKubernetesDir
195 default: 'kubernetes-configs'
196 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700197
198 - string:
hwchiu14f97852019-10-08 10:51:11 -0700199 name: configToscaDir
200 default: 'tosca-configs'
201 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700202
203 - string:
hwchiu14f97852019-10-08 10:51:11 -0700204 name: configFileName
205 default: '{config-pod}'
206 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700207
208 - string:
hwchiu14f97852019-10-08 10:51:11 -0700209 name: oltDebVersion
210 default: '{oltDebVersion}'
211 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700212
213 - string:
hwchiu14f97852019-10-08 10:51:11 -0700214 name: branch
215 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700216
217 - string:
hwchiu14f97852019-10-08 10:51:11 -0700218 name: helmRepoUrl
219 default: 'https://charts.opencord.org'
220 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700221
222 - string:
hwchiu14f97852019-10-08 10:51:11 -0700223 name: profile
224 default: '{profile}'
225 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700226
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700227 - bool:
228 name: configurePod
229 default: true
230 description: "Configure POD via TOSCA post build"
231
Kailashdee47a02018-11-29 08:46:32 -0800232 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700233 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700234 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700235 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800236
237 - bool:
238 name: installBBSim
239 default: false
240 description: "Install the BBSim container"
241
242 - string:
243 name: onuNumber
244 default: '16'
245 description: "Onus per PonPort"
246
Kailash Khalasi9559f362018-09-14 13:53:28 -0700247 - string:
hwchiu14f97852019-10-08 10:51:11 -0700248 name: notificationEmail
249 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
250 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700251
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700252 concurrent: true
253
254 pipeline-scm:
255 script-path: '{Jenkinsfile}'
256 scm:
257 - git:
hwchiu14f97852019-10-08 10:51:11 -0700258 url: '{gerrit-server-url}/{test-repo}'
259 branches:
260 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700261
262 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700263 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700264 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700265 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700266
267- job-template:
268 name: 'build_{profile}_{config-pod}_{branch}_test'
269 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100270
271 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700272 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700273 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700274 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700275 Created by Kailash Khalasi - kailash@opennetworking.org <br />
276 Copyright (c) 2017 Open Networking Foundation (ONF)
277
278 <<: *test-pipe-job-boiler-plate
279
280 parameters:
281 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700282 name: buildNode
283 default: '{build-node}'
284 description: 'Name of the Jenkins executor node to run the job on'
285
286 - string:
hwchiu14f97852019-10-08 10:51:11 -0700287 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700288 default: '{build-node}'
289 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700290
291 - string:
hwchiu14f97852019-10-08 10:51:11 -0700292 name: cordRepoUrl
293 default: '{gerrit-server-url}'
294 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700295
296 - string:
hwchiu14f97852019-10-08 10:51:11 -0700297 name: configBaseDir
298 default: 'pod-configs'
299 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700300
301 - string:
hwchiu14f97852019-10-08 10:51:11 -0700302 name: configDeploymentDir
303 default: 'deployment-configs'
304 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700305
306 - string:
hwchiu14f97852019-10-08 10:51:11 -0700307 name: configKubernetesDir
308 default: 'kubernetes-configs'
309 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700310
311 - string:
hwchiu14f97852019-10-08 10:51:11 -0700312 name: configToscaDir
313 default: 'tosca-configs'
314 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700315
316 - string:
hwchiu14f97852019-10-08 10:51:11 -0700317 name: configFileName
318 default: '{config-pod}'
319 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700320
321 - string:
hwchiu14f97852019-10-08 10:51:11 -0700322 name: branch
323 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700324
325 - string:
hwchiu14f97852019-10-08 10:51:11 -0700326 name: notificationEmail
327 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
328 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700329
330 concurrent: true
331
332 pipeline-scm:
333 script-path: '{Jenkinsfile}'
334 scm:
335 - git:
hwchiu14f97852019-10-08 10:51:11 -0700336 url: '{gerrit-server-url}/{test-repo}'
337 branches:
338 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700339
340 triggers:
341 - reverse:
342 jobs: 'build_{profile}_{config-pod}_{branch}'
343 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800344
345- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800346 name: 'build_{config-pod}_seba_release_{release}'
347 id: build_pod_manual_release
348 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700349 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700350 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800351 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
352 Copyright (c) 2018 Open Networking Foundation (ONF)
353
354 <<: *test-pipe-job-boiler-plate
355
356 parameters:
357 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700358 name: buildNode
359 default: '{build-node}'
360 description: 'Name of the Jenkins executor node to run the job on'
361
362 - string:
hwchiu14f97852019-10-08 10:51:11 -0700363 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700364 default: '{build-node}'
365 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800366
367 - string:
hwchiu14f97852019-10-08 10:51:11 -0700368 name: cordRepoUrl
369 default: '{gerrit-server-url}'
370 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800371
372 - string:
hwchiu14f97852019-10-08 10:51:11 -0700373 name: configBaseDir
374 default: 'pod-configs'
375 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800376
377 - string:
hwchiu14f97852019-10-08 10:51:11 -0700378 name: configDeploymentDir
379 default: 'deployment-configs'
380 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800381
382 - string:
hwchiu14f97852019-10-08 10:51:11 -0700383 name: configKubernetesDir
384 default: 'kubernetes-configs'
385 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800386
387 - string:
hwchiu14f97852019-10-08 10:51:11 -0700388 name: configToscaDir
389 default: 'tosca-configs'
390 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800391
392 - string:
hwchiu14f97852019-10-08 10:51:11 -0700393 name: configFileName
394 default: '{config-pod}'
395 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800396
397 - string:
hwchiu14f97852019-10-08 10:51:11 -0700398 name: oltDebVersion
399 default: '{oltDebVersion}'
400 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800401
402 - string:
hwchiu14f97852019-10-08 10:51:11 -0700403 name: branch
404 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800405
406 - string:
hwchiu14f97852019-10-08 10:51:11 -0700407 name: notificationEmail
408 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
409 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800410
411 - bool:
412 name: configurePod
413 default: true
414 description: "Configure POD via TOSCA post build"
415
416 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700417 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700418 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700419 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800420
421 - bool:
422 name: installBBSim
423 default: false
424 description: "Install the BBSim container"
425
426 - string:
427 name: onuNumber
428 default: '16'
429 description: "Onus per PonPort"
430
431 concurrent: true
432
433 pipeline-scm:
434 script-path: '{Jenkinsfile}'
435 scm:
436 - git:
hwchiu14f97852019-10-08 10:51:11 -0700437 url: '{gerrit-server-url}/cord-tester'
438 branches:
439 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800440
441- job-template:
442 name: 'build_{config-pod}_seba_release_{release}'
443 id: build_pod_release
444 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700445 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700446 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800447 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
448 Copyright (c) 2018 Open Networking Foundation (ONF)
449
450 <<: *test-pipe-job-boiler-plate
451
452 parameters:
453 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700454 name: buildNode
455 default: '{build-node}'
456 description: 'Name of the Jenkins executor node to run the job on'
457
458 - string:
hwchiu14f97852019-10-08 10:51:11 -0700459 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700460 default: '{build-node}'
461 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800462
463 - string:
hwchiu14f97852019-10-08 10:51:11 -0700464 name: cordRepoUrl
465 default: '{gerrit-server-url}'
466 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800467
468 - string:
hwchiu14f97852019-10-08 10:51:11 -0700469 name: configBaseDir
470 default: 'pod-configs'
471 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800472
473 - string:
hwchiu14f97852019-10-08 10:51:11 -0700474 name: configDeploymentDir
475 default: 'deployment-configs'
476 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800477
478 - string:
hwchiu14f97852019-10-08 10:51:11 -0700479 name: configKubernetesDir
480 default: 'kubernetes-configs'
481 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800482
483 - string:
hwchiu14f97852019-10-08 10:51:11 -0700484 name: configToscaDir
485 default: 'tosca-configs'
486 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800487
488 - string:
hwchiu14f97852019-10-08 10:51:11 -0700489 name: configFileName
490 default: '{config-pod}'
491 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800492
493 - string:
hwchiu14f97852019-10-08 10:51:11 -0700494 name: oltDebVersion
495 default: '{oltDebVersion}'
496 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800497
498 - string:
hwchiu14f97852019-10-08 10:51:11 -0700499 name: helmRepoUrl
500 default: 'https://charts.opencord.org'
501 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700502
503 - string:
hwchiu14f97852019-10-08 10:51:11 -0700504 name: branch
505 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800506
507 - string:
hwchiu14f97852019-10-08 10:51:11 -0700508 name: notificationEmail
509 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
510 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800511
512 - bool:
513 name: configurePod
514 default: true
515 description: "Configure POD via TOSCA post build"
516
517 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700518 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700519 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700520 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800521
522 - bool:
523 name: installBBSim
524 default: false
525 description: "Install the BBSim container"
526
527 - string:
528 name: onuNumber
529 default: '16'
530 description: "Onus per PonPort"
531
532 concurrent: true
533
534 pipeline-scm:
535 script-path: '{Jenkinsfile}'
536 scm:
537 - git:
hwchiu14f97852019-10-08 10:51:11 -0700538 url: '{gerrit-server-url}/cord-tester'
539 branches:
540 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800541
542 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700543 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800544 TZ=America/Los_Angeles
545 H {time} * * *
546
547- job-template:
548 name: 'build_{config-pod}_seba_release_{release}_test'
549 id: build_pod_release_test
550 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700551 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700552 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800553 Created by Kailash Khalasi - kailash@opennetworking.org <br />
554 Copyright (c) 2017 Open Networking Foundation (ONF)
555
556 <<: *test-pipe-job-boiler-plate
557
558 parameters:
559 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700560 name: buildNode
561 default: '{build-node}'
562 description: 'Name of the Jenkins executor node to run the job on'
563
564 - string:
hwchiu14f97852019-10-08 10:51:11 -0700565 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700566 default: '{build-node}'
567 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800568
569 - string:
hwchiu14f97852019-10-08 10:51:11 -0700570 name: cordRepoUrl
571 default: '{gerrit-server-url}'
572 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800573
574 - string:
hwchiu14f97852019-10-08 10:51:11 -0700575 name: configBaseDir
576 default: 'pod-configs'
577 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800578
579 - string:
hwchiu14f97852019-10-08 10:51:11 -0700580 name: configDeploymentDir
581 default: 'deployment-configs'
582 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800583
584 - string:
hwchiu14f97852019-10-08 10:51:11 -0700585 name: configKubernetesDir
586 default: 'kubernetes-configs'
587 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800588
589 - string:
hwchiu14f97852019-10-08 10:51:11 -0700590 name: configToscaDir
591 default: 'tosca-configs'
592 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800593
594 - string:
hwchiu14f97852019-10-08 10:51:11 -0700595 name: configFileName
596 default: '{config-pod}'
597 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800598
599 - string:
hwchiu14f97852019-10-08 10:51:11 -0700600 name: branch
601 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800602
603 - string:
hwchiu14f97852019-10-08 10:51:11 -0700604 name: notificationEmail
605 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
606 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800607
608 concurrent: true
609
610 pipeline-scm:
611 script-path: '{Jenkinsfile}'
612 scm:
613 - git:
hwchiu14f97852019-10-08 10:51:11 -0700614 url: '{gerrit-server-url}/cord-tester'
615 branches:
616 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800617
618 triggers:
619 - reverse:
620 jobs: 'build_{config-pod}_seba_release_{release}'
621 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800622
623
624- job-template:
625 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
626 id: build_pod_release_test_microcharts
627 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700628 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700629 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800630 Created by Kailash Khalasi - kailash@opennetworking.org <br />
631 Copyright (c) 2017 Open Networking Foundation (ONF)
632
633 <<: *test-pipe-job-boiler-plate
634
635 parameters:
636 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700637 name: buildNode
638 default: '{build-node}'
639 description: 'Name of the Jenkins executor node to run the job on'
640
641 - string:
hwchiu14f97852019-10-08 10:51:11 -0700642 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700643 default: '{build-node}'
644 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800645
646 - string:
hwchiu14f97852019-10-08 10:51:11 -0700647 name: cordRepoUrl
648 default: '{gerrit-server-url}'
649 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800650
651 - string:
hwchiu14f97852019-10-08 10:51:11 -0700652 name: configBaseDir
653 default: 'pod-configs'
654 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800655
656 - string:
hwchiu14f97852019-10-08 10:51:11 -0700657 name: configDeploymentDir
658 default: 'deployment-configs'
659 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800660
661 - string:
hwchiu14f97852019-10-08 10:51:11 -0700662 name: configKubernetesDir
663 default: 'kubernetes-configs'
664 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800665
666 - string:
hwchiu14f97852019-10-08 10:51:11 -0700667 name: configToscaDir
668 default: 'tosca-configs'
669 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800670
671 - string:
hwchiu14f97852019-10-08 10:51:11 -0700672 name: configFileName
673 default: '{config-pod}'
674 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800675
676 - string:
hwchiu14f97852019-10-08 10:51:11 -0700677 name: branch
678 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800679
680 - string:
hwchiu14f97852019-10-08 10:51:11 -0700681 name: notificationEmail
682 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
683 description: ''
Kailash5b1a1612018-12-21 15:17:21 -0800684
685 concurrent: true
686
687 pipeline-scm:
688 script-path: '{Jenkinsfile}'
689 scm:
690 - git:
hwchiu14f97852019-10-08 10:51:11 -0700691 url: '{gerrit-server-url}/cord-tester'
692 branches:
693 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800694
695 triggers:
696 - reverse:
697 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
698 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800699
700
701- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800702 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800703 id: build_mcord_pod_manual
704 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700705 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800706 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
707 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
708 Copyright (c) 2019 Open Networking Foundation (ONF)
709
710 <<: *test-pipe-job-boiler-plate
711
712 parameters:
713 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700714 name: buildNode
715 default: '{build-node}'
716 description: 'Name of the Jenkins executor node to run the job on'
717
718 - string:
hwchiu14f97852019-10-08 10:51:11 -0700719 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700720 default: '{build-node}'
721 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800722
723 - string:
hwchiu14f97852019-10-08 10:51:11 -0700724 name: cordRepoUrl
725 default: '{gerrit-server-url}'
726 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800727
728 - string:
hwchiu14f97852019-10-08 10:51:11 -0700729 name: configBaseDir
730 default: 'pod-configs'
731 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800732
733 - string:
hwchiu14f97852019-10-08 10:51:11 -0700734 name: configDeploymentDir
735 default: 'deployment-configs'
736 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800737
738 - string:
hwchiu14f97852019-10-08 10:51:11 -0700739 name: configKubernetesDir
740 default: 'kubernetes-configs'
741 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800742
743 - string:
hwchiu14f97852019-10-08 10:51:11 -0700744 name: configToscaDir
745 default: 'tosca-configs'
746 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800747
748 - string:
hwchiu14f97852019-10-08 10:51:11 -0700749 name: configFileName
750 default: '{config-pod}'
751 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800752
753 - string:
hwchiu14f97852019-10-08 10:51:11 -0700754 name: branch
755 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800756
757 - string:
hwchiu14f97852019-10-08 10:51:11 -0700758 name: profile
759 default: '{profile}'
760 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800761
762 - string:
hwchiu14f97852019-10-08 10:51:11 -0700763 name: notificationEmail
764 default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org'
765 description: ''
Kailashc8c05d52019-01-15 20:01:11 -0800766
767 - bool:
768 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800769 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800770 description: "Configure POD via TOSCA post build"
771
Matteo Scandoloa6791892019-01-25 15:46:03 -0800772 - bool:
773 name: installEpcControlPlane
774 default: true
775 description: "Install the EPC control plane"
776
Kailashc8c05d52019-01-15 20:01:11 -0800777 concurrent: true
778
779 pipeline-scm:
780 script-path: '{Jenkinsfile}'
781 scm:
782 - git:
hwchiu14f97852019-10-08 10:51:11 -0700783 url: '{gerrit-server-url}/cord-tester'
784 branches:
785 - '{branch}'