blob: f819d1fb3bfd7a56b9b70a5c3e5f679a7e1cd12c [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
Hardik Windlass908533a2021-05-24 16:35:58 +000096 # installBBSim is not used in the master branch pipeline, remove after 2.8
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -080097 - bool:
98 name: installBBSim
Hardik Windlassc7379022021-05-12 13:52:24 +053099 default: '{installBBSim}'
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800100 description: "Install the BBSim container"
101
102 - string:
Hardik Windlass908533a2021-05-24 16:35:58 +0000103 name: bbsimReplicas
104 default: '{bbsimReplicas}'
105 description: 'Installs the specified Number of BBSim Instances'
106
107 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800108 name: onuNumber
109 default: '{num-of-onus}'
110 description: "Onus per PonPort"
111
112 - string:
113 name: ponNumber
114 default: '{num-of-ponports}'
115 description: "Number of PON Ports"
116
Matteo Scandolo9973c652020-08-07 15:23:35 -0700117 - string:
118 name: NumOfAtomix
119 default: '{num-of-atomix}'
120 description: 'Installs the specified Number of Atomix Instances'
121
Hardik Windlassc7379022021-05-12 13:52:24 +0530122 - string:
123 name: NumOfKafka
124 default: '{num-of-kafka}'
125 description: 'Installs the specified Number of Kafka Instances'
126
127 - string:
128 name: NumOfEtcd
129 default: '{num-of-etcd}'
130 description: 'Installs the specified Number of Etcd Instances'
131
Matteo Scandolo9973c652020-08-07 15:23:35 -0700132 - bool:
133 name: configurePod
134 default: true
135 description: "Configure POD via TOSCA post build"
136
137 - bool:
138 name: reinstallOlt
139 default: '{reinstall-olt}'
140 description: "Re-install olt software bringing up CORD"
141
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700142 # withKind is not used in the master branch pipeline, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700143 - bool:
144 name: withKind
145 default: '{with-kind}'
146 description: "The pods uses kind and a physical fabric thus port forward to the management is needed"
147
148 - string:
149 name: VolthaEtcdPort
150 default: '{VolthaEtcdPort}'
151 description: 'Localhost port that is forwarded to VOLTHA etcd'
152
153 - bool:
154 name: inBandManagement
155 default: '{in-band-management}'
156 description: 'Indicates whether POD is configured for in band management'
157
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700158 - string:
159 name: volthaSystemTestsChange
160 default: '{volthaSystemTestsChange}'
161 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
162
163 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700164 name: volthaHelmChartsChange
165 default: '{volthaHelmChartsChange}'
166 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
167
168 # kind-voltha is not used in the master branch pipeline, remove after 2.8
169 - string:
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700170 name: kindVolthaChange
171 default: '{kindVolthaChange}'
172 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
173
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700174 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700175 - string:
176 name: cordTesterChange
177 default: '{cordTesterChange}'
178 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
179
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700180 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100181 - string:
182 name: openoltAdapterChart
183 default: '{openoltAdapterChart}'
184 description: 'OpenOLT chart name (or location on file system)'
185
Matteo Scandolo9973c652020-08-07 15:23:35 -0700186# defualt properties for the VOLTHA scale jobs
187- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
188 name: voltha-pipe-job-boiler-plate
189
190 project-type: pipeline
191
192 sandbox: true
193
194 properties:
195 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800196 build-days-to-keep: '{big-build-days-to-keep}'
197 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700198
199# VOLTHA Build Jobs
200- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530201 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
202 id: build_voltha_pod_manual
203 disabled: '{disable-job}'
204 description: |
205 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
206 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
207 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
208 Copyright (c) 2018 Open Networking Foundation (ONF)
209
210 <<: *voltha-pipe-job-boiler-plate
211 # default values
212 pipeline-script: 'voltha/master/physical-build.groovy'
213 VolthaEtcdPort: 2379
214 num-of-openonu: 1
215 num-of-onos: 1
216 num-of-atomix: 0
217 num-of-kafka: 1
218 num-of-etcd: 1
219 test-repo: 'voltha-system-tests'
220 release: 'master'
221 name-extension: ''
222 branch: 'master'
223 configurePod: true
224 volthaHelmChartsChange: ''
225 profile: 'Default'
226 logLevel: 'DEBUG'
Hardik Windlass908533a2021-05-24 16:35:58 +0000227 # installBBSim is not used in the master branch pipeline, remove after 2.8
Hardik Windlassc7379022021-05-12 13:52:24 +0530228 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000229 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700230 num-of-onus: 0
231 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700232 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530233
234 <<: *voltha-build-job-parameters
235
236 concurrent: true
237 project-type: pipeline
238 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
239
240# VOLTHA Build Jobs
241- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700242 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
243 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700244 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700245 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700246 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 -0700247 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700248 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
249 Copyright (c) 2018 Open Networking Foundation (ONF)
250
251 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700252 # default values
253 pipeline-script: 'voltha/master/physical-build.groovy'
254 VolthaEtcdPort: 2379
255 num-of-openonu: 1
256 num-of-onos: 3
257 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530258 num-of-kafka: 3
259 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700260 test-repo: 'voltha-system-tests'
261 release: 'master'
262 name-extension: ''
263 branch: 'master'
264 configurePod: true
265 volthaHelmChartsChange: ''
266 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700267 logLevel: 'DEBUG'
Hardik Windlass908533a2021-05-24 16:35:58 +0000268 # installBBSim is not used in the master branch pipeline, remove after 2.8
Hardik Windlassc7379022021-05-12 13:52:24 +0530269 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000270 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700271 num-of-onus: 0
272 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700273 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700274
275 <<: *voltha-build-job-parameters
276
277 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700278 project-type: pipeline
279 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700280
281 triggers:
282 - timed: |
283 TZ=America/Los_Angeles
284 H {time} * * *
285
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700286# this job template is defined to support VOLTHA-2.7 builds, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700287- job-template:
288 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700289 id: build_voltha_pod_release_legacy
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700290 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700291 description: |
292 Automatic Build on POD {config-pod}, using {Jenkinsfile} in {gerrit-server-url}/voltha-system-tests' <br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700293 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700294 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
295 This job is triggered upon completion of a dependent _test job <br />
296 Copyright (c) 2020 Open Networking Foundation (ONF)
297
298 <<: *voltha-pipe-job-boiler-plate
299 VolthaEtcdPort: '2379'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700300 release: '2.7'
301 branch: 'voltha-2.7'
302 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 -0700303 logLevel: 'DEBUG'
Hardik Windlassc7379022021-05-12 13:52:24 +0530304 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000305 # bbsimReplicas is not applicable for 2.7 Jobs
306 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700307 num-of-onus: 0
308 num-of-ponports: 0
Hardik Windlassc7379022021-05-12 13:52:24 +0530309 num-of-kafka: 1
310 num-of-etcd: 1
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700311 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700312
313 <<: *voltha-build-job-parameters
314
315 concurrent: true
316
317 pipeline-scm:
318 script-path: '{Jenkinsfile}'
319 scm:
320 - git:
321 url: '{gerrit-server-url}/voltha-system-tests'
322 branches:
323 - '{branch}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700324
Matteo Scandolo218b2dc2021-04-21 13:21:13 -0700325 triggers:
326 - timed: |
327 TZ=America/Los_Angeles
328 H {time} * * *
329
Matteo Scandolo9973c652020-08-07 15:23:35 -0700330# VOLTHA Test Job
331# This job is automatically triggered after a build job has successfully completed
332- job-template:
333 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
334 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700335 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700336 description: |
337 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700338 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700339 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
340 Copyright (c) 2017 Open Networking Foundation (ONF)
341
342 <<: *voltha-pipe-job-boiler-plate
343 pipeline-script: 'voltha-physical-functional-tests.groovy'
344 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
345 manifest-branch: 'master'
346
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100347 oltAdapterAppLabel: 'adapter-open-olt'
348
Matteo Scandolo9973c652020-08-07 15:23:35 -0700349 parameters:
350 - string:
351 name: buildNode
352 default: '{build-node}'
353 description: 'Name of the Jenkins executor node to run the job on'
354
355 - string:
356 name: TestNodeName
357 default: '{build-node}'
358 description: 'DEPRECATED - use buildNode instead'
359
360 - string:
361 name: cordRepoUrl
362 default: '{gerrit-server-url}'
363 description: 'The URL of the CORD Project repository'
364
365 - string:
366 name: configBaseDir
367 default: 'pod-configs'
368 description: 'The directory inside the POD configs repository'
369
370 - string:
371 name: configDeploymentDir
372 default: 'deployment-configs'
373 description: 'The deployment configs folder'
374
375 - string:
376 name: configKubernetesDir
377 default: 'kubernetes-configs'
378 description: 'The kubernetes config folder'
379
380 - string:
381 name: configToscaDir
382 default: 'tosca-configs'
383 description: 'The tosca config folder'
384
385 - string:
386 name: configFileName
387 default: '{config-pod}'
388 description: 'The config file'
389
390 - string:
391 name: profile
392 default: '{profile}'
393 description: 'Technology Profile pushed to the ETCD'
394
395 - string:
396 name: branch
397 default: '{branch}'
398 description: 'Branch of the test libraries to check out'
399
400 - string:
401 name: manifestUrl
402 default: '{manifest-url}'
403 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
404
405 - string:
406 name: manifestBranch
407 default: '{manifest-branch}'
408 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
409
410 - string:
411 name: workFlow
412 default: '{work-flow}'
413 description: 'Installs and uses the specified work flow on the POD'
414
415 - bool:
416 name: powerSwitch
417 default: '{power-switch}'
418 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
419
Andrea Campanella6ea62272020-09-16 11:10:52 +0200420 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100421 name: oltAdapterAppLabel
422 default: '{oltAdapterAppLabel}'
423 description: 'OLT adapter pod name'
424
425 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200426 name: volthaSystemTestsChange
427 default: '{volthaSystemTestsChange}'
428 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
429
430 - string:
431 name: kindVolthaChange
432 default: '{kindVolthaChange}'
433 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
434
435 - string:
436 name: cordTesterChange
437 default: '{cordTesterChange}'
438 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
439
Matteo Scandolo9973c652020-08-07 15:23:35 -0700440 concurrent: true
441
442 project-type: pipeline
443 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
444
445 triggers:
446 - reverse:
447 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
448 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700449
450
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700451# VOLTHA Soak Test Job
452# This job is triggered by a timer defined in the job
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700453- job-template:
454 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
455 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100456 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700457 description: |
458 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
459 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
460 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
461 Copyright (c) 2017 Open Networking Foundation (ONF)
462
463 <<: *voltha-pipe-job-boiler-plate
464 pipeline-script: 'voltha-physical-functional-tests.groovy'
465 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
466 manifest-branch: 'master'
467
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100468 oltAdapterAppLabel: 'adapter-open-olt'
469
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700470 parameters:
471 - string:
472 name: buildNode
473 default: '{build-node}'
474 description: 'Name of the Jenkins executor node to run the job on'
475
476 - string:
477 name: TestNodeName
478 default: '{build-node}'
479 description: 'DEPRECATED - use buildNode instead'
480
481 - string:
482 name: cordRepoUrl
483 default: '{gerrit-server-url}'
484 description: 'The URL of the CORD Project repository'
485
486 - string:
487 name: configBaseDir
488 default: 'pod-configs'
489 description: 'The directory inside the POD configs repository'
490
491 - string:
492 name: configDeploymentDir
493 default: 'deployment-configs'
494 description: 'The deployment configs folder'
495
496 - string:
497 name: configKubernetesDir
498 default: 'kubernetes-configs'
499 description: 'The kubernetes config folder'
500
501 - string:
502 name: configToscaDir
503 default: 'tosca-configs'
504 description: 'The tosca config folder'
505
506 - string:
507 name: configFileName
508 default: '{config-pod}'
509 description: 'The config file'
510
511 - string:
512 name: profile
513 default: '{profile}'
514 description: 'Technology Profile pushed to the ETCD'
515
516 - string:
517 name: branch
518 default: '{branch}'
519 description: 'Branch of the test libraries to check out'
520
521 - string:
522 name: manifestUrl
523 default: '{manifest-url}'
524 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
525
526 - string:
527 name: manifestBranch
528 default: '{manifest-branch}'
529 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
530
531 - string:
532 name: workFlow
533 default: '{work-flow}'
534 description: 'Installs and uses the specified work flow on the POD'
535
536 - bool:
537 name: powerSwitch
538 default: '{power-switch}'
539 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
540
Suchitra Vemurie6625222020-09-01 17:12:56 -0700541 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100542 name: oltAdapterAppLabel
543 default: '{oltAdapterAppLabel}'
544 description: 'OLT adapter pod name'
545
546 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700547 name: testType
548 default: '{test-type}'
549 description: 'Passes the required test category to the groovy script'
550
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700551 - string:
552 name: volthaSystemTestsChange
553 default: '{volthaSystemTestsChange}'
554 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
555
556 - string:
557 name: kindVolthaChange
558 default: '{kindVolthaChange}'
559 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
560
561 - string:
562 name: cordTesterChange
563 default: '{cordTesterChange}'
564 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 -0700565 concurrent: true
566
567 project-type: pipeline
568 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
569
570 triggers:
571 - timed: |
572 TZ=America/Los_Angeles
573 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000574
575
576# VOLTHA Manual Test Job
577# This job is triggered manually
578- job-template:
579 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
580 id: build_voltha_pod_manual_test
581 disabled: '{disable-job}'
582 description: |
583 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
584 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
585 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
586 Copyright (c) 2017 Open Networking Foundation (ONF)
587 <<: *voltha-pipe-job-boiler-plate
588 pipeline-script: 'voltha-physical-functional-tests.groovy'
589 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
590 manifest-branch: 'master'
591
592 oltAdapterAppLabel: 'adapter-open-olt'
593
594 parameters:
595 - string:
596 name: buildNode
597 default: '{build-node}'
598 description: 'Name of the Jenkins executor node to run the job on'
599
600 - string:
601 name: TestNodeName
602 default: '{build-node}'
603 description: 'DEPRECATED - use buildNode instead'
604
605 - string:
606 name: cordRepoUrl
607 default: '{gerrit-server-url}'
608 description: 'The URL of the CORD Project repository'
609
610 - string:
611 name: configBaseDir
612 default: 'pod-configs'
613 description: 'The directory inside the POD configs repository'
614
615 - string:
616 name: configDeploymentDir
617 default: 'deployment-configs'
618 description: 'The deployment configs folder'
619
620 - string:
621 name: configKubernetesDir
622 default: 'kubernetes-configs'
623 description: 'The kubernetes config folder'
624
625 - string:
626 name: configToscaDir
627 default: 'tosca-configs'
628 description: 'The tosca config folder'
629
630 - string:
631 name: configFileName
632 default: '{config-pod}'
633 description: 'The config file'
634
635 - string:
636 name: profile
637 default: '{profile}'
638 description: 'Technology Profile pushed to the ETCD'
639
640 - string:
641 name: branch
642 default: '{branch}'
643 description: 'Branch of the test libraries to check out'
644
645 - string:
646 name: manifestUrl
647 default: '{manifest-url}'
648 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
649
650 - string:
651 name: manifestBranch
652 default: '{manifest-branch}'
653 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
654
655 - string:
656 name: workFlow
657 default: '{work-flow}'
658 description: 'Installs and uses the specified work flow on the POD'
659
660 - bool:
661 name: powerSwitch
662 default: '{power-switch}'
663 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
664
665 - string:
666 name: oltAdapterAppLabel
667 default: '{oltAdapterAppLabel}'
668 description: 'OLT adapter pod name'
669
670 - string:
671 name: testType
672 default: '{test-type}'
673 description: 'Passes the required test category to the groovy script'
674
675 - string:
676 name: volthaSystemTestsChange
677 default: '{volthaSystemTestsChange}'
678 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
679
680 - string:
681 name: kindVolthaChange
682 default: '{kindVolthaChange}'
683 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
684
685 - string:
686 name: cordTesterChange
687 default: '{cordTesterChange}'
688 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
689 concurrent: true
690
691 project-type: pipeline
692 dsl: !include-raw-escape: ../pipeline/{pipeline-script}