blob: 84428df0fd8760efc49573a55f05075ca74d1d92 [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
Kailash Khalasice9eaec2018-09-14 12:01:56 -070085 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070086 name: installMonitoringAndLogging
87 default: false
88 description: "Wether to install prometheus and Elk-stack"
89
90 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070091 name: configurePod
92 default: true
93 description: "Configure POD via TOSCA post build"
94
Kailashdee47a02018-11-29 08:46:32 -080095 - bool:
hwchiu14f97852019-10-08 10:51:11 -070096 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -070097 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -070098 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070099
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800100 - bool:
101 name: installBBSim
102 default: false
103 description: "Install the BBSim container"
104
105 - string:
106 name: onuNumber
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800107 default: '{num-of-onus}'
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800108 description: "Onus per PonPort"
109
Suchitra Vemurie0451712020-05-06 22:51:23 -0700110 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800111 name: ponNumber
112 default: '{num-of-ponports}'
113 description: "Number of PON Ports"
114
115 - string:
Suchitra Vemurie0451712020-05-06 22:51:23 -0700116 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
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100167 openoltAdapterChart: onf/voltha-adapter-openolt
168
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700169 parameters:
170 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700171 name: buildNode
172 default: '{build-node}'
173 description: 'Name of the Jenkins executor node to run the job on'
174
175 - string:
hwchiu14f97852019-10-08 10:51:11 -0700176 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700177 default: '{build-node}'
178 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700179
180 - string:
hwchiu14f97852019-10-08 10:51:11 -0700181 name: cordRepoUrl
182 default: '{gerrit-server-url}'
183 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700184
185 - string:
hwchiu14f97852019-10-08 10:51:11 -0700186 name: configBaseDir
187 default: 'pod-configs'
188 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700189
190 - string:
hwchiu14f97852019-10-08 10:51:11 -0700191 name: configDeploymentDir
192 default: 'deployment-configs'
193 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700194
195 - string:
hwchiu14f97852019-10-08 10:51:11 -0700196 name: configKubernetesDir
197 default: 'kubernetes-configs'
198 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700199
200 - string:
hwchiu14f97852019-10-08 10:51:11 -0700201 name: configToscaDir
202 default: 'tosca-configs'
203 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700204
205 - string:
hwchiu14f97852019-10-08 10:51:11 -0700206 name: configFileName
207 default: '{config-pod}'
208 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700209
210 - string:
hwchiu14f97852019-10-08 10:51:11 -0700211 name: oltDebVersion
212 default: '{oltDebVersion}'
213 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700214
215 - string:
hwchiu14f97852019-10-08 10:51:11 -0700216 name: branch
217 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700218
219 - string:
hwchiu14f97852019-10-08 10:51:11 -0700220 name: helmRepoUrl
221 default: 'https://charts.opencord.org'
222 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700223
224 - string:
hwchiu14f97852019-10-08 10:51:11 -0700225 name: profile
226 default: '{profile}'
227 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700228
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700229 - bool:
230 name: configurePod
231 default: true
232 description: "Configure POD via TOSCA post build"
233
Kailashdee47a02018-11-29 08:46:32 -0800234 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700235 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700236 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700237 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800238
239 - bool:
240 name: installBBSim
241 default: false
242 description: "Install the BBSim container"
243
244 - string:
245 name: onuNumber
246 default: '16'
247 description: "Onus per PonPort"
248
Kailash Khalasi9559f362018-09-14 13:53:28 -0700249 - string:
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100250 name: openoltAdapterChart
251 default: '{openoltAdapterChart}'
252 description: 'OpenOLT chart name (or location on file system)'
253
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700254 concurrent: true
255
256 pipeline-scm:
257 script-path: '{Jenkinsfile}'
258 scm:
259 - git:
hwchiu14f97852019-10-08 10:51:11 -0700260 url: '{gerrit-server-url}/{test-repo}'
261 branches:
262 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700263
264 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700265 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700266 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700267 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700268
269- job-template:
270 name: 'build_{profile}_{config-pod}_{branch}_test'
271 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100272
273 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700274 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700275 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700276 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700277 Created by Kailash Khalasi - kailash@opennetworking.org <br />
278 Copyright (c) 2017 Open Networking Foundation (ONF)
279
280 <<: *test-pipe-job-boiler-plate
281
282 parameters:
283 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700284 name: buildNode
285 default: '{build-node}'
286 description: 'Name of the Jenkins executor node to run the job on'
287
288 - string:
hwchiu14f97852019-10-08 10:51:11 -0700289 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700290 default: '{build-node}'
291 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700292
293 - string:
hwchiu14f97852019-10-08 10:51:11 -0700294 name: cordRepoUrl
295 default: '{gerrit-server-url}'
296 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700297
298 - string:
hwchiu14f97852019-10-08 10:51:11 -0700299 name: configBaseDir
300 default: 'pod-configs'
301 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700302
303 - string:
hwchiu14f97852019-10-08 10:51:11 -0700304 name: configDeploymentDir
305 default: 'deployment-configs'
306 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700307
308 - string:
hwchiu14f97852019-10-08 10:51:11 -0700309 name: configKubernetesDir
310 default: 'kubernetes-configs'
311 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700312
313 - string:
hwchiu14f97852019-10-08 10:51:11 -0700314 name: configToscaDir
315 default: 'tosca-configs'
316 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700317
318 - string:
hwchiu14f97852019-10-08 10:51:11 -0700319 name: configFileName
320 default: '{config-pod}'
321 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700322
323 - string:
hwchiu14f97852019-10-08 10:51:11 -0700324 name: branch
325 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700326
Kailash Khalasi9559f362018-09-14 13:53:28 -0700327 concurrent: true
328
329 pipeline-scm:
330 script-path: '{Jenkinsfile}'
331 scm:
332 - git:
hwchiu14f97852019-10-08 10:51:11 -0700333 url: '{gerrit-server-url}/{test-repo}'
334 branches:
335 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700336
337 triggers:
338 - reverse:
339 jobs: 'build_{profile}_{config-pod}_{branch}'
340 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800341
342- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800343 name: 'build_{config-pod}_seba_release_{release}'
344 id: build_pod_manual_release
345 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700346 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700347 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800348 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
349 Copyright (c) 2018 Open Networking Foundation (ONF)
350
351 <<: *test-pipe-job-boiler-plate
352
353 parameters:
354 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700355 name: buildNode
356 default: '{build-node}'
357 description: 'Name of the Jenkins executor node to run the job on'
358
359 - string:
hwchiu14f97852019-10-08 10:51:11 -0700360 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700361 default: '{build-node}'
362 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800363
364 - string:
hwchiu14f97852019-10-08 10:51:11 -0700365 name: cordRepoUrl
366 default: '{gerrit-server-url}'
367 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800368
369 - string:
hwchiu14f97852019-10-08 10:51:11 -0700370 name: configBaseDir
371 default: 'pod-configs'
372 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800373
374 - string:
hwchiu14f97852019-10-08 10:51:11 -0700375 name: configDeploymentDir
376 default: 'deployment-configs'
377 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800378
379 - string:
hwchiu14f97852019-10-08 10:51:11 -0700380 name: configKubernetesDir
381 default: 'kubernetes-configs'
382 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800383
384 - string:
hwchiu14f97852019-10-08 10:51:11 -0700385 name: configToscaDir
386 default: 'tosca-configs'
387 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800388
389 - string:
hwchiu14f97852019-10-08 10:51:11 -0700390 name: configFileName
391 default: '{config-pod}'
392 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800393
394 - string:
hwchiu14f97852019-10-08 10:51:11 -0700395 name: oltDebVersion
396 default: '{oltDebVersion}'
397 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800398
399 - string:
hwchiu14f97852019-10-08 10:51:11 -0700400 name: branch
401 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800402
Kailashd1963d12018-12-17 15:11:01 -0800403 - bool:
404 name: configurePod
405 default: true
406 description: "Configure POD via TOSCA post build"
407
408 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700409 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700410 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700411 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800412
413 - bool:
414 name: installBBSim
415 default: false
416 description: "Install the BBSim container"
417
418 - string:
419 name: onuNumber
420 default: '16'
421 description: "Onus per PonPort"
422
423 concurrent: true
424
425 pipeline-scm:
426 script-path: '{Jenkinsfile}'
427 scm:
428 - git:
hwchiu14f97852019-10-08 10:51:11 -0700429 url: '{gerrit-server-url}/cord-tester'
430 branches:
431 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800432
433- job-template:
434 name: 'build_{config-pod}_seba_release_{release}'
435 id: build_pod_release
436 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700437 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700438 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800439 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
440 Copyright (c) 2018 Open Networking Foundation (ONF)
441
442 <<: *test-pipe-job-boiler-plate
443
444 parameters:
445 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700446 name: buildNode
447 default: '{build-node}'
448 description: 'Name of the Jenkins executor node to run the job on'
449
450 - string:
hwchiu14f97852019-10-08 10:51:11 -0700451 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700452 default: '{build-node}'
453 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800454
455 - string:
hwchiu14f97852019-10-08 10:51:11 -0700456 name: cordRepoUrl
457 default: '{gerrit-server-url}'
458 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800459
460 - string:
hwchiu14f97852019-10-08 10:51:11 -0700461 name: configBaseDir
462 default: 'pod-configs'
463 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800464
465 - string:
hwchiu14f97852019-10-08 10:51:11 -0700466 name: configDeploymentDir
467 default: 'deployment-configs'
468 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800469
470 - string:
hwchiu14f97852019-10-08 10:51:11 -0700471 name: configKubernetesDir
472 default: 'kubernetes-configs'
473 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800474
475 - string:
hwchiu14f97852019-10-08 10:51:11 -0700476 name: configToscaDir
477 default: 'tosca-configs'
478 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800479
480 - string:
hwchiu14f97852019-10-08 10:51:11 -0700481 name: configFileName
482 default: '{config-pod}'
483 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800484
485 - string:
hwchiu14f97852019-10-08 10:51:11 -0700486 name: oltDebVersion
487 default: '{oltDebVersion}'
488 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800489
490 - string:
hwchiu14f97852019-10-08 10:51:11 -0700491 name: helmRepoUrl
492 default: 'https://charts.opencord.org'
493 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700494
495 - string:
hwchiu14f97852019-10-08 10:51:11 -0700496 name: branch
497 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800498
Kailashd1963d12018-12-17 15:11:01 -0800499 - bool:
500 name: configurePod
501 default: true
502 description: "Configure POD via TOSCA post build"
503
504 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700505 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700506 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700507 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800508
509 - bool:
510 name: installBBSim
511 default: false
512 description: "Install the BBSim container"
513
514 - string:
515 name: onuNumber
516 default: '16'
517 description: "Onus per PonPort"
518
519 concurrent: true
520
521 pipeline-scm:
522 script-path: '{Jenkinsfile}'
523 scm:
524 - git:
hwchiu14f97852019-10-08 10:51:11 -0700525 url: '{gerrit-server-url}/cord-tester'
526 branches:
527 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800528
529 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700530 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800531 TZ=America/Los_Angeles
532 H {time} * * *
533
534- job-template:
535 name: 'build_{config-pod}_seba_release_{release}_test'
536 id: build_pod_release_test
537 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700538 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700539 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800540 Created by Kailash Khalasi - kailash@opennetworking.org <br />
541 Copyright (c) 2017 Open Networking Foundation (ONF)
542
543 <<: *test-pipe-job-boiler-plate
544
545 parameters:
546 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700547 name: buildNode
548 default: '{build-node}'
549 description: 'Name of the Jenkins executor node to run the job on'
550
551 - string:
hwchiu14f97852019-10-08 10:51:11 -0700552 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700553 default: '{build-node}'
554 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800555
556 - string:
hwchiu14f97852019-10-08 10:51:11 -0700557 name: cordRepoUrl
558 default: '{gerrit-server-url}'
559 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800560
561 - string:
hwchiu14f97852019-10-08 10:51:11 -0700562 name: configBaseDir
563 default: 'pod-configs'
564 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800565
566 - string:
hwchiu14f97852019-10-08 10:51:11 -0700567 name: configDeploymentDir
568 default: 'deployment-configs'
569 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800570
571 - string:
hwchiu14f97852019-10-08 10:51:11 -0700572 name: configKubernetesDir
573 default: 'kubernetes-configs'
574 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800575
576 - string:
hwchiu14f97852019-10-08 10:51:11 -0700577 name: configToscaDir
578 default: 'tosca-configs'
579 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800580
581 - string:
hwchiu14f97852019-10-08 10:51:11 -0700582 name: configFileName
583 default: '{config-pod}'
584 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800585
586 - string:
hwchiu14f97852019-10-08 10:51:11 -0700587 name: branch
588 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800589
Kailashd1963d12018-12-17 15:11:01 -0800590 concurrent: true
591
592 pipeline-scm:
593 script-path: '{Jenkinsfile}'
594 scm:
595 - git:
hwchiu14f97852019-10-08 10:51:11 -0700596 url: '{gerrit-server-url}/cord-tester'
597 branches:
598 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800599
600 triggers:
601 - reverse:
602 jobs: 'build_{config-pod}_seba_release_{release}'
603 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800604
605
606- job-template:
607 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
608 id: build_pod_release_test_microcharts
609 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700610 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700611 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800612 Created by Kailash Khalasi - kailash@opennetworking.org <br />
613 Copyright (c) 2017 Open Networking Foundation (ONF)
614
615 <<: *test-pipe-job-boiler-plate
616
617 parameters:
618 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700619 name: buildNode
620 default: '{build-node}'
621 description: 'Name of the Jenkins executor node to run the job on'
622
623 - string:
hwchiu14f97852019-10-08 10:51:11 -0700624 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700625 default: '{build-node}'
626 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800627
628 - string:
hwchiu14f97852019-10-08 10:51:11 -0700629 name: cordRepoUrl
630 default: '{gerrit-server-url}'
631 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800632
633 - string:
hwchiu14f97852019-10-08 10:51:11 -0700634 name: configBaseDir
635 default: 'pod-configs'
636 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800637
638 - string:
hwchiu14f97852019-10-08 10:51:11 -0700639 name: configDeploymentDir
640 default: 'deployment-configs'
641 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800642
643 - string:
hwchiu14f97852019-10-08 10:51:11 -0700644 name: configKubernetesDir
645 default: 'kubernetes-configs'
646 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800647
648 - string:
hwchiu14f97852019-10-08 10:51:11 -0700649 name: configToscaDir
650 default: 'tosca-configs'
651 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800652
653 - string:
hwchiu14f97852019-10-08 10:51:11 -0700654 name: configFileName
655 default: '{config-pod}'
656 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800657
658 - string:
hwchiu14f97852019-10-08 10:51:11 -0700659 name: branch
660 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800661
Kailash5b1a1612018-12-21 15:17:21 -0800662 concurrent: true
663
664 pipeline-scm:
665 script-path: '{Jenkinsfile}'
666 scm:
667 - git:
hwchiu14f97852019-10-08 10:51:11 -0700668 url: '{gerrit-server-url}/cord-tester'
669 branches:
670 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800671
672 triggers:
673 - reverse:
674 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
675 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800676
677
678- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800679 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800680 id: build_mcord_pod_manual
681 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700682 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800683 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
684 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
685 Copyright (c) 2019 Open Networking Foundation (ONF)
686
687 <<: *test-pipe-job-boiler-plate
688
689 parameters:
690 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700691 name: buildNode
692 default: '{build-node}'
693 description: 'Name of the Jenkins executor node to run the job on'
694
695 - string:
hwchiu14f97852019-10-08 10:51:11 -0700696 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700697 default: '{build-node}'
698 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800699
700 - string:
hwchiu14f97852019-10-08 10:51:11 -0700701 name: cordRepoUrl
702 default: '{gerrit-server-url}'
703 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800704
705 - string:
hwchiu14f97852019-10-08 10:51:11 -0700706 name: configBaseDir
707 default: 'pod-configs'
708 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800709
710 - string:
hwchiu14f97852019-10-08 10:51:11 -0700711 name: configDeploymentDir
712 default: 'deployment-configs'
713 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800714
715 - string:
hwchiu14f97852019-10-08 10:51:11 -0700716 name: configKubernetesDir
717 default: 'kubernetes-configs'
718 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800719
720 - string:
hwchiu14f97852019-10-08 10:51:11 -0700721 name: configToscaDir
722 default: 'tosca-configs'
723 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800724
725 - string:
hwchiu14f97852019-10-08 10:51:11 -0700726 name: configFileName
727 default: '{config-pod}'
728 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800729
730 - string:
hwchiu14f97852019-10-08 10:51:11 -0700731 name: branch
732 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800733
734 - string:
hwchiu14f97852019-10-08 10:51:11 -0700735 name: profile
736 default: '{profile}'
737 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800738
Kailashc8c05d52019-01-15 20:01:11 -0800739 - bool:
740 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800741 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800742 description: "Configure POD via TOSCA post build"
743
Matteo Scandoloa6791892019-01-25 15:46:03 -0800744 - bool:
745 name: installEpcControlPlane
746 default: true
747 description: "Install the EPC control plane"
748
Kailashc8c05d52019-01-15 20:01:11 -0800749 concurrent: true
750
751 pipeline-scm:
752 script-path: '{Jenkinsfile}'
753 scm:
754 - git:
hwchiu14f97852019-10-08 10:51:11 -0700755 url: '{gerrit-server-url}/cord-tester'
756 branches:
757 - '{branch}'