blob: 0a92aad98b305cdb5f2eb26ea64003c983bfc582 [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 Windlass6598b032021-07-02 10:12:01 +000096 - bool:
97 name: enableMultiUni
98 default: '{enableMultiUni}'
99 description: "Enables the Multi UNI feature"
100
101 - string:
102 name: uniPortMask
103 default: '{uniPortMask}'
104 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
105
Hardik Windlass908533a2021-05-24 16:35:58 +0000106 # installBBSim is not used in the master branch pipeline, remove after 2.8
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800107 - bool:
108 name: installBBSim
Hardik Windlassc7379022021-05-12 13:52:24 +0530109 default: '{installBBSim}'
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800110 description: "Install the BBSim container"
111
112 - string:
Hardik Windlass908533a2021-05-24 16:35:58 +0000113 name: bbsimReplicas
114 default: '{bbsimReplicas}'
115 description: 'Installs the specified Number of BBSim Instances'
116
117 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800118 name: onuNumber
119 default: '{num-of-onus}'
120 description: "Onus per PonPort"
121
122 - string:
123 name: ponNumber
124 default: '{num-of-ponports}'
125 description: "Number of PON Ports"
126
Matteo Scandolo9973c652020-08-07 15:23:35 -0700127 - string:
128 name: NumOfAtomix
129 default: '{num-of-atomix}'
130 description: 'Installs the specified Number of Atomix Instances'
131
Hardik Windlassc7379022021-05-12 13:52:24 +0530132 - string:
133 name: NumOfKafka
134 default: '{num-of-kafka}'
135 description: 'Installs the specified Number of Kafka Instances'
136
137 - string:
138 name: NumOfEtcd
139 default: '{num-of-etcd}'
140 description: 'Installs the specified Number of Etcd Instances'
141
Matteo Scandolo9973c652020-08-07 15:23:35 -0700142 - bool:
143 name: configurePod
144 default: true
145 description: "Configure POD via TOSCA post build"
146
147 - bool:
148 name: reinstallOlt
149 default: '{reinstall-olt}'
150 description: "Re-install olt software bringing up CORD"
151
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700152 # withKind is not used in the master branch pipeline, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700153 - bool:
154 name: withKind
155 default: '{with-kind}'
156 description: "The pods uses kind and a physical fabric thus port forward to the management is needed"
157
158 - string:
159 name: VolthaEtcdPort
160 default: '{VolthaEtcdPort}'
161 description: 'Localhost port that is forwarded to VOLTHA etcd'
162
163 - bool:
164 name: inBandManagement
165 default: '{in-band-management}'
166 description: 'Indicates whether POD is configured for in band management'
167
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700168 - string:
169 name: volthaSystemTestsChange
170 default: '{volthaSystemTestsChange}'
171 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
172
173 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700174 name: volthaHelmChartsChange
175 default: '{volthaHelmChartsChange}'
176 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
177
178 # kind-voltha is not used in the master branch pipeline, remove after 2.8
179 - string:
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700180 name: kindVolthaChange
181 default: '{kindVolthaChange}'
182 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
183
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700184 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700185 - string:
186 name: cordTesterChange
187 default: '{cordTesterChange}'
188 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
189
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700190 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100191 - string:
192 name: openoltAdapterChart
193 default: '{openoltAdapterChart}'
194 description: 'OpenOLT chart name (or location on file system)'
195
Matteo Scandolo9973c652020-08-07 15:23:35 -0700196# defualt properties for the VOLTHA scale jobs
197- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
198 name: voltha-pipe-job-boiler-plate
199
200 project-type: pipeline
201
202 sandbox: true
203
204 properties:
205 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800206 build-days-to-keep: '{big-build-days-to-keep}'
207 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700208
209# VOLTHA Build Jobs
210- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530211 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
212 id: build_voltha_pod_manual
213 disabled: '{disable-job}'
214 description: |
215 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
216 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
217 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
218 Copyright (c) 2018 Open Networking Foundation (ONF)
219
220 <<: *voltha-pipe-job-boiler-plate
221 # default values
222 pipeline-script: 'voltha/master/physical-build.groovy'
223 VolthaEtcdPort: 2379
224 num-of-openonu: 1
225 num-of-onos: 1
226 num-of-atomix: 0
227 num-of-kafka: 1
228 num-of-etcd: 1
229 test-repo: 'voltha-system-tests'
230 release: 'master'
231 name-extension: ''
232 branch: 'master'
233 configurePod: true
234 volthaHelmChartsChange: ''
235 profile: 'Default'
236 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000237 enableMultiUni: false
238 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000239 # installBBSim is not used in the master branch pipeline, remove after 2.8
Hardik Windlassc7379022021-05-12 13:52:24 +0530240 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000241 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700242 num-of-onus: 0
243 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700244 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530245
246 <<: *voltha-build-job-parameters
247
248 concurrent: true
249 project-type: pipeline
250 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
251
252# VOLTHA Build Jobs
253- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700254 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
255 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700256 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700257 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700258 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 -0700259 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700260 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
261 Copyright (c) 2018 Open Networking Foundation (ONF)
262
263 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700264 # default values
265 pipeline-script: 'voltha/master/physical-build.groovy'
266 VolthaEtcdPort: 2379
267 num-of-openonu: 1
268 num-of-onos: 3
269 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530270 num-of-kafka: 3
271 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700272 test-repo: 'voltha-system-tests'
273 release: 'master'
274 name-extension: ''
275 branch: 'master'
276 configurePod: true
277 volthaHelmChartsChange: ''
278 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700279 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000280 enableMultiUni: false
281 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000282 # installBBSim is not used in the master branch pipeline, remove after 2.8
Hardik Windlassc7379022021-05-12 13:52:24 +0530283 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000284 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700285 num-of-onus: 0
286 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700287 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700288
289 <<: *voltha-build-job-parameters
290
291 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700292 project-type: pipeline
293 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700294
295 triggers:
296 - timed: |
297 TZ=America/Los_Angeles
298 H {time} * * *
299
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700300# this job template is defined to support VOLTHA-2.7 builds, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700301- job-template:
302 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700303 id: build_voltha_pod_release_legacy
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700304 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700305 description: |
306 Automatic Build on POD {config-pod}, using {Jenkinsfile} in {gerrit-server-url}/voltha-system-tests' <br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700307 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700308 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
309 This job is triggered upon completion of a dependent _test job <br />
310 Copyright (c) 2020 Open Networking Foundation (ONF)
311
312 <<: *voltha-pipe-job-boiler-plate
313 VolthaEtcdPort: '2379'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700314 release: '2.7'
315 branch: 'voltha-2.7'
316 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 -0700317 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000318 enableMultiUni: false
319 uniPortMask: '0x0001'
Hardik Windlassc7379022021-05-12 13:52:24 +0530320 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000321 # bbsimReplicas is not applicable for 2.7 Jobs
322 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700323 num-of-onus: 0
324 num-of-ponports: 0
Hardik Windlassc7379022021-05-12 13:52:24 +0530325 num-of-kafka: 1
326 num-of-etcd: 1
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700327 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700328
329 <<: *voltha-build-job-parameters
330
331 concurrent: true
332
333 pipeline-scm:
334 script-path: '{Jenkinsfile}'
335 scm:
336 - git:
337 url: '{gerrit-server-url}/voltha-system-tests'
338 branches:
339 - '{branch}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700340
Matteo Scandolo218b2dc2021-04-21 13:21:13 -0700341 triggers:
342 - timed: |
343 TZ=America/Los_Angeles
344 H {time} * * *
345
Matteo Scandolo9973c652020-08-07 15:23:35 -0700346# VOLTHA Test Job
347# This job is automatically triggered after a build job has successfully completed
348- job-template:
349 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
350 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700351 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700352 description: |
353 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700354 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700355 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
356 Copyright (c) 2017 Open Networking Foundation (ONF)
357
358 <<: *voltha-pipe-job-boiler-plate
359 pipeline-script: 'voltha-physical-functional-tests.groovy'
360 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
361 manifest-branch: 'master'
362
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100363 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000364 enableMultiUni: false
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100365
Matteo Scandolo9973c652020-08-07 15:23:35 -0700366 parameters:
367 - string:
368 name: buildNode
369 default: '{build-node}'
370 description: 'Name of the Jenkins executor node to run the job on'
371
372 - string:
373 name: TestNodeName
374 default: '{build-node}'
375 description: 'DEPRECATED - use buildNode instead'
376
377 - string:
378 name: cordRepoUrl
379 default: '{gerrit-server-url}'
380 description: 'The URL of the CORD Project repository'
381
382 - string:
383 name: configBaseDir
384 default: 'pod-configs'
385 description: 'The directory inside the POD configs repository'
386
387 - string:
388 name: configDeploymentDir
389 default: 'deployment-configs'
390 description: 'The deployment configs folder'
391
392 - string:
393 name: configKubernetesDir
394 default: 'kubernetes-configs'
395 description: 'The kubernetes config folder'
396
397 - string:
398 name: configToscaDir
399 default: 'tosca-configs'
400 description: 'The tosca config folder'
401
402 - string:
403 name: configFileName
404 default: '{config-pod}'
405 description: 'The config file'
406
407 - string:
408 name: profile
409 default: '{profile}'
410 description: 'Technology Profile pushed to the ETCD'
411
412 - string:
413 name: branch
414 default: '{branch}'
415 description: 'Branch of the test libraries to check out'
416
417 - string:
418 name: manifestUrl
419 default: '{manifest-url}'
420 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
421
422 - string:
423 name: manifestBranch
424 default: '{manifest-branch}'
425 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
426
427 - string:
428 name: workFlow
429 default: '{work-flow}'
430 description: 'Installs and uses the specified work flow on the POD'
431
432 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000433 name: enableMultiUni
434 default: '{enableMultiUni}'
435 description: "Enables the Multi UNI feature"
436
437 - bool:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700438 name: powerSwitch
439 default: '{power-switch}'
440 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
441
Andrea Campanella6ea62272020-09-16 11:10:52 +0200442 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100443 name: oltAdapterAppLabel
444 default: '{oltAdapterAppLabel}'
445 description: 'OLT adapter pod name'
446
447 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200448 name: volthaSystemTestsChange
449 default: '{volthaSystemTestsChange}'
450 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
451
452 - string:
453 name: kindVolthaChange
454 default: '{kindVolthaChange}'
455 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
456
457 - string:
458 name: cordTesterChange
459 default: '{cordTesterChange}'
460 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
461
Matteo Scandolo9973c652020-08-07 15:23:35 -0700462 concurrent: true
463
464 project-type: pipeline
465 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
466
467 triggers:
468 - reverse:
469 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
470 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700471
472
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700473# VOLTHA Soak Test Job
474# This job is triggered by a timer defined in the job
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700475- job-template:
476 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
477 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100478 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700479 description: |
480 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
481 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
482 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
483 Copyright (c) 2017 Open Networking Foundation (ONF)
484
485 <<: *voltha-pipe-job-boiler-plate
486 pipeline-script: 'voltha-physical-functional-tests.groovy'
487 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
488 manifest-branch: 'master'
489
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100490 oltAdapterAppLabel: 'adapter-open-olt'
491
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700492 parameters:
493 - string:
494 name: buildNode
495 default: '{build-node}'
496 description: 'Name of the Jenkins executor node to run the job on'
497
498 - string:
499 name: TestNodeName
500 default: '{build-node}'
501 description: 'DEPRECATED - use buildNode instead'
502
503 - string:
504 name: cordRepoUrl
505 default: '{gerrit-server-url}'
506 description: 'The URL of the CORD Project repository'
507
508 - string:
509 name: configBaseDir
510 default: 'pod-configs'
511 description: 'The directory inside the POD configs repository'
512
513 - string:
514 name: configDeploymentDir
515 default: 'deployment-configs'
516 description: 'The deployment configs folder'
517
518 - string:
519 name: configKubernetesDir
520 default: 'kubernetes-configs'
521 description: 'The kubernetes config folder'
522
523 - string:
524 name: configToscaDir
525 default: 'tosca-configs'
526 description: 'The tosca config folder'
527
528 - string:
529 name: configFileName
530 default: '{config-pod}'
531 description: 'The config file'
532
533 - string:
534 name: profile
535 default: '{profile}'
536 description: 'Technology Profile pushed to the ETCD'
537
538 - string:
539 name: branch
540 default: '{branch}'
541 description: 'Branch of the test libraries to check out'
542
543 - string:
544 name: manifestUrl
545 default: '{manifest-url}'
546 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
547
548 - string:
549 name: manifestBranch
550 default: '{manifest-branch}'
551 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
552
553 - string:
554 name: workFlow
555 default: '{work-flow}'
556 description: 'Installs and uses the specified work flow on the POD'
557
558 - bool:
559 name: powerSwitch
560 default: '{power-switch}'
561 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
562
Suchitra Vemurie6625222020-09-01 17:12:56 -0700563 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100564 name: oltAdapterAppLabel
565 default: '{oltAdapterAppLabel}'
566 description: 'OLT adapter pod name'
567
568 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700569 name: testType
570 default: '{test-type}'
571 description: 'Passes the required test category to the groovy script'
572
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700573 - string:
574 name: volthaSystemTestsChange
575 default: '{volthaSystemTestsChange}'
576 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
577
578 - string:
579 name: kindVolthaChange
580 default: '{kindVolthaChange}'
581 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
582
583 - string:
584 name: cordTesterChange
585 default: '{cordTesterChange}'
586 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 -0700587 concurrent: true
588
589 project-type: pipeline
590 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
591
592 triggers:
593 - timed: |
594 TZ=America/Los_Angeles
595 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000596
597
598# VOLTHA Manual Test Job
599# This job is triggered manually
600- job-template:
601 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
602 id: build_voltha_pod_manual_test
603 disabled: '{disable-job}'
604 description: |
605 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
606 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
607 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
608 Copyright (c) 2017 Open Networking Foundation (ONF)
609 <<: *voltha-pipe-job-boiler-plate
610 pipeline-script: 'voltha-physical-functional-tests.groovy'
611 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
612 manifest-branch: 'master'
613
614 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000615 enableMultiUni: false
Hardik Windlass77221c62021-05-21 06:24:35 +0000616
617 parameters:
618 - string:
619 name: buildNode
620 default: '{build-node}'
621 description: 'Name of the Jenkins executor node to run the job on'
622
623 - string:
624 name: TestNodeName
625 default: '{build-node}'
626 description: 'DEPRECATED - use buildNode instead'
627
628 - string:
629 name: cordRepoUrl
630 default: '{gerrit-server-url}'
631 description: 'The URL of the CORD Project repository'
632
633 - string:
634 name: configBaseDir
635 default: 'pod-configs'
636 description: 'The directory inside the POD configs repository'
637
638 - string:
639 name: configDeploymentDir
640 default: 'deployment-configs'
641 description: 'The deployment configs folder'
642
643 - string:
644 name: configKubernetesDir
645 default: 'kubernetes-configs'
646 description: 'The kubernetes config folder'
647
648 - string:
649 name: configToscaDir
650 default: 'tosca-configs'
651 description: 'The tosca config folder'
652
653 - string:
654 name: configFileName
655 default: '{config-pod}'
656 description: 'The config file'
657
658 - string:
659 name: profile
660 default: '{profile}'
661 description: 'Technology Profile pushed to the ETCD'
662
663 - string:
664 name: branch
665 default: '{branch}'
666 description: 'Branch of the test libraries to check out'
667
668 - string:
669 name: manifestUrl
670 default: '{manifest-url}'
671 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
672
673 - string:
674 name: manifestBranch
675 default: '{manifest-branch}'
676 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
677
678 - string:
679 name: workFlow
680 default: '{work-flow}'
681 description: 'Installs and uses the specified work flow on the POD'
682
683 - bool:
684 name: powerSwitch
685 default: '{power-switch}'
686 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
687
Hardik Windlass6598b032021-07-02 10:12:01 +0000688 - bool:
689 name: enableMultiUni
690 default: '{enableMultiUni}'
691 description: "Enables the Multi UNI feature"
692
Hardik Windlass77221c62021-05-21 06:24:35 +0000693 - string:
694 name: oltAdapterAppLabel
695 default: '{oltAdapterAppLabel}'
696 description: 'OLT adapter pod name'
697
698 - string:
699 name: testType
700 default: '{test-type}'
701 description: 'Passes the required test category to the groovy script'
702
703 - string:
704 name: volthaSystemTestsChange
705 default: '{volthaSystemTestsChange}'
706 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
707
708 - string:
709 name: kindVolthaChange
710 default: '{kindVolthaChange}'
711 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
712
713 - string:
714 name: cordTesterChange
715 default: '{cordTesterChange}'
716 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
717 concurrent: true
718
719 project-type: pipeline
720 dsl: !include-raw-escape: ../pipeline/{pipeline-script}