blob: be170494114878f21da9d8ded9d11b484bf6016f [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
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800112 default: '{num-of-onus}'
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800113 description: "Onus per PonPort"
114
Suchitra Vemurie0451712020-05-06 22:51:23 -0700115 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800116 name: ponNumber
117 default: '{num-of-ponports}'
118 description: "Number of PON Ports"
119
120 - string:
Suchitra Vemurie0451712020-05-06 22:51:23 -0700121 name: workFlow
122 default: '{work-flow}'
123 description: 'Installs and uses the specified work flow on the POD'
124
125 - string:
126 name: NumOfOpenOnu
127 default: '{num-of-openonu}'
128 description: 'Installs the specified Number of OpenOnu Adapters'
129
130 - string:
131 name: NumOfOnos
132 default: '{num-of-onos}'
133 description: 'Installs the specified Number of ONOS instances'
134
Suchitra Vemuria0d92052020-07-15 11:36:12 -0700135 - bool:
136 name: inBandManagement
137 default: '{in-band-management}'
138 description: 'Indicates whether POD is configured for in band management'
139
Suchitra Vemurie0451712020-05-06 22:51:23 -0700140 - string:
141 name: NumOfAtomix
142 default: '{num-of-atomix}'
143 description: 'Installs the specified Number of Atomix Instances'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100144
145 - string:
146 name: openoltAdapterChart
147 default: '{openoltAdapterChart}'
148 description: 'OpenOLT chart name (or location on file system)'
149
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700150 concurrent: true
151
152 pipeline-scm:
153 script-path: '{Jenkinsfile}'
154 scm:
155 - git:
hwchiu14f97852019-10-08 10:51:11 -0700156 url: '{gerrit-server-url}/{test-repo}'
157 branches:
158 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700159
160- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700161 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700162 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700163 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700164 Nightly Kubernetes tests on {config-pod} using {Jenkinsfile}<br /><br />
165 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml<br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700166 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
167 Copyright (c) 2017 Open Networking Foundation (ONF)
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100168 disabled: '{disable-job}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700169
170 <<: *test-pipe-job-boiler-plate
171
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100172 openoltAdapterChart: onf/voltha-adapter-openolt
173
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700174 parameters:
175 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700176 name: buildNode
177 default: '{build-node}'
178 description: 'Name of the Jenkins executor node to run the job on'
179
180 - string:
hwchiu14f97852019-10-08 10:51:11 -0700181 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700182 default: '{build-node}'
183 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700184
185 - string:
hwchiu14f97852019-10-08 10:51:11 -0700186 name: cordRepoUrl
187 default: '{gerrit-server-url}'
188 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700189
190 - string:
hwchiu14f97852019-10-08 10:51:11 -0700191 name: configBaseDir
192 default: 'pod-configs'
193 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700194
195 - string:
hwchiu14f97852019-10-08 10:51:11 -0700196 name: configDeploymentDir
197 default: 'deployment-configs'
198 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700199
200 - string:
hwchiu14f97852019-10-08 10:51:11 -0700201 name: configKubernetesDir
202 default: 'kubernetes-configs'
203 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700204
205 - string:
hwchiu14f97852019-10-08 10:51:11 -0700206 name: configToscaDir
207 default: 'tosca-configs'
208 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700209
210 - string:
hwchiu14f97852019-10-08 10:51:11 -0700211 name: configFileName
212 default: '{config-pod}'
213 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700214
215 - string:
hwchiu14f97852019-10-08 10:51:11 -0700216 name: oltDebVersion
217 default: '{oltDebVersion}'
218 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700219
220 - string:
hwchiu14f97852019-10-08 10:51:11 -0700221 name: branch
222 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700223
224 - string:
hwchiu14f97852019-10-08 10:51:11 -0700225 name: helmRepoUrl
226 default: 'https://charts.opencord.org'
227 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700228
229 - string:
hwchiu14f97852019-10-08 10:51:11 -0700230 name: profile
231 default: '{profile}'
232 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700233
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700234 - bool:
235 name: configurePod
236 default: true
237 description: "Configure POD via TOSCA post build"
238
Kailashdee47a02018-11-29 08:46:32 -0800239 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700240 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700241 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700242 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800243
244 - bool:
245 name: installBBSim
246 default: false
247 description: "Install the BBSim container"
248
249 - string:
250 name: onuNumber
251 default: '16'
252 description: "Onus per PonPort"
253
Kailash Khalasi9559f362018-09-14 13:53:28 -0700254 - string:
hwchiu14f97852019-10-08 10:51:11 -0700255 name: notificationEmail
256 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
257 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700258
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100259 - string:
260 name: openoltAdapterChart
261 default: '{openoltAdapterChart}'
262 description: 'OpenOLT chart name (or location on file system)'
263
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700264 concurrent: true
265
266 pipeline-scm:
267 script-path: '{Jenkinsfile}'
268 scm:
269 - git:
hwchiu14f97852019-10-08 10:51:11 -0700270 url: '{gerrit-server-url}/{test-repo}'
271 branches:
272 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700273
274 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700275 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700276 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700277 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700278
279- job-template:
280 name: 'build_{profile}_{config-pod}_{branch}_test'
281 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100282
283 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700284 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700285 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700286 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700287 Created by Kailash Khalasi - kailash@opennetworking.org <br />
288 Copyright (c) 2017 Open Networking Foundation (ONF)
289
290 <<: *test-pipe-job-boiler-plate
291
292 parameters:
293 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700294 name: buildNode
295 default: '{build-node}'
296 description: 'Name of the Jenkins executor node to run the job on'
297
298 - string:
hwchiu14f97852019-10-08 10:51:11 -0700299 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700300 default: '{build-node}'
301 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700302
303 - string:
hwchiu14f97852019-10-08 10:51:11 -0700304 name: cordRepoUrl
305 default: '{gerrit-server-url}'
306 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700307
308 - string:
hwchiu14f97852019-10-08 10:51:11 -0700309 name: configBaseDir
310 default: 'pod-configs'
311 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700312
313 - string:
hwchiu14f97852019-10-08 10:51:11 -0700314 name: configDeploymentDir
315 default: 'deployment-configs'
316 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700317
318 - string:
hwchiu14f97852019-10-08 10:51:11 -0700319 name: configKubernetesDir
320 default: 'kubernetes-configs'
321 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700322
323 - string:
hwchiu14f97852019-10-08 10:51:11 -0700324 name: configToscaDir
325 default: 'tosca-configs'
326 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700327
328 - string:
hwchiu14f97852019-10-08 10:51:11 -0700329 name: configFileName
330 default: '{config-pod}'
331 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700332
333 - string:
hwchiu14f97852019-10-08 10:51:11 -0700334 name: branch
335 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700336
337 - string:
hwchiu14f97852019-10-08 10:51:11 -0700338 name: notificationEmail
339 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
340 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700341
342 concurrent: true
343
344 pipeline-scm:
345 script-path: '{Jenkinsfile}'
346 scm:
347 - git:
hwchiu14f97852019-10-08 10:51:11 -0700348 url: '{gerrit-server-url}/{test-repo}'
349 branches:
350 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700351
352 triggers:
353 - reverse:
354 jobs: 'build_{profile}_{config-pod}_{branch}'
355 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800356
357- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800358 name: 'build_{config-pod}_seba_release_{release}'
359 id: build_pod_manual_release
360 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700361 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700362 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800363 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
364 Copyright (c) 2018 Open Networking Foundation (ONF)
365
366 <<: *test-pipe-job-boiler-plate
367
368 parameters:
369 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700370 name: buildNode
371 default: '{build-node}'
372 description: 'Name of the Jenkins executor node to run the job on'
373
374 - string:
hwchiu14f97852019-10-08 10:51:11 -0700375 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700376 default: '{build-node}'
377 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800378
379 - string:
hwchiu14f97852019-10-08 10:51:11 -0700380 name: cordRepoUrl
381 default: '{gerrit-server-url}'
382 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800383
384 - string:
hwchiu14f97852019-10-08 10:51:11 -0700385 name: configBaseDir
386 default: 'pod-configs'
387 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800388
389 - string:
hwchiu14f97852019-10-08 10:51:11 -0700390 name: configDeploymentDir
391 default: 'deployment-configs'
392 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800393
394 - string:
hwchiu14f97852019-10-08 10:51:11 -0700395 name: configKubernetesDir
396 default: 'kubernetes-configs'
397 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800398
399 - string:
hwchiu14f97852019-10-08 10:51:11 -0700400 name: configToscaDir
401 default: 'tosca-configs'
402 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800403
404 - string:
hwchiu14f97852019-10-08 10:51:11 -0700405 name: configFileName
406 default: '{config-pod}'
407 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800408
409 - string:
hwchiu14f97852019-10-08 10:51:11 -0700410 name: oltDebVersion
411 default: '{oltDebVersion}'
412 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800413
414 - string:
hwchiu14f97852019-10-08 10:51:11 -0700415 name: branch
416 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800417
418 - string:
hwchiu14f97852019-10-08 10:51:11 -0700419 name: notificationEmail
420 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
421 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800422
423 - bool:
424 name: configurePod
425 default: true
426 description: "Configure POD via TOSCA post build"
427
428 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700429 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700430 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700431 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800432
433 - bool:
434 name: installBBSim
435 default: false
436 description: "Install the BBSim container"
437
438 - string:
439 name: onuNumber
440 default: '16'
441 description: "Onus per PonPort"
442
443 concurrent: true
444
445 pipeline-scm:
446 script-path: '{Jenkinsfile}'
447 scm:
448 - git:
hwchiu14f97852019-10-08 10:51:11 -0700449 url: '{gerrit-server-url}/cord-tester'
450 branches:
451 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800452
453- job-template:
454 name: 'build_{config-pod}_seba_release_{release}'
455 id: build_pod_release
456 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700457 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700458 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800459 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
460 Copyright (c) 2018 Open Networking Foundation (ONF)
461
462 <<: *test-pipe-job-boiler-plate
463
464 parameters:
465 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700466 name: buildNode
467 default: '{build-node}'
468 description: 'Name of the Jenkins executor node to run the job on'
469
470 - string:
hwchiu14f97852019-10-08 10:51:11 -0700471 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700472 default: '{build-node}'
473 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800474
475 - string:
hwchiu14f97852019-10-08 10:51:11 -0700476 name: cordRepoUrl
477 default: '{gerrit-server-url}'
478 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800479
480 - string:
hwchiu14f97852019-10-08 10:51:11 -0700481 name: configBaseDir
482 default: 'pod-configs'
483 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800484
485 - string:
hwchiu14f97852019-10-08 10:51:11 -0700486 name: configDeploymentDir
487 default: 'deployment-configs'
488 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800489
490 - string:
hwchiu14f97852019-10-08 10:51:11 -0700491 name: configKubernetesDir
492 default: 'kubernetes-configs'
493 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800494
495 - string:
hwchiu14f97852019-10-08 10:51:11 -0700496 name: configToscaDir
497 default: 'tosca-configs'
498 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800499
500 - string:
hwchiu14f97852019-10-08 10:51:11 -0700501 name: configFileName
502 default: '{config-pod}'
503 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800504
505 - string:
hwchiu14f97852019-10-08 10:51:11 -0700506 name: oltDebVersion
507 default: '{oltDebVersion}'
508 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800509
510 - string:
hwchiu14f97852019-10-08 10:51:11 -0700511 name: helmRepoUrl
512 default: 'https://charts.opencord.org'
513 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700514
515 - string:
hwchiu14f97852019-10-08 10:51:11 -0700516 name: branch
517 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800518
519 - string:
hwchiu14f97852019-10-08 10:51:11 -0700520 name: notificationEmail
521 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
522 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800523
524 - bool:
525 name: configurePod
526 default: true
527 description: "Configure POD via TOSCA post build"
528
529 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700530 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700531 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700532 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800533
534 - bool:
535 name: installBBSim
536 default: false
537 description: "Install the BBSim container"
538
539 - string:
540 name: onuNumber
541 default: '16'
542 description: "Onus per PonPort"
543
544 concurrent: true
545
546 pipeline-scm:
547 script-path: '{Jenkinsfile}'
548 scm:
549 - git:
hwchiu14f97852019-10-08 10:51:11 -0700550 url: '{gerrit-server-url}/cord-tester'
551 branches:
552 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800553
554 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700555 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800556 TZ=America/Los_Angeles
557 H {time} * * *
558
559- job-template:
560 name: 'build_{config-pod}_seba_release_{release}_test'
561 id: build_pod_release_test
562 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700563 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700564 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800565 Created by Kailash Khalasi - kailash@opennetworking.org <br />
566 Copyright (c) 2017 Open Networking Foundation (ONF)
567
568 <<: *test-pipe-job-boiler-plate
569
570 parameters:
571 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700572 name: buildNode
573 default: '{build-node}'
574 description: 'Name of the Jenkins executor node to run the job on'
575
576 - string:
hwchiu14f97852019-10-08 10:51:11 -0700577 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700578 default: '{build-node}'
579 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800580
581 - string:
hwchiu14f97852019-10-08 10:51:11 -0700582 name: cordRepoUrl
583 default: '{gerrit-server-url}'
584 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800585
586 - string:
hwchiu14f97852019-10-08 10:51:11 -0700587 name: configBaseDir
588 default: 'pod-configs'
589 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800590
591 - string:
hwchiu14f97852019-10-08 10:51:11 -0700592 name: configDeploymentDir
593 default: 'deployment-configs'
594 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800595
596 - string:
hwchiu14f97852019-10-08 10:51:11 -0700597 name: configKubernetesDir
598 default: 'kubernetes-configs'
599 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800600
601 - string:
hwchiu14f97852019-10-08 10:51:11 -0700602 name: configToscaDir
603 default: 'tosca-configs'
604 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800605
606 - string:
hwchiu14f97852019-10-08 10:51:11 -0700607 name: configFileName
608 default: '{config-pod}'
609 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800610
611 - string:
hwchiu14f97852019-10-08 10:51:11 -0700612 name: branch
613 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800614
615 - string:
hwchiu14f97852019-10-08 10:51:11 -0700616 name: notificationEmail
617 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
618 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800619
620 concurrent: true
621
622 pipeline-scm:
623 script-path: '{Jenkinsfile}'
624 scm:
625 - git:
hwchiu14f97852019-10-08 10:51:11 -0700626 url: '{gerrit-server-url}/cord-tester'
627 branches:
628 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800629
630 triggers:
631 - reverse:
632 jobs: 'build_{config-pod}_seba_release_{release}'
633 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800634
635
636- job-template:
637 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
638 id: build_pod_release_test_microcharts
639 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700640 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700641 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800642 Created by Kailash Khalasi - kailash@opennetworking.org <br />
643 Copyright (c) 2017 Open Networking Foundation (ONF)
644
645 <<: *test-pipe-job-boiler-plate
646
647 parameters:
648 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700649 name: buildNode
650 default: '{build-node}'
651 description: 'Name of the Jenkins executor node to run the job on'
652
653 - string:
hwchiu14f97852019-10-08 10:51:11 -0700654 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700655 default: '{build-node}'
656 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800657
658 - string:
hwchiu14f97852019-10-08 10:51:11 -0700659 name: cordRepoUrl
660 default: '{gerrit-server-url}'
661 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800662
663 - string:
hwchiu14f97852019-10-08 10:51:11 -0700664 name: configBaseDir
665 default: 'pod-configs'
666 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800667
668 - string:
hwchiu14f97852019-10-08 10:51:11 -0700669 name: configDeploymentDir
670 default: 'deployment-configs'
671 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800672
673 - string:
hwchiu14f97852019-10-08 10:51:11 -0700674 name: configKubernetesDir
675 default: 'kubernetes-configs'
676 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800677
678 - string:
hwchiu14f97852019-10-08 10:51:11 -0700679 name: configToscaDir
680 default: 'tosca-configs'
681 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800682
683 - string:
hwchiu14f97852019-10-08 10:51:11 -0700684 name: configFileName
685 default: '{config-pod}'
686 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800687
688 - string:
hwchiu14f97852019-10-08 10:51:11 -0700689 name: branch
690 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800691
692 - string:
hwchiu14f97852019-10-08 10:51:11 -0700693 name: notificationEmail
694 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
695 description: ''
Kailash5b1a1612018-12-21 15:17:21 -0800696
697 concurrent: true
698
699 pipeline-scm:
700 script-path: '{Jenkinsfile}'
701 scm:
702 - git:
hwchiu14f97852019-10-08 10:51:11 -0700703 url: '{gerrit-server-url}/cord-tester'
704 branches:
705 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800706
707 triggers:
708 - reverse:
709 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
710 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800711
712
713- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800714 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800715 id: build_mcord_pod_manual
716 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700717 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800718 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
719 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
720 Copyright (c) 2019 Open Networking Foundation (ONF)
721
722 <<: *test-pipe-job-boiler-plate
723
724 parameters:
725 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700726 name: buildNode
727 default: '{build-node}'
728 description: 'Name of the Jenkins executor node to run the job on'
729
730 - string:
hwchiu14f97852019-10-08 10:51:11 -0700731 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700732 default: '{build-node}'
733 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800734
735 - string:
hwchiu14f97852019-10-08 10:51:11 -0700736 name: cordRepoUrl
737 default: '{gerrit-server-url}'
738 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800739
740 - string:
hwchiu14f97852019-10-08 10:51:11 -0700741 name: configBaseDir
742 default: 'pod-configs'
743 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800744
745 - string:
hwchiu14f97852019-10-08 10:51:11 -0700746 name: configDeploymentDir
747 default: 'deployment-configs'
748 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800749
750 - string:
hwchiu14f97852019-10-08 10:51:11 -0700751 name: configKubernetesDir
752 default: 'kubernetes-configs'
753 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800754
755 - string:
hwchiu14f97852019-10-08 10:51:11 -0700756 name: configToscaDir
757 default: 'tosca-configs'
758 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800759
760 - string:
hwchiu14f97852019-10-08 10:51:11 -0700761 name: configFileName
762 default: '{config-pod}'
763 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800764
765 - string:
hwchiu14f97852019-10-08 10:51:11 -0700766 name: branch
767 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800768
769 - string:
hwchiu14f97852019-10-08 10:51:11 -0700770 name: profile
771 default: '{profile}'
772 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800773
774 - string:
hwchiu14f97852019-10-08 10:51:11 -0700775 name: notificationEmail
776 default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org'
777 description: ''
Kailashc8c05d52019-01-15 20:01:11 -0800778
779 - bool:
780 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800781 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800782 description: "Configure POD via TOSCA post build"
783
Matteo Scandoloa6791892019-01-25 15:46:03 -0800784 - bool:
785 name: installEpcControlPlane
786 default: true
787 description: "Install the EPC control plane"
788
Kailashc8c05d52019-01-15 20:01:11 -0800789 concurrent: true
790
791 pipeline-scm:
792 script-path: '{Jenkinsfile}'
793 scm:
794 - git:
hwchiu14f97852019-10-08 10:51:11 -0700795 url: '{gerrit-server-url}/cord-tester'
796 branches:
797 - '{branch}'