blob: 106696c2260c43b1218f0e6894090f021c15e279 [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:
Matteo Scandolo9973c652020-08-07 15:23:35 -070071 name: workFlow
72 default: '{work-flow}'
73 description: 'Installs and uses the specified work flow on the POD'
74
Matteo Scandolod47bfb22021-05-24 09:40:05 -070075 - string:
76 name: extraHelmFlags
77 default: '{extraHelmFlags}'
78 description: 'Helm flags (passed to each deployment)'
79
Matteo Scandolod82d1de2021-04-06 14:55:58 -070080 # openonu-go only supports a single replica, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -070081 - string:
82 name: NumOfOpenOnu
83 default: '{num-of-openonu}'
84 description: 'Installs the specified Number of OpenOnu Adapters'
85
86 - string:
87 name: NumOfOnos
88 default: '{num-of-onos}'
89 description: 'Installs the specified Number of ONOS instances'
90
Hardik Windlass6598b032021-07-02 10:12:01 +000091 - bool:
92 name: enableMultiUni
93 default: '{enableMultiUni}'
94 description: "Enables the Multi UNI feature"
95
96 - string:
97 name: uniPortMask
98 default: '{uniPortMask}'
99 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
100
Hardik Windlass908533a2021-05-24 16:35:58 +0000101 # installBBSim is not used in the master branch pipeline, remove after 2.8
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800102 - bool:
103 name: installBBSim
Hardik Windlassc7379022021-05-12 13:52:24 +0530104 default: '{installBBSim}'
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800105 description: "Install the BBSim container"
106
107 - string:
Hardik Windlass908533a2021-05-24 16:35:58 +0000108 name: bbsimReplicas
109 default: '{bbsimReplicas}'
110 description: 'Installs the specified Number of BBSim Instances'
111
112 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800113 name: onuNumber
114 default: '{num-of-onus}'
115 description: "Onus per PonPort"
116
117 - string:
118 name: ponNumber
119 default: '{num-of-ponports}'
120 description: "Number of PON Ports"
121
Matteo Scandolo9973c652020-08-07 15:23:35 -0700122 - string:
123 name: NumOfAtomix
124 default: '{num-of-atomix}'
125 description: 'Installs the specified Number of Atomix Instances'
126
Hardik Windlassc7379022021-05-12 13:52:24 +0530127 - string:
128 name: NumOfKafka
129 default: '{num-of-kafka}'
130 description: 'Installs the specified Number of Kafka Instances'
131
132 - string:
133 name: NumOfEtcd
134 default: '{num-of-etcd}'
135 description: 'Installs the specified Number of Etcd Instances'
136
Matteo Scandolo9973c652020-08-07 15:23:35 -0700137 - bool:
138 name: configurePod
139 default: true
140 description: "Configure POD via TOSCA post build"
141
142 - bool:
143 name: reinstallOlt
144 default: '{reinstall-olt}'
145 description: "Re-install olt software bringing up CORD"
146
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700147 # withKind is not used in the master branch pipeline, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700148 - bool:
149 name: withKind
150 default: '{with-kind}'
151 description: "The pods uses kind and a physical fabric thus port forward to the management is needed"
152
153 - string:
154 name: VolthaEtcdPort
155 default: '{VolthaEtcdPort}'
156 description: 'Localhost port that is forwarded to VOLTHA etcd'
157
158 - bool:
159 name: inBandManagement
160 default: '{in-band-management}'
161 description: 'Indicates whether POD is configured for in band management'
162
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700163 - string:
164 name: volthaSystemTestsChange
165 default: '{volthaSystemTestsChange}'
166 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
167
168 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700169 name: volthaHelmChartsChange
170 default: '{volthaHelmChartsChange}'
171 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
172
173 # kind-voltha is not used in the master branch pipeline, remove after 2.8
174 - string:
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700175 name: kindVolthaChange
176 default: '{kindVolthaChange}'
177 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
178
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700179 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700180 - string:
181 name: cordTesterChange
182 default: '{cordTesterChange}'
183 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
184
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700185 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100186 - string:
187 name: openoltAdapterChart
188 default: '{openoltAdapterChart}'
189 description: 'OpenOLT chart name (or location on file system)'
190
Matteo Scandolo9973c652020-08-07 15:23:35 -0700191# defualt properties for the VOLTHA scale jobs
192- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
193 name: voltha-pipe-job-boiler-plate
194
195 project-type: pipeline
196
197 sandbox: true
198
199 properties:
200 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800201 build-days-to-keep: '{big-build-days-to-keep}'
202 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700203
204# VOLTHA Build Jobs
205- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530206 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
207 id: build_voltha_pod_manual
208 disabled: '{disable-job}'
209 description: |
210 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
211 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
212 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
213 Copyright (c) 2018 Open Networking Foundation (ONF)
214
215 <<: *voltha-pipe-job-boiler-plate
216 # default values
217 pipeline-script: 'voltha/master/physical-build.groovy'
218 VolthaEtcdPort: 2379
219 num-of-openonu: 1
220 num-of-onos: 1
221 num-of-atomix: 0
222 num-of-kafka: 1
223 num-of-etcd: 1
224 test-repo: 'voltha-system-tests'
225 release: 'master'
226 name-extension: ''
227 branch: 'master'
228 configurePod: true
229 volthaHelmChartsChange: ''
230 profile: 'Default'
231 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000232 enableMultiUni: false
233 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000234 # installBBSim is not used in the master branch pipeline, remove after 2.8
Hardik Windlassc7379022021-05-12 13:52:24 +0530235 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000236 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700237 num-of-onus: 0
238 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700239 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530240
241 <<: *voltha-build-job-parameters
242
243 concurrent: true
244 project-type: pipeline
245 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
246
247# VOLTHA Build Jobs
248- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700249 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
250 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700251 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700252 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700253 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 -0700254 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700255 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
256 Copyright (c) 2018 Open Networking Foundation (ONF)
257
258 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700259 # default values
260 pipeline-script: 'voltha/master/physical-build.groovy'
261 VolthaEtcdPort: 2379
262 num-of-openonu: 1
263 num-of-onos: 3
264 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530265 num-of-kafka: 3
266 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700267 test-repo: 'voltha-system-tests'
268 release: 'master'
269 name-extension: ''
270 branch: 'master'
271 configurePod: true
272 volthaHelmChartsChange: ''
273 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700274 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000275 enableMultiUni: false
276 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000277 # installBBSim is not used in the master branch pipeline, remove after 2.8
Hardik Windlassc7379022021-05-12 13:52:24 +0530278 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000279 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700280 num-of-onus: 0
281 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700282 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700283
284 <<: *voltha-build-job-parameters
285
286 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700287 project-type: pipeline
288 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700289
290 triggers:
291 - timed: |
292 TZ=America/Los_Angeles
293 H {time} * * *
294
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700295# this job template is defined to support VOLTHA-2.7 builds, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -0700296- job-template:
297 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700298 id: build_voltha_pod_release_legacy
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700299 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700300 description: |
301 Automatic Build on POD {config-pod}, using {Jenkinsfile} in {gerrit-server-url}/voltha-system-tests' <br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700302 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700303 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
304 This job is triggered upon completion of a dependent _test job <br />
305 Copyright (c) 2020 Open Networking Foundation (ONF)
306
307 <<: *voltha-pipe-job-boiler-plate
308 VolthaEtcdPort: '2379'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700309 release: '2.7'
310 branch: 'voltha-2.7'
311 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 -0700312 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000313 enableMultiUni: false
314 uniPortMask: '0x0001'
Hardik Windlassc7379022021-05-12 13:52:24 +0530315 installBBSim: false
Hardik Windlass908533a2021-05-24 16:35:58 +0000316 # bbsimReplicas is not applicable for 2.7 Jobs
317 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700318 num-of-onus: 0
319 num-of-ponports: 0
Hardik Windlassc7379022021-05-12 13:52:24 +0530320 num-of-kafka: 1
321 num-of-etcd: 1
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700322 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700323
324 <<: *voltha-build-job-parameters
325
326 concurrent: true
327
328 pipeline-scm:
329 script-path: '{Jenkinsfile}'
330 scm:
331 - git:
332 url: '{gerrit-server-url}/voltha-system-tests'
333 branches:
334 - '{branch}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700335
Matteo Scandolo218b2dc2021-04-21 13:21:13 -0700336 triggers:
337 - timed: |
338 TZ=America/Los_Angeles
339 H {time} * * *
340
Matteo Scandolo9973c652020-08-07 15:23:35 -0700341# VOLTHA Test Job
342# This job is automatically triggered after a build job has successfully completed
343- job-template:
344 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
345 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700346 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700347 description: |
348 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700349 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Matteo Scandolo9973c652020-08-07 15:23:35 -0700350 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
351 Copyright (c) 2017 Open Networking Foundation (ONF)
352
353 <<: *voltha-pipe-job-boiler-plate
354 pipeline-script: 'voltha-physical-functional-tests.groovy'
355 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
356 manifest-branch: 'master'
357
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100358 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000359 enableMultiUni: false
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100360
Matteo Scandolo9973c652020-08-07 15:23:35 -0700361 parameters:
362 - string:
363 name: buildNode
364 default: '{build-node}'
365 description: 'Name of the Jenkins executor node to run the job on'
366
367 - string:
368 name: TestNodeName
369 default: '{build-node}'
370 description: 'DEPRECATED - use buildNode instead'
371
372 - string:
373 name: cordRepoUrl
374 default: '{gerrit-server-url}'
375 description: 'The URL of the CORD Project repository'
376
377 - string:
378 name: configBaseDir
379 default: 'pod-configs'
380 description: 'The directory inside the POD configs repository'
381
382 - string:
383 name: configDeploymentDir
384 default: 'deployment-configs'
385 description: 'The deployment configs folder'
386
387 - string:
388 name: configKubernetesDir
389 default: 'kubernetes-configs'
390 description: 'The kubernetes config folder'
391
392 - string:
393 name: configToscaDir
394 default: 'tosca-configs'
395 description: 'The tosca config folder'
396
397 - string:
398 name: configFileName
399 default: '{config-pod}'
400 description: 'The config file'
401
402 - string:
403 name: profile
404 default: '{profile}'
405 description: 'Technology Profile pushed to the ETCD'
406
407 - string:
408 name: branch
409 default: '{branch}'
410 description: 'Branch of the test libraries to check out'
411
412 - string:
413 name: manifestUrl
414 default: '{manifest-url}'
415 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
416
417 - string:
418 name: manifestBranch
419 default: '{manifest-branch}'
420 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
421
422 - string:
423 name: workFlow
424 default: '{work-flow}'
425 description: 'Installs and uses the specified work flow on the POD'
426
427 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000428 name: enableMultiUni
429 default: '{enableMultiUni}'
430 description: "Enables the Multi UNI feature"
431
432 - bool:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700433 name: powerSwitch
434 default: '{power-switch}'
435 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
436
Andrea Campanella6ea62272020-09-16 11:10:52 +0200437 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100438 name: oltAdapterAppLabel
439 default: '{oltAdapterAppLabel}'
440 description: 'OLT adapter pod name'
441
442 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200443 name: volthaSystemTestsChange
444 default: '{volthaSystemTestsChange}'
445 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
446
447 - string:
448 name: kindVolthaChange
449 default: '{kindVolthaChange}'
450 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
451
452 - string:
453 name: cordTesterChange
454 default: '{cordTesterChange}'
455 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
456
Matteo Scandolo9973c652020-08-07 15:23:35 -0700457 concurrent: true
458
459 project-type: pipeline
460 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
461
462 triggers:
463 - reverse:
464 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
465 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700466
467
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700468# VOLTHA Soak Test Job
469# This job is triggered by a timer defined in the job
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700470- job-template:
471 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
472 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100473 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700474 description: |
475 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
476 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
477 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
478 Copyright (c) 2017 Open Networking Foundation (ONF)
479
480 <<: *voltha-pipe-job-boiler-plate
481 pipeline-script: 'voltha-physical-functional-tests.groovy'
482 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
483 manifest-branch: 'master'
484
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100485 oltAdapterAppLabel: 'adapter-open-olt'
486
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700487 parameters:
488 - string:
489 name: buildNode
490 default: '{build-node}'
491 description: 'Name of the Jenkins executor node to run the job on'
492
493 - string:
494 name: TestNodeName
495 default: '{build-node}'
496 description: 'DEPRECATED - use buildNode instead'
497
498 - string:
499 name: cordRepoUrl
500 default: '{gerrit-server-url}'
501 description: 'The URL of the CORD Project repository'
502
503 - string:
504 name: configBaseDir
505 default: 'pod-configs'
506 description: 'The directory inside the POD configs repository'
507
508 - string:
509 name: configDeploymentDir
510 default: 'deployment-configs'
511 description: 'The deployment configs folder'
512
513 - string:
514 name: configKubernetesDir
515 default: 'kubernetes-configs'
516 description: 'The kubernetes config folder'
517
518 - string:
519 name: configToscaDir
520 default: 'tosca-configs'
521 description: 'The tosca config folder'
522
523 - string:
524 name: configFileName
525 default: '{config-pod}'
526 description: 'The config file'
527
528 - string:
529 name: profile
530 default: '{profile}'
531 description: 'Technology Profile pushed to the ETCD'
532
533 - string:
534 name: branch
535 default: '{branch}'
536 description: 'Branch of the test libraries to check out'
537
538 - string:
539 name: manifestUrl
540 default: '{manifest-url}'
541 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
542
543 - string:
544 name: manifestBranch
545 default: '{manifest-branch}'
546 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
547
548 - string:
549 name: workFlow
550 default: '{work-flow}'
551 description: 'Installs and uses the specified work flow on the POD'
552
553 - bool:
554 name: powerSwitch
555 default: '{power-switch}'
556 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
557
Suchitra Vemurie6625222020-09-01 17:12:56 -0700558 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100559 name: oltAdapterAppLabel
560 default: '{oltAdapterAppLabel}'
561 description: 'OLT adapter pod name'
562
563 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700564 name: testType
565 default: '{test-type}'
566 description: 'Passes the required test category to the groovy script'
567
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700568 - string:
569 name: volthaSystemTestsChange
570 default: '{volthaSystemTestsChange}'
571 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
572
573 - string:
574 name: kindVolthaChange
575 default: '{kindVolthaChange}'
576 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
577
578 - string:
579 name: cordTesterChange
580 default: '{cordTesterChange}'
581 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 -0700582 concurrent: true
583
584 project-type: pipeline
585 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
586
587 triggers:
588 - timed: |
589 TZ=America/Los_Angeles
590 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000591
592
593# VOLTHA Manual Test Job
594# This job is triggered manually
595- job-template:
596 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
597 id: build_voltha_pod_manual_test
598 disabled: '{disable-job}'
599 description: |
600 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
601 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
602 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
603 Copyright (c) 2017 Open Networking Foundation (ONF)
604 <<: *voltha-pipe-job-boiler-plate
605 pipeline-script: 'voltha-physical-functional-tests.groovy'
606 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
607 manifest-branch: 'master'
608
609 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000610 enableMultiUni: false
Hardik Windlass77221c62021-05-21 06:24:35 +0000611
612 parameters:
613 - string:
614 name: buildNode
615 default: '{build-node}'
616 description: 'Name of the Jenkins executor node to run the job on'
617
618 - string:
619 name: TestNodeName
620 default: '{build-node}'
621 description: 'DEPRECATED - use buildNode instead'
622
623 - string:
624 name: cordRepoUrl
625 default: '{gerrit-server-url}'
626 description: 'The URL of the CORD Project repository'
627
628 - string:
629 name: configBaseDir
630 default: 'pod-configs'
631 description: 'The directory inside the POD configs repository'
632
633 - string:
634 name: configDeploymentDir
635 default: 'deployment-configs'
636 description: 'The deployment configs folder'
637
638 - string:
639 name: configKubernetesDir
640 default: 'kubernetes-configs'
641 description: 'The kubernetes config folder'
642
643 - string:
644 name: configToscaDir
645 default: 'tosca-configs'
646 description: 'The tosca config folder'
647
648 - string:
649 name: configFileName
650 default: '{config-pod}'
651 description: 'The config file'
652
653 - string:
654 name: profile
655 default: '{profile}'
656 description: 'Technology Profile pushed to the ETCD'
657
658 - string:
659 name: branch
660 default: '{branch}'
661 description: 'Branch of the test libraries to check out'
662
663 - string:
664 name: manifestUrl
665 default: '{manifest-url}'
666 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
667
668 - string:
669 name: manifestBranch
670 default: '{manifest-branch}'
671 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
672
673 - string:
674 name: workFlow
675 default: '{work-flow}'
676 description: 'Installs and uses the specified work flow on the POD'
677
678 - bool:
679 name: powerSwitch
680 default: '{power-switch}'
681 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
682
Hardik Windlass6598b032021-07-02 10:12:01 +0000683 - bool:
684 name: enableMultiUni
685 default: '{enableMultiUni}'
686 description: "Enables the Multi UNI feature"
687
Hardik Windlass77221c62021-05-21 06:24:35 +0000688 - string:
689 name: oltAdapterAppLabel
690 default: '{oltAdapterAppLabel}'
691 description: 'OLT adapter pod name'
692
693 - string:
694 name: testType
695 default: '{test-type}'
696 description: 'Passes the required test category to the groovy script'
697
698 - string:
699 name: volthaSystemTestsChange
700 default: '{volthaSystemTestsChange}'
701 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
702
703 - string:
704 name: kindVolthaChange
705 default: '{kindVolthaChange}'
706 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
707
708 - string:
709 name: cordTesterChange
710 default: '{cordTesterChange}'
711 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
712 concurrent: true
713
714 project-type: pipeline
715 dsl: !include-raw-escape: ../pipeline/{pipeline-script}