blob: 0f41795bb47a8b7190d5a0e9a706aaf632434a48 [file] [log] [blame]
Matteo Scandolo9973c652020-08-07 15:23:35 -07001---
2# list of parameters for the VOLTHA Jobs,
3# used as anchor so that can be shared across multiple jobs
4# to use in a job: `parameters: *voltha-build-job-parameters`
5- voltha-build-job-parameters: &voltha-build-job-parameters
6 name: voltha-build-job-parameters
Andrea Campanella6dfc0432021-01-12 10:43:16 +01007
8 openoltAdapterChart: onf/voltha-adapter-openolt
9
Matteo Scandolo9973c652020-08-07 15:23:35 -070010 parameters:
11 - string:
12 name: buildNode
13 default: '{build-node}'
14 description: 'Name of the Jenkins executor node to run the job on'
15
16 - string:
17 name: TestNodeName
18 default: '{build-node}'
19 description: 'DEPRECATED - use buildNode instead'
20
21 - string:
Matteo Scandolo982b69d2021-05-10 12:01:57 -070022 name: logLevel
23 default: '{logLevel}'
24 description: 'Log level for all the components'
25
26 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070027 name: cordRepoUrl
28 default: '{gerrit-server-url}'
29 description: 'The URL of the CORD Project repository'
30
31 - string:
32 name: configBaseDir
33 default: 'pod-configs'
34 description: 'The directory inside the POD configs repository'
35
36 - string:
37 name: configDeploymentDir
38 default: 'deployment-configs'
39 description: 'The deployment configs folder'
40
41 - string:
42 name: configKubernetesDir
43 default: 'kubernetes-configs'
44 description: 'The kubernetes config folder'
45
46 - string:
47 name: configToscaDir
48 default: 'tosca-configs'
49 description: 'The tosca config folder'
50
51 - string:
52 name: configFileName
53 default: '{config-pod}'
54 description: 'The config file'
55
56 - string:
57 name: profile
58 default: '{profile}'
59 description: 'Technology Profile pushed to the ETCD'
60
61 - string:
62 name: helmRepoUrl
63 default: 'https://charts.opencord.org'
64 description: 'URL where helm-charts are published'
65
66 - string:
67 name: branch
68 default: '{branch}'
69
70 - string:
71 name: notificationEmail
72 default: 'you@opennetworking.org, suchitra@opennetworking.org'
73 description: ''
74
75 - string:
76 name: workFlow
77 default: '{work-flow}'
78 description: 'Installs and uses the specified work flow on the POD'
79
Matteo Scandolod47bfb22021-05-24 09:40:05 -070080 - string:
81 name: extraHelmFlags
82 default: '{extraHelmFlags}'
83 description: 'Helm flags (passed to each deployment)'
84
Matteo Scandolod82d1de2021-04-06 14:55:58 -070085 # openonu-go only supports a single replica, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -070086 - string:
87 name: NumOfOpenOnu
88 default: '{num-of-openonu}'
89 description: 'Installs the specified Number of OpenOnu Adapters'
90
91 - string:
92 name: NumOfOnos
93 default: '{num-of-onos}'
94 description: 'Installs the specified Number of ONOS instances'
95
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -080096 - bool:
97 name: installBBSim
Hardik Windlassc7379022021-05-12 13:52:24 +053098 default: '{installBBSim}'
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -080099 description: "Install the BBSim container"
100
101 - string:
102 name: onuNumber
103 default: '{num-of-onus}'
104 description: "Onus per PonPort"
105
106 - string:
107 name: ponNumber
108 default: '{num-of-ponports}'
109 description: "Number of PON Ports"
110
Matteo Scandolo9973c652020-08-07 15:23:35 -0700111 - string:
112 name: NumOfAtomix
113 default: '{num-of-atomix}'
114 description: 'Installs the specified Number of Atomix Instances'
115
Hardik Windlassc7379022021-05-12 13:52:24 +0530116 - string:
117 name: NumOfKafka
118 default: '{num-of-kafka}'
119 description: 'Installs the specified Number of Kafka Instances'
120
121 - string:
122 name: NumOfEtcd
123 default: '{num-of-etcd}'
124 description: 'Installs the specified Number of Etcd Instances'
125
Matteo Scandolo9973c652020-08-07 15:23:35 -0700126 - bool:
127 name: configurePod
128 default: true
129 description: "Configure POD via TOSCA post build"
130
131 - bool:
132 name: reinstallOlt
133 default: '{reinstall-olt}'
134 description: "Re-install olt software bringing up CORD"
135
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700136 # withKind is not used in the master branch pipeline, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700137 - bool:
138 name: withKind
139 default: '{with-kind}'
140 description: "The pods uses kind and a physical fabric thus port forward to the management is needed"
141
142 - string:
143 name: VolthaEtcdPort
144 default: '{VolthaEtcdPort}'
145 description: 'Localhost port that is forwarded to VOLTHA etcd'
146
147 - bool:
148 name: inBandManagement
149 default: '{in-band-management}'
150 description: 'Indicates whether POD is configured for in band management'
151
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700152 - string:
153 name: volthaSystemTestsChange
154 default: '{volthaSystemTestsChange}'
155 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
156
157 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700158 name: volthaHelmChartsChange
159 default: '{volthaHelmChartsChange}'
160 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
161
162 # kind-voltha is not used in the master branch pipeline, remove after 2.8
163 - string:
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700164 name: kindVolthaChange
165 default: '{kindVolthaChange}'
166 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
167
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700168 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700169 - string:
170 name: cordTesterChange
171 default: '{cordTesterChange}'
172 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
173
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700174 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100175 - string:
176 name: openoltAdapterChart
177 default: '{openoltAdapterChart}'
178 description: 'OpenOLT chart name (or location on file system)'
179
Matteo Scandolo9973c652020-08-07 15:23:35 -0700180# defualt properties for the VOLTHA scale jobs
181- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
182 name: voltha-pipe-job-boiler-plate
183
184 project-type: pipeline
185
186 sandbox: true
187
188 properties:
189 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800190 build-days-to-keep: '{big-build-days-to-keep}'
191 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700192
193# VOLTHA Build Jobs
194- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530195 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
196 id: build_voltha_pod_manual
197 disabled: '{disable-job}'
198 description: |
199 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
200 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
201 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
202 Copyright (c) 2018 Open Networking Foundation (ONF)
203
204 <<: *voltha-pipe-job-boiler-plate
205 # default values
206 pipeline-script: 'voltha/master/physical-build.groovy'
207 VolthaEtcdPort: 2379
208 num-of-openonu: 1
209 num-of-onos: 1
210 num-of-atomix: 0
211 num-of-kafka: 1
212 num-of-etcd: 1
213 test-repo: 'voltha-system-tests'
214 release: 'master'
215 name-extension: ''
216 branch: 'master'
217 configurePod: true
218 volthaHelmChartsChange: ''
219 profile: 'Default'
220 logLevel: 'DEBUG'
221 installBBSim: false
Matteo Scandolo1c895512021-05-13 10:30:13 -0700222 num-of-onus: 0
223 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700224 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530225
226 <<: *voltha-build-job-parameters
227
228 concurrent: true
229 project-type: pipeline
230 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
231
232# VOLTHA Build Jobs
233- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700234 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
235 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700236 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700237 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700238 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700239 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700240 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
241 Copyright (c) 2018 Open Networking Foundation (ONF)
242
243 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700244 # default values
245 pipeline-script: 'voltha/master/physical-build.groovy'
246 VolthaEtcdPort: 2379
247 num-of-openonu: 1
248 num-of-onos: 3
249 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530250 num-of-kafka: 3
251 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700252 test-repo: 'voltha-system-tests'
253 release: 'master'
254 name-extension: ''
255 branch: 'master'
256 configurePod: true
257 volthaHelmChartsChange: ''
258 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700259 logLevel: 'DEBUG'
Hardik Windlassc7379022021-05-12 13:52:24 +0530260 installBBSim: false
Matteo Scandolo1c895512021-05-13 10:30:13 -0700261 num-of-onus: 0
262 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700263 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700264
265 <<: *voltha-build-job-parameters
266
267 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700268 project-type: pipeline
269 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700270
271 triggers:
272 - timed: |
273 TZ=America/Los_Angeles
274 H {time} * * *
275
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700276# this job template is defined to support VOLTHA-2.7 builds, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700277- job-template:
278 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700279 id: build_voltha_pod_release_legacy
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700280 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700281 description: |
282 Automatic Build on POD {config-pod}, using {Jenkinsfile} in {gerrit-server-url}/voltha-system-tests' <br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700283 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700284 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
285 This job is triggered upon completion of a dependent _test job <br />
286 Copyright (c) 2020 Open Networking Foundation (ONF)
287
288 <<: *voltha-pipe-job-boiler-plate
289 VolthaEtcdPort: '2379'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700290 release: '2.7'
291 branch: 'voltha-2.7'
292 volthaHelmChartsChange: '' # this is not supported in the VOLTHA-2.7 build, but the parameters are shared, ideally we should split them
Matteo Scandolo982b69d2021-05-10 12:01:57 -0700293 logLevel: 'DEBUG'
Hardik Windlassc7379022021-05-12 13:52:24 +0530294 installBBSim: false
Matteo Scandolo1c895512021-05-13 10:30:13 -0700295 num-of-onus: 0
296 num-of-ponports: 0
Hardik Windlassc7379022021-05-12 13:52:24 +0530297 num-of-kafka: 1
298 num-of-etcd: 1
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700299 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700300
301 <<: *voltha-build-job-parameters
302
303 concurrent: true
304
305 pipeline-scm:
306 script-path: '{Jenkinsfile}'
307 scm:
308 - git:
309 url: '{gerrit-server-url}/voltha-system-tests'
310 branches:
311 - '{branch}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700312
Matteo Scandolo218b2dc2021-04-21 13:21:13 -0700313 triggers:
314 - timed: |
315 TZ=America/Los_Angeles
316 H {time} * * *
317
Matteo Scandolo9973c652020-08-07 15:23:35 -0700318# VOLTHA Test Job
319# This job is automatically triggered after a build job has successfully completed
320- job-template:
321 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
322 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700323 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700324 description: |
325 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700326 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700327 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
328 Copyright (c) 2017 Open Networking Foundation (ONF)
329
330 <<: *voltha-pipe-job-boiler-plate
331 pipeline-script: 'voltha-physical-functional-tests.groovy'
332 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
333 manifest-branch: 'master'
334
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100335 oltAdapterAppLabel: 'adapter-open-olt'
336
Matteo Scandolo9973c652020-08-07 15:23:35 -0700337 parameters:
338 - string:
339 name: buildNode
340 default: '{build-node}'
341 description: 'Name of the Jenkins executor node to run the job on'
342
343 - string:
344 name: TestNodeName
345 default: '{build-node}'
346 description: 'DEPRECATED - use buildNode instead'
347
348 - string:
349 name: cordRepoUrl
350 default: '{gerrit-server-url}'
351 description: 'The URL of the CORD Project repository'
352
353 - string:
354 name: configBaseDir
355 default: 'pod-configs'
356 description: 'The directory inside the POD configs repository'
357
358 - string:
359 name: configDeploymentDir
360 default: 'deployment-configs'
361 description: 'The deployment configs folder'
362
363 - string:
364 name: configKubernetesDir
365 default: 'kubernetes-configs'
366 description: 'The kubernetes config folder'
367
368 - string:
369 name: configToscaDir
370 default: 'tosca-configs'
371 description: 'The tosca config folder'
372
373 - string:
374 name: configFileName
375 default: '{config-pod}'
376 description: 'The config file'
377
378 - string:
379 name: profile
380 default: '{profile}'
381 description: 'Technology Profile pushed to the ETCD'
382
383 - string:
384 name: branch
385 default: '{branch}'
386 description: 'Branch of the test libraries to check out'
387
388 - string:
389 name: manifestUrl
390 default: '{manifest-url}'
391 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
392
393 - string:
394 name: manifestBranch
395 default: '{manifest-branch}'
396 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
397
398 - string:
399 name: workFlow
400 default: '{work-flow}'
401 description: 'Installs and uses the specified work flow on the POD'
402
403 - bool:
404 name: powerSwitch
405 default: '{power-switch}'
406 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
407
Andrea Campanella6ea62272020-09-16 11:10:52 +0200408 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100409 name: oltAdapterAppLabel
410 default: '{oltAdapterAppLabel}'
411 description: 'OLT adapter pod name'
412
413 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200414 name: volthaSystemTestsChange
415 default: '{volthaSystemTestsChange}'
416 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
417
418 - string:
419 name: kindVolthaChange
420 default: '{kindVolthaChange}'
421 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
422
423 - string:
424 name: cordTesterChange
425 default: '{cordTesterChange}'
426 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
427
Matteo Scandolo9973c652020-08-07 15:23:35 -0700428 concurrent: true
429
430 project-type: pipeline
431 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
432
433 triggers:
434 - reverse:
435 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
436 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700437
438
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700439# VOLTHA Soak Test Job
440# This job is triggered by a timer defined in the job
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700441- job-template:
442 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
443 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100444 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700445 description: |
446 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
447 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
448 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
449 Copyright (c) 2017 Open Networking Foundation (ONF)
450
451 <<: *voltha-pipe-job-boiler-plate
452 pipeline-script: 'voltha-physical-functional-tests.groovy'
453 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
454 manifest-branch: 'master'
455
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100456 oltAdapterAppLabel: 'adapter-open-olt'
457
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700458 parameters:
459 - string:
460 name: buildNode
461 default: '{build-node}'
462 description: 'Name of the Jenkins executor node to run the job on'
463
464 - string:
465 name: TestNodeName
466 default: '{build-node}'
467 description: 'DEPRECATED - use buildNode instead'
468
469 - string:
470 name: cordRepoUrl
471 default: '{gerrit-server-url}'
472 description: 'The URL of the CORD Project repository'
473
474 - string:
475 name: configBaseDir
476 default: 'pod-configs'
477 description: 'The directory inside the POD configs repository'
478
479 - string:
480 name: configDeploymentDir
481 default: 'deployment-configs'
482 description: 'The deployment configs folder'
483
484 - string:
485 name: configKubernetesDir
486 default: 'kubernetes-configs'
487 description: 'The kubernetes config folder'
488
489 - string:
490 name: configToscaDir
491 default: 'tosca-configs'
492 description: 'The tosca config folder'
493
494 - string:
495 name: configFileName
496 default: '{config-pod}'
497 description: 'The config file'
498
499 - string:
500 name: profile
501 default: '{profile}'
502 description: 'Technology Profile pushed to the ETCD'
503
504 - string:
505 name: branch
506 default: '{branch}'
507 description: 'Branch of the test libraries to check out'
508
509 - string:
510 name: manifestUrl
511 default: '{manifest-url}'
512 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
513
514 - string:
515 name: manifestBranch
516 default: '{manifest-branch}'
517 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
518
519 - string:
520 name: workFlow
521 default: '{work-flow}'
522 description: 'Installs and uses the specified work flow on the POD'
523
524 - bool:
525 name: powerSwitch
526 default: '{power-switch}'
527 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
528
Suchitra Vemurie6625222020-09-01 17:12:56 -0700529 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100530 name: oltAdapterAppLabel
531 default: '{oltAdapterAppLabel}'
532 description: 'OLT adapter pod name'
533
534 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700535 name: testType
536 default: '{test-type}'
537 description: 'Passes the required test category to the groovy script'
538
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700539 - string:
540 name: volthaSystemTestsChange
541 default: '{volthaSystemTestsChange}'
542 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
543
544 - string:
545 name: kindVolthaChange
546 default: '{kindVolthaChange}'
547 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
548
549 - string:
550 name: cordTesterChange
551 default: '{cordTesterChange}'
552 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700553 concurrent: true
554
555 project-type: pipeline
556 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
557
558 triggers:
559 - timed: |
560 TZ=America/Los_Angeles
561 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000562
563
564# VOLTHA Manual Test Job
565# This job is triggered manually
566- job-template:
567 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
568 id: build_voltha_pod_manual_test
569 disabled: '{disable-job}'
570 description: |
571 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
572 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
573 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
574 Copyright (c) 2017 Open Networking Foundation (ONF)
575 <<: *voltha-pipe-job-boiler-plate
576 pipeline-script: 'voltha-physical-functional-tests.groovy'
577 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
578 manifest-branch: 'master'
579
580 oltAdapterAppLabel: 'adapter-open-olt'
581
582 parameters:
583 - string:
584 name: buildNode
585 default: '{build-node}'
586 description: 'Name of the Jenkins executor node to run the job on'
587
588 - string:
589 name: TestNodeName
590 default: '{build-node}'
591 description: 'DEPRECATED - use buildNode instead'
592
593 - string:
594 name: cordRepoUrl
595 default: '{gerrit-server-url}'
596 description: 'The URL of the CORD Project repository'
597
598 - string:
599 name: configBaseDir
600 default: 'pod-configs'
601 description: 'The directory inside the POD configs repository'
602
603 - string:
604 name: configDeploymentDir
605 default: 'deployment-configs'
606 description: 'The deployment configs folder'
607
608 - string:
609 name: configKubernetesDir
610 default: 'kubernetes-configs'
611 description: 'The kubernetes config folder'
612
613 - string:
614 name: configToscaDir
615 default: 'tosca-configs'
616 description: 'The tosca config folder'
617
618 - string:
619 name: configFileName
620 default: '{config-pod}'
621 description: 'The config file'
622
623 - string:
624 name: profile
625 default: '{profile}'
626 description: 'Technology Profile pushed to the ETCD'
627
628 - string:
629 name: branch
630 default: '{branch}'
631 description: 'Branch of the test libraries to check out'
632
633 - string:
634 name: manifestUrl
635 default: '{manifest-url}'
636 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
637
638 - string:
639 name: manifestBranch
640 default: '{manifest-branch}'
641 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
642
643 - string:
644 name: workFlow
645 default: '{work-flow}'
646 description: 'Installs and uses the specified work flow on the POD'
647
648 - bool:
649 name: powerSwitch
650 default: '{power-switch}'
651 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
652
653 - string:
654 name: oltAdapterAppLabel
655 default: '{oltAdapterAppLabel}'
656 description: 'OLT adapter pod name'
657
658 - string:
659 name: testType
660 default: '{test-type}'
661 description: 'Passes the required test category to the groovy script'
662
663 - string:
664 name: volthaSystemTestsChange
665 default: '{volthaSystemTestsChange}'
666 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
667
668 - string:
669 name: kindVolthaChange
670 default: '{kindVolthaChange}'
671 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
672
673 - string:
674 name: cordTesterChange
675 default: '{cordTesterChange}'
676 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
677 concurrent: true
678
679 project-type: pipeline
680 dsl: !include-raw-escape: ../pipeline/{pipeline-script}