blob: 5abab1bb74336587e7e72f74f74126f29f97f3aa [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
Andrea Campanellace8aa762021-08-27 09:32:22 +020010 oltAdapterReleaseName: open-olt
11
Andrea Campanellaecefbc82021-08-27 11:06:31 +020012 waitTimerForOltUp: 360
13
Matteo Scandolo9973c652020-08-07 15:23:35 -070014 parameters:
15 - string:
16 name: buildNode
17 default: '{build-node}'
18 description: 'Name of the Jenkins executor node to run the job on'
19
20 - string:
21 name: TestNodeName
22 default: '{build-node}'
23 description: 'DEPRECATED - use buildNode instead'
24
25 - string:
Matteo Scandolo982b69d2021-05-10 12:01:57 -070026 name: logLevel
27 default: '{logLevel}'
28 description: 'Log level for all the components'
29
30 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070031 name: cordRepoUrl
32 default: '{gerrit-server-url}'
33 description: 'The URL of the CORD Project repository'
34
35 - string:
36 name: configBaseDir
37 default: 'pod-configs'
38 description: 'The directory inside the POD configs repository'
39
40 - string:
41 name: configDeploymentDir
42 default: 'deployment-configs'
43 description: 'The deployment configs folder'
44
45 - string:
46 name: configKubernetesDir
47 default: 'kubernetes-configs'
48 description: 'The kubernetes config folder'
49
50 - string:
51 name: configToscaDir
52 default: 'tosca-configs'
53 description: 'The tosca config folder'
54
55 - string:
56 name: configFileName
57 default: '{config-pod}'
58 description: 'The config file'
59
60 - string:
61 name: profile
62 default: '{profile}'
63 description: 'Technology Profile pushed to the ETCD'
64
65 - string:
66 name: helmRepoUrl
67 default: 'https://charts.opencord.org'
68 description: 'URL where helm-charts are published'
69
70 - string:
71 name: branch
72 default: '{branch}'
73
74 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070075 name: workFlow
76 default: '{work-flow}'
77 description: 'Installs and uses the specified work flow on the POD'
78
Matteo Scandolod47bfb22021-05-24 09:40:05 -070079 - string:
80 name: extraHelmFlags
81 default: '{extraHelmFlags}'
82 description: 'Helm flags (passed to each deployment)'
83
Matteo Scandolod82d1de2021-04-06 14:55:58 -070084 # openonu-go only supports a single replica, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -070085 - string:
86 name: NumOfOpenOnu
87 default: '{num-of-openonu}'
88 description: 'Installs the specified Number of OpenOnu Adapters'
89
90 - string:
91 name: NumOfOnos
92 default: '{num-of-onos}'
93 description: 'Installs the specified Number of ONOS instances'
94
Hardik Windlass6598b032021-07-02 10:12:01 +000095 - bool:
96 name: enableMultiUni
97 default: '{enableMultiUni}'
98 description: "Enables the Multi UNI feature"
99
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530100 - bool:
101 name: withFttb
102 default: '{withFttb}'
103 description: "Deploy with FTTB"
104
Hardik Windlass6598b032021-07-02 10:12:01 +0000105 - string:
106 name: uniPortMask
107 default: '{uniPortMask}'
108 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
109
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800110 - string:
Hardik Windlass908533a2021-05-24 16:35:58 +0000111 name: bbsimReplicas
112 default: '{bbsimReplicas}'
113 description: 'Installs the specified Number of BBSim Instances'
114
115 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800116 name: onuNumber
117 default: '{num-of-onus}'
118 description: "Onus per PonPort"
119
120 - string:
121 name: ponNumber
122 default: '{num-of-ponports}'
123 description: "Number of PON Ports"
124
Matteo Scandolo9973c652020-08-07 15:23:35 -0700125 - string:
126 name: NumOfAtomix
127 default: '{num-of-atomix}'
128 description: 'Installs the specified Number of Atomix Instances'
129
Hardik Windlassc7379022021-05-12 13:52:24 +0530130 - string:
131 name: NumOfKafka
132 default: '{num-of-kafka}'
133 description: 'Installs the specified Number of Kafka Instances'
134
135 - string:
136 name: NumOfEtcd
137 default: '{num-of-etcd}'
138 description: 'Installs the specified Number of Etcd Instances'
139
Matteo Scandolo9973c652020-08-07 15:23:35 -0700140 - bool:
141 name: configurePod
142 default: true
143 description: "Configure POD via TOSCA post build"
144
145 - bool:
146 name: reinstallOlt
147 default: '{reinstall-olt}'
148 description: "Re-install olt software bringing up CORD"
149
Matteo Scandolo9973c652020-08-07 15:23:35 -0700150 - bool:
151 name: inBandManagement
152 default: '{in-band-management}'
153 description: 'Indicates whether POD is configured for in band management'
154
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700155 - string:
156 name: volthaSystemTestsChange
157 default: '{volthaSystemTestsChange}'
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500158 description: 'Download delta from gerrit:voltha-system-tests, example value: "refs/changes/79/18779/13"'
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700159
160 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700161 name: volthaHelmChartsChange
162 default: '{volthaHelmChartsChange}'
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500163 description: 'Download delta from gerrit:voltha-helm-charts, example value: "refs/changes/32/19132/1"'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700164
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700165 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700166 - string:
167 name: cordTesterChange
168 default: '{cordTesterChange}'
169 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
170
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700171 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100172 - string:
173 name: openoltAdapterChart
174 default: '{openoltAdapterChart}'
Andrea Campanellace8aa762021-08-27 09:32:22 +0200175 description: 'Olt adapter chart name (or location on file system)'
176
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200177 # this is used in the Adtran DT job
Andrea Campanellace8aa762021-08-27 09:32:22 +0200178 - string:
179 name: oltAdapterReleaseName
180 default: '{oltAdapterReleaseName}'
181 description: 'Olt adapter release name'
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100182
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200183 - string:
184 name: waitTimerForOltUp
185 default: '{waitTimerForOltUp}'
186 description: 'Wait timer for the OLT to come up after reboot'
187
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500188 - bool:
189 name: DebugMode
190 default: false
191 description: "Enable script debugging (unused)"
192
193# -----------------------------------------------------------------------
194# default properties for the VOLTHA scale jobs
195# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700196- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
197 name: voltha-pipe-job-boiler-plate
198
199 project-type: pipeline
200
201 sandbox: true
202
203 properties:
Joey Armstronge04fe1f2022-08-25 13:48:13 -0400204 - onf-infra-volthadevs-permissions
Matteo Scandolo9973c652020-08-07 15:23:35 -0700205 - 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
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500209# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500210# VOLTHA Build Job (manual)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500211# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700212- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530213 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
214 id: build_voltha_pod_manual
215 disabled: '{disable-job}'
216 description: |
217 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
218 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500219 Created by QA (Suchitra Vemuri) <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500220 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlassc7379022021-05-12 13:52:24 +0530221
222 <<: *voltha-pipe-job-boiler-plate
223 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200224 pipeline-script: 'voltha/physical-build.groovy'
Hardik Windlassc7379022021-05-12 13:52:24 +0530225 num-of-openonu: 1
226 num-of-onos: 1
227 num-of-atomix: 0
228 num-of-kafka: 1
229 num-of-etcd: 1
230 test-repo: 'voltha-system-tests'
231 release: 'master'
232 name-extension: ''
233 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200234 pipeline-branch: 'master'
Hardik Windlassc7379022021-05-12 13:52:24 +0530235 configurePod: true
236 volthaHelmChartsChange: ''
237 profile: 'Default'
238 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000239 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530240 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000241 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000242 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700243 num-of-onus: 0
244 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700245 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530246
247 <<: *voltha-build-job-parameters
248
249 concurrent: true
250 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200251 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200252 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200253 - git:
254 url: https://gerrit.opencord.org/ci-management
255 branches:
256 - origin/{pipeline-branch}
257 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlassc7379022021-05-12 13:52:24 +0530258
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500259# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500260# VOLTHA Build Jobs (periodic)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500261# -----------------------------------------------------------------------
Hardik Windlassc7379022021-05-12 13:52:24 +0530262- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700263 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
264 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700265 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700266 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700267 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 -0700268 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500269 Created by QA (Suchitra Vemuri) <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500270 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700271
272 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700273 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200274 pipeline-script: 'voltha/physical-build.groovy'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700275 num-of-openonu: 1
276 num-of-onos: 3
277 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530278 num-of-kafka: 3
279 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700280 test-repo: 'voltha-system-tests'
281 release: 'master'
282 name-extension: ''
283 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200284 pipeline-branch: 'master'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700285 configurePod: true
286 volthaHelmChartsChange: ''
287 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700288 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000289 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530290 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000291 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000292 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700293 num-of-onus: 0
294 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700295 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700296
297 <<: *voltha-build-job-parameters
298
299 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700300 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200301 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200302 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200303 - git:
304 url: https://gerrit.opencord.org/ci-management
305 branches:
306 - origin/{pipeline-branch}
307 script-path: jjb/pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700308
309 triggers:
310 - timed: |
311 TZ=America/Los_Angeles
312 H {time} * * *
313
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500314# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500315# VOLTHA Build Jobs (periodic: playground
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500316# [CORD_3256]
Joey Armstrong980e37f2023-02-28 18:57:41 -0500317# -----------------------------------------------------------------------
318- job-template:
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500319 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}-playground'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500320 id: build_voltha_pod_release_timer_playground
321 disabled: '{disable-job}'
322 description: |
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500323 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management'
324 Created from job-template {id} from repo::ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500325 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong980e37f2023-02-28 18:57:41 -0500326
327 <<: *voltha-pipe-job-boiler-plate
328 # default values
329 pipeline-script: 'voltha/playground/physical-build.groovy'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500330 num-of-openonu: 1
331 num-of-onos: 3
332 num-of-atomix: 3
333 num-of-kafka: 3
334 num-of-etcd: 3
335 test-repo: 'voltha-system-tests'
336 release: 'master'
337 name-extension: ''
338 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200339 pipeline-branch: 'master'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500340 configurePod: true
341 volthaHelmChartsChange: ''
342 profile: 'Default'
343 logLevel: 'DEBUG'
344 enableMultiUni: false
345 withFttb: false
346 uniPortMask: '0x0001'
347 bbsimReplicas: 0
348 num-of-onus: 0
349 num-of-ponports: 0
350 extraHelmFlags: ''
351
352 <<: *voltha-build-job-parameters
353
354 concurrent: true
355 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200356 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200357 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200358 - git:
359 url: https://gerrit.opencord.org/ci-management
360 branches:
361 - origin/{pipeline-branch}
362 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong980e37f2023-02-28 18:57:41 -0500363
364 triggers:
365 - timed: |
366 TZ=America/Los_Angeles
367 H {time} * * *
368
369# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700370# VOLTHA Test Job
371# This job is automatically triggered after a build job has successfully completed
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500372# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700373- job-template:
374 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
375 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700376 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700377 description: |
378 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700379 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500380 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400381 UUID: 1a23dd34-4058-11ee-b6af-3b2e60c5d971 <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500382 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700383
384 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200385 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200386 pipeline-branch: 'master'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700387 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
388 manifest-branch: 'master'
389
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100390 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000391 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530392 withFttb: false
Andrea Campanella2af4b902021-11-05 10:40:02 +0100393 timeout: 300
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100394
Matteo Scandolo9973c652020-08-07 15:23:35 -0700395 parameters:
396 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000397 name: timeout
398 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000399 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000400
401 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700402 name: buildNode
403 default: '{build-node}'
404 description: 'Name of the Jenkins executor node to run the job on'
405
406 - string:
407 name: TestNodeName
408 default: '{build-node}'
409 description: 'DEPRECATED - use buildNode instead'
410
411 - string:
412 name: cordRepoUrl
413 default: '{gerrit-server-url}'
414 description: 'The URL of the CORD Project repository'
415
416 - string:
417 name: configBaseDir
418 default: 'pod-configs'
419 description: 'The directory inside the POD configs repository'
420
421 - string:
422 name: configDeploymentDir
423 default: 'deployment-configs'
424 description: 'The deployment configs folder'
425
426 - string:
427 name: configKubernetesDir
428 default: 'kubernetes-configs'
429 description: 'The kubernetes config folder'
430
431 - string:
432 name: configToscaDir
433 default: 'tosca-configs'
434 description: 'The tosca config folder'
435
436 - string:
437 name: configFileName
438 default: '{config-pod}'
439 description: 'The config file'
440
441 - string:
442 name: profile
443 default: '{profile}'
444 description: 'Technology Profile pushed to the ETCD'
445
446 - string:
447 name: branch
448 default: '{branch}'
449 description: 'Branch of the test libraries to check out'
450
451 - string:
452 name: manifestUrl
453 default: '{manifest-url}'
454 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
455
456 - string:
457 name: manifestBranch
458 default: '{manifest-branch}'
459 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
460
461 - string:
462 name: workFlow
463 default: '{work-flow}'
464 description: 'Installs and uses the specified work flow on the POD'
465
466 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000467 name: enableMultiUni
468 default: '{enableMultiUni}'
469 description: "Enables the Multi UNI feature"
470
471 - bool:
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530472 name: withFttb
473 default: '{withFttb}'
474 description: "Test with FTTB enabled"
475
476 - bool:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700477 name: powerSwitch
478 default: '{power-switch}'
479 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
480
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000481 - bool:
482 name: powerCycleOlt
483 default: '{power-cycle-olt}'
484 description: "Indicate whether to reboot OLT through power switch"
485
Andrea Campanella6ea62272020-09-16 11:10:52 +0200486 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100487 name: oltAdapterAppLabel
488 default: '{oltAdapterAppLabel}'
489 description: 'OLT adapter pod name'
490
491 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200492 name: volthaSystemTestsChange
493 default: '{volthaSystemTestsChange}'
494 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
495
496 - string:
497 name: kindVolthaChange
498 default: '{kindVolthaChange}'
499 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
500
501 - string:
502 name: cordTesterChange
503 default: '{cordTesterChange}'
504 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
505
Matteo Scandolo9973c652020-08-07 15:23:35 -0700506 concurrent: true
507
508 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200509 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200510 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200511 - git:
512 url: https://gerrit.opencord.org/ci-management
513 branches:
514 - origin/{pipeline-branch}
515 script-path: jjb/pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700516
517 triggers:
518 - reverse:
519 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
520 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700521
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500522# -----------------------------------------------------------------------
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500523# VOLTHA Test Job
524# This job is automatically triggered after a build job has successfully completed
525# -----------------------------------------------------------------------
526- job-template:
527 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test-playground'
528 id: build_voltha_pod_test_playground
529 disabled: '{disable-job}'
530 description: |
Joey Armstrongcfd06642023-08-21 15:44:06 -0400531 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script} <br />
532 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
533 UUID: 65587ad0-4058-11ee-9e99-e3ca477d4427 <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500534 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500535
536 <<: *voltha-pipe-job-boiler-plate
537 pipeline-script: 'voltha/playground/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200538 pipeline-branch: 'master'
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500539 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
540 manifest-branch: 'master'
541
542 oltAdapterAppLabel: 'adapter-open-olt'
543 enableMultiUni: false
544 withFttb: false
545 timeout: 300
546
547 parameters:
548 - string:
549 name: timeout
550 default: '{timeout}'
551 description: 'Job pipeline timeout value [minutes]'
552
553 - string:
554 name: buildNode
555 default: '{build-node}'
556 description: 'Name of the Jenkins executor node to run the job on'
557
558 - string:
559 name: TestNodeName
560 default: '{build-node}'
561 description: 'DEPRECATED - use buildNode instead'
562
563 - string:
564 name: cordRepoUrl
565 default: '{gerrit-server-url}'
566 description: 'The URL of the CORD Project repository'
567
568 - string:
569 name: configBaseDir
570 default: 'pod-configs'
571 description: 'The directory inside the POD configs repository'
572
573 - string:
574 name: configDeploymentDir
575 default: 'deployment-configs'
576 description: 'The deployment configs folder'
577
578 - string:
579 name: configKubernetesDir
580 default: 'kubernetes-configs'
581 description: 'The kubernetes config folder'
582
583 - string:
584 name: configToscaDir
585 default: 'tosca-configs'
586 description: 'The tosca config folder'
587
588 - string:
589 name: configFileName
590 default: '{config-pod}'
591 description: 'The config file'
592
593 - string:
594 name: profile
595 default: '{profile}'
596 description: 'Technology Profile pushed to the ETCD'
597
598 - string:
599 name: branch
600 default: '{branch}'
601 description: 'Branch of the test libraries to check out'
602
603 - string:
604 name: manifestUrl
605 default: '{manifest-url}'
606 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
607
608 - string:
609 name: manifestBranch
610 default: '{manifest-branch}'
611 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
612
613 - string:
614 name: workFlow
615 default: '{work-flow}'
616 description: 'Installs and uses the specified work flow on the POD'
617
618 - bool:
619 name: enableMultiUni
620 default: '{enableMultiUni}'
621 description: "Enables the Multi UNI feature"
622
623 - bool:
624 name: withFttb
625 default: '{withFttb}'
626 description: "Test with FTTB enabled"
627
628 - bool:
629 name: powerSwitch
630 default: '{power-switch}'
631 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
632
633 - bool:
634 name: powerCycleOlt
635 default: '{power-cycle-olt}'
636 description: "Indicate whether to reboot OLT through power switch"
637
638 - string:
639 name: oltAdapterAppLabel
640 default: '{oltAdapterAppLabel}'
641 description: 'OLT adapter pod name'
642
643 - string:
644 name: volthaSystemTestsChange
645 default: '{volthaSystemTestsChange}'
646 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
647
648 - string:
649 name: kindVolthaChange
650 default: '{kindVolthaChange}'
651 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
652
653 - string:
654 name: cordTesterChange
655 default: '{cordTesterChange}'
656 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
657
658 concurrent: true
659
660 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200661 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200662 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200663 - git:
664 url: https://gerrit.opencord.org/ci-management
665 branches:
666 - origin/{pipeline-branch}
667 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500668
669 triggers:
670 - reverse:
671 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
672 result: 'success'
673
674# -----------------------------------------------------------------------
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700675# VOLTHA Soak Test Job
676# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500677# -----------------------------------------------------------------------
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700678- job-template:
679 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
680 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100681 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700682 description: |
683 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
684 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500685 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400686 UUID: 798f0064-4058-11ee-b70f-2fee4c7dfce6 <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500687 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700688
689 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200690 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200691 pipeline-branch: 'master'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700692 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
693 manifest-branch: 'master'
694
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100695 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000696 timeout: 240
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100697
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700698 parameters:
699 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000700 name: timeout
701 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000702 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000703
704 - string:
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700705 name: buildNode
706 default: '{build-node}'
707 description: 'Name of the Jenkins executor node to run the job on'
708
709 - string:
710 name: TestNodeName
711 default: '{build-node}'
712 description: 'DEPRECATED - use buildNode instead'
713
714 - string:
715 name: cordRepoUrl
716 default: '{gerrit-server-url}'
717 description: 'The URL of the CORD Project repository'
718
719 - string:
720 name: configBaseDir
721 default: 'pod-configs'
722 description: 'The directory inside the POD configs repository'
723
724 - string:
725 name: configDeploymentDir
726 default: 'deployment-configs'
727 description: 'The deployment configs folder'
728
729 - string:
730 name: configKubernetesDir
731 default: 'kubernetes-configs'
732 description: 'The kubernetes config folder'
733
734 - string:
735 name: configToscaDir
736 default: 'tosca-configs'
737 description: 'The tosca config folder'
738
739 - string:
740 name: configFileName
741 default: '{config-pod}'
742 description: 'The config file'
743
744 - string:
745 name: profile
746 default: '{profile}'
747 description: 'Technology Profile pushed to the ETCD'
748
749 - string:
750 name: branch
751 default: '{branch}'
752 description: 'Branch of the test libraries to check out'
753
754 - string:
755 name: manifestUrl
756 default: '{manifest-url}'
757 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
758
759 - string:
760 name: manifestBranch
761 default: '{manifest-branch}'
762 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
763
764 - string:
765 name: workFlow
766 default: '{work-flow}'
767 description: 'Installs and uses the specified work flow on the POD'
768
769 - bool:
770 name: powerSwitch
771 default: '{power-switch}'
772 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
773
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000774 - bool:
775 name: powerCycleOlt
776 default: '{power-cycle-olt}'
777 description: "Indicate whether to reboot OLT through power switch"
778
Suchitra Vemurie6625222020-09-01 17:12:56 -0700779 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100780 name: oltAdapterAppLabel
781 default: '{oltAdapterAppLabel}'
782 description: 'OLT adapter pod name'
783
784 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700785 name: testType
786 default: '{test-type}'
787 description: 'Passes the required test category to the groovy script'
788
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700789 - string:
790 name: volthaSystemTestsChange
791 default: '{volthaSystemTestsChange}'
792 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
793
794 - string:
795 name: kindVolthaChange
796 default: '{kindVolthaChange}'
797 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
798
799 - string:
800 name: cordTesterChange
801 default: '{cordTesterChange}'
802 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500803
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700804 concurrent: true
805
806 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200807 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200808 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200809 - git:
810 url: https://gerrit.opencord.org/ci-management
811 branches:
812 - origin/{pipeline-branch}
813 script-path: jjb/pipeline/{pipeline-script}
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700814
815 triggers:
816 - timed: |
817 TZ=America/Los_Angeles
818 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000819
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500820# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000821# VOLTHA Manual Test Job
822# This job is triggered manually
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500823# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000824- job-template:
825 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
826 id: build_voltha_pod_manual_test
827 disabled: '{disable-job}'
828 description: |
829 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
830 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500831 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400832 UUID: 873eb92a-4058-11ee-8298-33472e0ccae4 <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500833 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500834
Hardik Windlass77221c62021-05-21 06:24:35 +0000835 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200836 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200837 pipeline-branch: 'master'
Hardik Windlass77221c62021-05-21 06:24:35 +0000838 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
839 manifest-branch: 'master'
840
841 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000842 enableMultiUni: false
Hardik Windlass9ed73662021-09-02 11:06:21 +0000843 timeout: 240
Hardik Windlass77221c62021-05-21 06:24:35 +0000844
845 parameters:
846 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000847 name: timeout
848 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000849 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000850
851 - string:
Hardik Windlass77221c62021-05-21 06:24:35 +0000852 name: buildNode
853 default: '{build-node}'
854 description: 'Name of the Jenkins executor node to run the job on'
855
856 - string:
857 name: TestNodeName
858 default: '{build-node}'
859 description: 'DEPRECATED - use buildNode instead'
860
861 - string:
862 name: cordRepoUrl
863 default: '{gerrit-server-url}'
864 description: 'The URL of the CORD Project repository'
865
866 - string:
867 name: configBaseDir
868 default: 'pod-configs'
869 description: 'The directory inside the POD configs repository'
870
871 - string:
872 name: configDeploymentDir
873 default: 'deployment-configs'
874 description: 'The deployment configs folder'
875
876 - string:
877 name: configKubernetesDir
878 default: 'kubernetes-configs'
879 description: 'The kubernetes config folder'
880
881 - string:
882 name: configToscaDir
883 default: 'tosca-configs'
884 description: 'The tosca config folder'
885
886 - string:
887 name: configFileName
888 default: '{config-pod}'
889 description: 'The config file'
890
891 - string:
892 name: profile
893 default: '{profile}'
894 description: 'Technology Profile pushed to the ETCD'
895
896 - string:
897 name: branch
898 default: '{branch}'
899 description: 'Branch of the test libraries to check out'
900
901 - string:
902 name: manifestUrl
903 default: '{manifest-url}'
904 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
905
906 - string:
907 name: manifestBranch
908 default: '{manifest-branch}'
909 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
910
911 - string:
912 name: workFlow
913 default: '{work-flow}'
914 description: 'Installs and uses the specified work flow on the POD'
915
916 - bool:
917 name: powerSwitch
918 default: '{power-switch}'
919 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
920
Hardik Windlass6598b032021-07-02 10:12:01 +0000921 - bool:
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000922 name: powerCycleOlt
923 default: '{power-cycle-olt}'
924 description: "Indicate whether to reboot OLT through power switch"
925
926 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000927 name: enableMultiUni
928 default: '{enableMultiUni}'
929 description: "Enables the Multi UNI feature"
930
Hardik Windlass77221c62021-05-21 06:24:35 +0000931 - string:
932 name: oltAdapterAppLabel
933 default: '{oltAdapterAppLabel}'
934 description: 'OLT adapter pod name'
935
936 - string:
937 name: testType
938 default: '{test-type}'
939 description: 'Passes the required test category to the groovy script'
940
941 - string:
942 name: volthaSystemTestsChange
943 default: '{volthaSystemTestsChange}'
944 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
945
946 - string:
947 name: kindVolthaChange
948 default: '{kindVolthaChange}'
949 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
950
951 - string:
952 name: cordTesterChange
953 default: '{cordTesterChange}'
954 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
955 concurrent: true
956
957 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200958 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200959 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200960 - git:
961 url: https://gerrit.opencord.org/ci-management
962 branches:
963 - origin/{pipeline-branch}
964 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000965
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500966# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000967# VOLTHA DMI Test Job
968# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500969# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000970- job-template:
971 name: 'verify_{config-pod}_{profile}{name-extension}_voltha_{release}_dmi'
972 id: verify_voltha_pod_dmi_test
973 disabled: '{disable-job}'
974 description: |
975 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
976 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500977 Created by QA (Suchitra Vemuri) <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500978 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000979
980 <<: *voltha-pipe-job-boiler-plate
981 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200982 pipeline-script: 'voltha/dmi-build-and-test.groovy'
Hardik Windlass230fca62022-05-04 08:50:35 +0530983 installVolthaInfra: true
984 installVolthaStack: true
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000985 num-of-openonu: 1
986 num-of-onos: 3
987 num-of-atomix: 3
988 num-of-kafka: 3
989 num-of-etcd: 3
990 test-repo: 'voltha-system-tests'
991 release: 'master'
992 name-extension: ''
993 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200994 pipeline-branch: 'master'
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000995 configurePod: true
996 volthaHelmChartsChange: ''
997 profile: 'Default'
998 logLevel: 'DEBUG'
999 enableMultiUni: false
1000 uniPortMask: '0x0001'
1001 bbsimReplicas: 0
1002 num-of-onus: 0
1003 num-of-ponports: 0
1004 extraHelmFlags: ''
1005 dmiChart: ''
1006 OltDevMgr: ''
1007 openoltAdapterChart: onf/voltha-adapter-openolt
1008 oltAdapterReleaseName: open-olt
1009 waitTimerForOltUp: 360
1010
1011 parameters:
1012 - string:
1013 name: buildNode
1014 default: '{build-node}'
1015 description: 'Name of the Jenkins executor node to run the job on'
1016
1017 - string:
1018 name: TestNodeName
1019 default: '{build-node}'
1020 description: 'DEPRECATED - use buildNode instead'
1021
1022 - string:
1023 name: logLevel
1024 default: '{logLevel}'
1025 description: 'Log level for all the components'
1026
1027 - string:
1028 name: cordRepoUrl
1029 default: '{gerrit-server-url}'
1030 description: 'The URL of the CORD Project repository'
1031
1032 - string:
1033 name: configBaseDir
1034 default: 'pod-configs'
1035 description: 'The directory inside the POD configs repository'
1036
1037 - string:
1038 name: configDeploymentDir
1039 default: 'deployment-configs'
1040 description: 'The deployment configs folder'
1041
1042 - string:
1043 name: configKubernetesDir
1044 default: 'kubernetes-configs'
1045 description: 'The kubernetes config folder'
1046
1047 - string:
1048 name: configToscaDir
1049 default: 'tosca-configs'
1050 description: 'The tosca config folder'
1051
1052 - string:
1053 name: configFileName
1054 default: '{config-pod}'
1055 description: 'The config file'
1056
1057 - string:
1058 name: profile
1059 default: '{profile}'
1060 description: 'Technology Profile pushed to the ETCD'
1061
1062 - string:
1063 name: helmRepoUrl
1064 default: 'https://charts.opencord.org'
1065 description: 'URL where helm-charts are published'
1066
1067 - string:
1068 name: branch
1069 default: '{branch}'
1070
1071 - string:
1072 name: workFlow
1073 default: '{work-flow}'
1074 description: 'Installs and uses the specified work flow on the POD'
1075
Hardik Windlassace19e52022-02-10 09:36:21 +00001076 - bool:
Hardik Windlass230fca62022-05-04 08:50:35 +05301077 name: installVolthaInfra
1078 default: '{installVolthaInfra}'
1079 description: "Whether to install VOLTHA Infra"
1080
1081 - bool:
1082 name: installVolthaStack
1083 default: '{installVolthaStack}'
1084 description: "Whether to install VOLTHA Stack"
Hardik Windlassace19e52022-02-10 09:36:21 +00001085
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001086 - string:
1087 name: extraHelmFlags
1088 default: '{extraHelmFlags}'
1089 description: 'Helm flags (passed to each deployment)'
1090
1091 - string:
1092 name: dmiChart
1093 default: '{dmiChart}'
1094 description: 'Device Management Interface Helm Chart'
1095
1096 - string:
1097 name: OltDevMgr
1098 default: '{OltDevMgr}'
1099 description: 'OLT Device Manager App Name'
1100
1101 # openonu-go only supports a single replica, remove after 2.8
1102 - string:
1103 name: NumOfOpenOnu
1104 default: '{num-of-openonu}'
1105 description: 'Installs the specified Number of OpenOnu Adapters'
1106
1107 - string:
1108 name: NumOfOnos
1109 default: '{num-of-onos}'
1110 description: 'Installs the specified Number of ONOS instances'
1111
1112 - bool:
1113 name: enableMultiUni
1114 default: '{enableMultiUni}'
1115 description: "Enables the Multi UNI feature"
1116
1117 - string:
1118 name: uniPortMask
1119 default: '{uniPortMask}'
1120 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
1121
1122 - string:
1123 name: bbsimReplicas
1124 default: '{bbsimReplicas}'
1125 description: 'Installs the specified Number of BBSim Instances'
1126
1127 - string:
1128 name: onuNumber
1129 default: '{num-of-onus}'
1130 description: "Onus per PonPort"
1131
1132 - string:
1133 name: ponNumber
1134 default: '{num-of-ponports}'
1135 description: "Number of PON Ports"
1136
1137 - string:
1138 name: NumOfAtomix
1139 default: '{num-of-atomix}'
1140 description: 'Installs the specified Number of Atomix Instances'
1141
1142 - string:
1143 name: NumOfKafka
1144 default: '{num-of-kafka}'
1145 description: 'Installs the specified Number of Kafka Instances'
1146
1147 - string:
1148 name: NumOfEtcd
1149 default: '{num-of-etcd}'
1150 description: 'Installs the specified Number of Etcd Instances'
1151
1152 - bool:
1153 name: configurePod
1154 default: true
1155 description: "Configure POD via TOSCA post build"
1156
1157 - bool:
1158 name: reinstallOlt
1159 default: '{reinstall-olt}'
1160 description: "Re-install olt software bringing up CORD"
1161
1162 - bool:
1163 name: restartOlt
1164 default: '{restart-olt}'
1165 description: "Re-install olt software bringing up CORD"
1166
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001167 - bool:
1168 name: inBandManagement
1169 default: '{in-band-management}'
1170 description: 'Indicates whether POD is configured for in band management'
1171
1172 - string:
1173 name: volthaSystemTestsChange
1174 default: '{volthaSystemTestsChange}'
1175 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1176
1177 - string:
1178 name: volthaHelmChartsChange
1179 default: '{volthaHelmChartsChange}'
1180 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
1181
1182 # this is used in the Adtran DT job
1183 - string:
1184 name: openoltAdapterChart
1185 default: '{openoltAdapterChart}'
1186 description: 'Olt adapter chart name (or location on file system)'
1187
1188 # this is used in the Adtran DT job
1189 - string:
1190 name: oltAdapterReleaseName
1191 default: '{oltAdapterReleaseName}'
1192 description: 'Olt adapter release name'
1193
1194 - string:
1195 name: waitTimerForOltUp
1196 default: '{waitTimerForOltUp}'
1197 description: 'Wait timer for the OLT to come up after reboot'
1198
1199 concurrent: true
1200 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +02001201 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +02001202 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +02001203 - git:
1204 url: https://gerrit.opencord.org/ci-management
1205 branches:
1206 - origin/{pipeline-branch}
1207 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001208
1209 triggers:
1210 - timed: |
1211 TZ=America/Los_Angeles
1212 H {time} * * *
Joey Armstrongca4cb462023-01-12 17:51:05 -05001213# [EOF]
Joey Armstrongaf679da2023-01-31 14:22:41 -05001214
1215# [EOF]