blob: 36e11404741ebf2f42996984f152610b11edd744 [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`
Eric Ball9ecb7ad2024-09-12 12:52:26 -07005- _voltha-build-job-parameters: &voltha-build-job-parameters
Matteo Scandolo9973c652020-08-07 15:23:35 -07006 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:
Cristina de Francisco4760e992024-11-14 14:48:48 +010061 name: cluster
62 default: '{cluster}'
63 description: 'Name of the cluster'
64
65 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070066 name: profile
67 default: '{profile}'
68 description: 'Technology Profile pushed to the ETCD'
69
70 - string:
71 name: helmRepoUrl
72 default: 'https://charts.opencord.org'
73 description: 'URL where helm-charts are published'
74
75 - string:
76 name: branch
77 default: '{branch}'
78
79 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070080 name: workFlow
81 default: '{work-flow}'
82 description: 'Installs and uses the specified work flow on the POD'
83
Matteo Scandolod47bfb22021-05-24 09:40:05 -070084 - string:
85 name: extraHelmFlags
86 default: '{extraHelmFlags}'
87 description: 'Helm flags (passed to each deployment)'
88
Matteo Scandolod82d1de2021-04-06 14:55:58 -070089 # openonu-go only supports a single replica, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -070090 - string:
91 name: NumOfOpenOnu
92 default: '{num-of-openonu}'
93 description: 'Installs the specified Number of OpenOnu Adapters'
94
95 - string:
96 name: NumOfOnos
97 default: '{num-of-onos}'
98 description: 'Installs the specified Number of ONOS instances'
99
Hardik Windlass6598b032021-07-02 10:12:01 +0000100 - bool:
101 name: enableMultiUni
102 default: '{enableMultiUni}'
103 description: "Enables the Multi UNI feature"
104
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530105 - bool:
106 name: withFttb
107 default: '{withFttb}'
108 description: "Deploy with FTTB"
109
Hardik Windlass6598b032021-07-02 10:12:01 +0000110 - string:
111 name: uniPortMask
112 default: '{uniPortMask}'
113 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
114
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800115 - string:
Hardik Windlass908533a2021-05-24 16:35:58 +0000116 name: bbsimReplicas
117 default: '{bbsimReplicas}'
118 description: 'Installs the specified Number of BBSim Instances'
119
120 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800121 name: onuNumber
122 default: '{num-of-onus}'
123 description: "Onus per PonPort"
124
125 - string:
126 name: ponNumber
127 default: '{num-of-ponports}'
128 description: "Number of PON Ports"
129
Matteo Scandolo9973c652020-08-07 15:23:35 -0700130 - string:
131 name: NumOfAtomix
132 default: '{num-of-atomix}'
133 description: 'Installs the specified Number of Atomix Instances'
134
Hardik Windlassc7379022021-05-12 13:52:24 +0530135 - string:
136 name: NumOfKafka
137 default: '{num-of-kafka}'
138 description: 'Installs the specified Number of Kafka Instances'
139
140 - string:
141 name: NumOfEtcd
142 default: '{num-of-etcd}'
143 description: 'Installs the specified Number of Etcd Instances'
144
Matteo Scandolo9973c652020-08-07 15:23:35 -0700145 - bool:
146 name: configurePod
147 default: true
148 description: "Configure POD via TOSCA post build"
149
150 - bool:
151 name: reinstallOlt
152 default: '{reinstall-olt}'
153 description: "Re-install olt software bringing up CORD"
154
Matteo Scandolo9973c652020-08-07 15:23:35 -0700155 - bool:
156 name: inBandManagement
157 default: '{in-band-management}'
158 description: 'Indicates whether POD is configured for in band management'
159
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700160 - string:
161 name: volthaSystemTestsChange
162 default: '{volthaSystemTestsChange}'
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500163 description: 'Download delta from gerrit:voltha-system-tests, example value: "refs/changes/79/18779/13"'
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700164
165 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700166 name: volthaHelmChartsChange
167 default: '{volthaHelmChartsChange}'
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500168 description: 'Download delta from gerrit:voltha-helm-charts, example value: "refs/changes/32/19132/1"'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700169
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700170 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700171 - string:
172 name: cordTesterChange
173 default: '{cordTesterChange}'
174 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
175
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700176 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100177 - string:
178 name: openoltAdapterChart
179 default: '{openoltAdapterChart}'
Andrea Campanellace8aa762021-08-27 09:32:22 +0200180 description: 'Olt adapter chart name (or location on file system)'
181
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200182 # this is used in the Adtran DT job
Andrea Campanellace8aa762021-08-27 09:32:22 +0200183 - string:
184 name: oltAdapterReleaseName
185 default: '{oltAdapterReleaseName}'
186 description: 'Olt adapter release name'
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100187
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200188 - string:
189 name: waitTimerForOltUp
190 default: '{waitTimerForOltUp}'
191 description: 'Wait timer for the OLT to come up after reboot'
192
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500193 - bool:
194 name: DebugMode
195 default: false
196 description: "Enable script debugging (unused)"
197
198# -----------------------------------------------------------------------
199# default properties for the VOLTHA scale jobs
200# -----------------------------------------------------------------------
Eric Ball9ecb7ad2024-09-12 12:52:26 -0700201- _voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
Matteo Scandolo9973c652020-08-07 15:23:35 -0700202 name: voltha-pipe-job-boiler-plate
203
204 project-type: pipeline
205
206 sandbox: true
207
208 properties:
Joey Armstronge04fe1f2022-08-25 13:48:13 -0400209 - onf-infra-volthadevs-permissions
Matteo Scandolo9973c652020-08-07 15:23:35 -0700210 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800211 build-days-to-keep: '{big-build-days-to-keep}'
212 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700213
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500214# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500215# VOLTHA Build Job (manual)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500216# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700217- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530218 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
219 id: build_voltha_pod_manual
220 disabled: '{disable-job}'
221 description: |
222 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
223 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500224 Created by QA (Suchitra Vemuri) <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500225 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlassc7379022021-05-12 13:52:24 +0530226
227 <<: *voltha-pipe-job-boiler-plate
228 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200229 pipeline-script: 'voltha/physical-build.groovy'
Hardik Windlassc7379022021-05-12 13:52:24 +0530230 num-of-openonu: 1
231 num-of-onos: 1
232 num-of-atomix: 0
233 num-of-kafka: 1
234 num-of-etcd: 1
235 test-repo: 'voltha-system-tests'
236 release: 'master'
237 name-extension: ''
238 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200239 pipeline-branch: 'master'
Hardik Windlassc7379022021-05-12 13:52:24 +0530240 configurePod: true
241 volthaHelmChartsChange: ''
242 profile: 'Default'
243 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000244 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530245 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000246 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000247 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700248 num-of-onus: 0
249 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700250 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530251
252 <<: *voltha-build-job-parameters
253
254 concurrent: true
255 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200256 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200257 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200258 - git:
259 url: https://gerrit.opencord.org/ci-management
260 branches:
261 - origin/{pipeline-branch}
262 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlassc7379022021-05-12 13:52:24 +0530263
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500264# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500265# VOLTHA Build Jobs (periodic)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500266# -----------------------------------------------------------------------
Hardik Windlassc7379022021-05-12 13:52:24 +0530267- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700268 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
269 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700270 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700271 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700272 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 -0700273 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500274 Created by QA (Suchitra Vemuri) <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500275 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700276
277 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700278 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200279 pipeline-script: 'voltha/physical-build.groovy'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700280 num-of-openonu: 1
281 num-of-onos: 3
282 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530283 num-of-kafka: 3
284 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700285 test-repo: 'voltha-system-tests'
286 release: 'master'
287 name-extension: ''
288 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200289 pipeline-branch: 'master'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700290 configurePod: true
291 volthaHelmChartsChange: ''
292 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700293 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000294 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530295 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000296 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000297 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700298 num-of-onus: 0
299 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700300 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700301
302 <<: *voltha-build-job-parameters
303
304 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700305 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200306 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200307 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200308 - git:
309 url: https://gerrit.opencord.org/ci-management
310 branches:
311 - origin/{pipeline-branch}
312 script-path: jjb/pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700313
314 triggers:
315 - timed: |
316 TZ=America/Los_Angeles
317 H {time} * * *
318
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500319# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500320# VOLTHA Build Jobs (periodic: playground
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500321# [CORD_3256]
Joey Armstrong980e37f2023-02-28 18:57:41 -0500322# -----------------------------------------------------------------------
323- job-template:
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500324 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}-playground'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500325 id: build_voltha_pod_release_timer_playground
326 disabled: '{disable-job}'
327 description: |
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500328 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management'
329 Created from job-template {id} from repo::ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml
Joey Armstrong518f3572024-02-11 07:56:25 -0500330 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong980e37f2023-02-28 18:57:41 -0500331
332 <<: *voltha-pipe-job-boiler-plate
333 # default values
334 pipeline-script: 'voltha/playground/physical-build.groovy'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500335 num-of-openonu: 1
336 num-of-onos: 3
337 num-of-atomix: 3
338 num-of-kafka: 3
339 num-of-etcd: 3
340 test-repo: 'voltha-system-tests'
341 release: 'master'
342 name-extension: ''
343 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200344 pipeline-branch: 'master'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500345 configurePod: true
346 volthaHelmChartsChange: ''
347 profile: 'Default'
348 logLevel: 'DEBUG'
349 enableMultiUni: false
350 withFttb: false
351 uniPortMask: '0x0001'
352 bbsimReplicas: 0
353 num-of-onus: 0
354 num-of-ponports: 0
355 extraHelmFlags: ''
356
357 <<: *voltha-build-job-parameters
358
359 concurrent: true
360 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200361 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200362 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200363 - git:
364 url: https://gerrit.opencord.org/ci-management
365 branches:
366 - origin/{pipeline-branch}
367 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong980e37f2023-02-28 18:57:41 -0500368
369 triggers:
370 - timed: |
371 TZ=America/Los_Angeles
372 H {time} * * *
373
374# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700375# VOLTHA Test Job
376# This job is automatically triggered after a build job has successfully completed
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500377# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700378- job-template:
379 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
380 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700381 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700382 description: |
383 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700384 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500385 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400386 UUID: 1a23dd34-4058-11ee-b6af-3b2e60c5d971 <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500387 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700388
389 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200390 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200391 pipeline-branch: 'master'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700392 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
393 manifest-branch: 'master'
394
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100395 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000396 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530397 withFttb: false
Andrea Campanella2af4b902021-11-05 10:40:02 +0100398 timeout: 300
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100399
Matteo Scandolo9973c652020-08-07 15:23:35 -0700400 parameters:
401 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000402 name: timeout
403 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000404 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000405
406 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700407 name: buildNode
408 default: '{build-node}'
409 description: 'Name of the Jenkins executor node to run the job on'
410
411 - string:
412 name: TestNodeName
413 default: '{build-node}'
414 description: 'DEPRECATED - use buildNode instead'
415
416 - string:
417 name: cordRepoUrl
418 default: '{gerrit-server-url}'
419 description: 'The URL of the CORD Project repository'
420
421 - string:
422 name: configBaseDir
423 default: 'pod-configs'
424 description: 'The directory inside the POD configs repository'
425
426 - string:
427 name: configDeploymentDir
428 default: 'deployment-configs'
429 description: 'The deployment configs folder'
430
431 - string:
432 name: configKubernetesDir
433 default: 'kubernetes-configs'
434 description: 'The kubernetes config folder'
435
436 - string:
437 name: configToscaDir
438 default: 'tosca-configs'
439 description: 'The tosca config folder'
440
441 - string:
442 name: configFileName
443 default: '{config-pod}'
444 description: 'The config file'
445
446 - string:
447 name: profile
448 default: '{profile}'
449 description: 'Technology Profile pushed to the ETCD'
450
451 - string:
452 name: branch
453 default: '{branch}'
454 description: 'Branch of the test libraries to check out'
455
456 - string:
457 name: manifestUrl
458 default: '{manifest-url}'
459 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
460
461 - string:
462 name: manifestBranch
463 default: '{manifest-branch}'
464 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
465
466 - string:
467 name: workFlow
468 default: '{work-flow}'
469 description: 'Installs and uses the specified work flow on the POD'
470
471 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000472 name: enableMultiUni
473 default: '{enableMultiUni}'
474 description: "Enables the Multi UNI feature"
475
476 - bool:
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530477 name: withFttb
478 default: '{withFttb}'
479 description: "Test with FTTB enabled"
480
481 - bool:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700482 name: powerSwitch
483 default: '{power-switch}'
484 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
485
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000486 - bool:
487 name: powerCycleOlt
488 default: '{power-cycle-olt}'
489 description: "Indicate whether to reboot OLT through power switch"
490
Andrea Campanella6ea62272020-09-16 11:10:52 +0200491 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100492 name: oltAdapterAppLabel
493 default: '{oltAdapterAppLabel}'
494 description: 'OLT adapter pod name'
495
496 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200497 name: volthaSystemTestsChange
498 default: '{volthaSystemTestsChange}'
499 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
500
501 - string:
502 name: kindVolthaChange
503 default: '{kindVolthaChange}'
504 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
505
506 - string:
507 name: cordTesterChange
508 default: '{cordTesterChange}'
509 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
510
Matteo Scandolo9973c652020-08-07 15:23:35 -0700511 concurrent: true
512
513 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200514 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200515 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200516 - git:
517 url: https://gerrit.opencord.org/ci-management
518 branches:
519 - origin/{pipeline-branch}
520 script-path: jjb/pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700521
522 triggers:
523 - reverse:
524 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
525 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700526
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500527# -----------------------------------------------------------------------
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500528# VOLTHA Test Job
529# This job is automatically triggered after a build job has successfully completed
530# -----------------------------------------------------------------------
531- job-template:
532 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test-playground'
533 id: build_voltha_pod_test_playground
534 disabled: '{disable-job}'
535 description: |
Joey Armstrongcfd06642023-08-21 15:44:06 -0400536 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script} <br />
537 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
538 UUID: 65587ad0-4058-11ee-9e99-e3ca477d4427 <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500539 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500540
541 <<: *voltha-pipe-job-boiler-plate
542 pipeline-script: 'voltha/playground/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200543 pipeline-branch: 'master'
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500544 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
545 manifest-branch: 'master'
546
547 oltAdapterAppLabel: 'adapter-open-olt'
548 enableMultiUni: false
549 withFttb: false
550 timeout: 300
551
552 parameters:
553 - string:
554 name: timeout
555 default: '{timeout}'
556 description: 'Job pipeline timeout value [minutes]'
557
558 - string:
559 name: buildNode
560 default: '{build-node}'
561 description: 'Name of the Jenkins executor node to run the job on'
562
563 - string:
564 name: TestNodeName
565 default: '{build-node}'
566 description: 'DEPRECATED - use buildNode instead'
567
568 - string:
569 name: cordRepoUrl
570 default: '{gerrit-server-url}'
571 description: 'The URL of the CORD Project repository'
572
573 - string:
574 name: configBaseDir
575 default: 'pod-configs'
576 description: 'The directory inside the POD configs repository'
577
578 - string:
579 name: configDeploymentDir
580 default: 'deployment-configs'
581 description: 'The deployment configs folder'
582
583 - string:
584 name: configKubernetesDir
585 default: 'kubernetes-configs'
586 description: 'The kubernetes config folder'
587
588 - string:
589 name: configToscaDir
590 default: 'tosca-configs'
591 description: 'The tosca config folder'
592
593 - string:
594 name: configFileName
595 default: '{config-pod}'
596 description: 'The config file'
597
598 - string:
599 name: profile
600 default: '{profile}'
601 description: 'Technology Profile pushed to the ETCD'
602
603 - string:
604 name: branch
605 default: '{branch}'
606 description: 'Branch of the test libraries to check out'
607
608 - string:
609 name: manifestUrl
610 default: '{manifest-url}'
611 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
612
613 - string:
614 name: manifestBranch
615 default: '{manifest-branch}'
616 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
617
618 - string:
619 name: workFlow
620 default: '{work-flow}'
621 description: 'Installs and uses the specified work flow on the POD'
622
623 - bool:
624 name: enableMultiUni
625 default: '{enableMultiUni}'
626 description: "Enables the Multi UNI feature"
627
628 - bool:
629 name: withFttb
630 default: '{withFttb}'
631 description: "Test with FTTB enabled"
632
633 - bool:
634 name: powerSwitch
635 default: '{power-switch}'
636 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
637
638 - bool:
639 name: powerCycleOlt
640 default: '{power-cycle-olt}'
641 description: "Indicate whether to reboot OLT through power switch"
642
643 - string:
644 name: oltAdapterAppLabel
645 default: '{oltAdapterAppLabel}'
646 description: 'OLT adapter pod name'
647
648 - string:
649 name: volthaSystemTestsChange
650 default: '{volthaSystemTestsChange}'
651 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
652
653 - string:
654 name: kindVolthaChange
655 default: '{kindVolthaChange}'
656 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
657
658 - string:
659 name: cordTesterChange
660 default: '{cordTesterChange}'
661 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
662
663 concurrent: true
664
665 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200666 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200667 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200668 - git:
669 url: https://gerrit.opencord.org/ci-management
670 branches:
671 - origin/{pipeline-branch}
672 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500673
674 triggers:
675 - reverse:
676 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
677 result: 'success'
678
679# -----------------------------------------------------------------------
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700680# VOLTHA Soak Test Job
681# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500682# -----------------------------------------------------------------------
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700683- job-template:
684 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
685 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100686 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700687 description: |
688 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
689 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500690 Created by (Suchitra Vemuri) <br />
Joey Armstrongdaa1f0a2024-04-03 18:07:59 -0400691 UUID: 798f0064-4058-11ee-b70f-2fee4c7dfce6 <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500692 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700693
694 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200695 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200696 pipeline-branch: 'master'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700697 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
698 manifest-branch: 'master'
699
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100700 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000701 timeout: 240
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100702
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700703 parameters:
704 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000705 name: timeout
706 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000707 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000708
709 - string:
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700710 name: buildNode
711 default: '{build-node}'
712 description: 'Name of the Jenkins executor node to run the job on'
713
714 - string:
715 name: TestNodeName
716 default: '{build-node}'
717 description: 'DEPRECATED - use buildNode instead'
718
719 - string:
720 name: cordRepoUrl
721 default: '{gerrit-server-url}'
722 description: 'The URL of the CORD Project repository'
723
724 - string:
725 name: configBaseDir
726 default: 'pod-configs'
727 description: 'The directory inside the POD configs repository'
728
729 - string:
730 name: configDeploymentDir
731 default: 'deployment-configs'
732 description: 'The deployment configs folder'
733
734 - string:
735 name: configKubernetesDir
736 default: 'kubernetes-configs'
737 description: 'The kubernetes config folder'
738
739 - string:
740 name: configToscaDir
741 default: 'tosca-configs'
742 description: 'The tosca config folder'
743
744 - string:
745 name: configFileName
746 default: '{config-pod}'
747 description: 'The config file'
748
749 - string:
750 name: profile
751 default: '{profile}'
752 description: 'Technology Profile pushed to the ETCD'
753
754 - string:
755 name: branch
756 default: '{branch}'
757 description: 'Branch of the test libraries to check out'
758
759 - string:
760 name: manifestUrl
761 default: '{manifest-url}'
762 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
763
764 - string:
765 name: manifestBranch
766 default: '{manifest-branch}'
767 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
768
769 - string:
770 name: workFlow
771 default: '{work-flow}'
772 description: 'Installs and uses the specified work flow on the POD'
773
774 - bool:
775 name: powerSwitch
776 default: '{power-switch}'
777 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
778
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000779 - bool:
780 name: powerCycleOlt
781 default: '{power-cycle-olt}'
782 description: "Indicate whether to reboot OLT through power switch"
783
Suchitra Vemurie6625222020-09-01 17:12:56 -0700784 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100785 name: oltAdapterAppLabel
786 default: '{oltAdapterAppLabel}'
787 description: 'OLT adapter pod name'
788
789 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700790 name: testType
791 default: '{test-type}'
792 description: 'Passes the required test category to the groovy script'
793
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700794 - string:
795 name: volthaSystemTestsChange
796 default: '{volthaSystemTestsChange}'
797 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
798
799 - string:
800 name: kindVolthaChange
801 default: '{kindVolthaChange}'
802 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
803
804 - string:
805 name: cordTesterChange
806 default: '{cordTesterChange}'
807 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 -0500808
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700809 concurrent: true
810
811 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200812 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200813 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200814 - git:
815 url: https://gerrit.opencord.org/ci-management
816 branches:
817 - origin/{pipeline-branch}
818 script-path: jjb/pipeline/{pipeline-script}
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700819
820 triggers:
821 - timed: |
822 TZ=America/Los_Angeles
823 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000824
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500825# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000826# VOLTHA Manual Test Job
827# This job is triggered manually
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500828# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000829- job-template:
830 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
831 id: build_voltha_pod_manual_test
832 disabled: '{disable-job}'
833 description: |
834 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
835 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500836 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400837 UUID: 873eb92a-4058-11ee-8298-33472e0ccae4 <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500838 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500839
Hardik Windlass77221c62021-05-21 06:24:35 +0000840 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200841 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200842 pipeline-branch: 'master'
Hardik Windlass77221c62021-05-21 06:24:35 +0000843 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
844 manifest-branch: 'master'
845
846 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000847 enableMultiUni: false
Hardik Windlass9ed73662021-09-02 11:06:21 +0000848 timeout: 240
Hardik Windlass77221c62021-05-21 06:24:35 +0000849
850 parameters:
851 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000852 name: timeout
853 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000854 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000855
856 - string:
Hardik Windlass77221c62021-05-21 06:24:35 +0000857 name: buildNode
858 default: '{build-node}'
859 description: 'Name of the Jenkins executor node to run the job on'
860
861 - string:
862 name: TestNodeName
863 default: '{build-node}'
864 description: 'DEPRECATED - use buildNode instead'
865
866 - string:
867 name: cordRepoUrl
868 default: '{gerrit-server-url}'
869 description: 'The URL of the CORD Project repository'
870
871 - string:
872 name: configBaseDir
873 default: 'pod-configs'
874 description: 'The directory inside the POD configs repository'
875
876 - string:
877 name: configDeploymentDir
878 default: 'deployment-configs'
879 description: 'The deployment configs folder'
880
881 - string:
882 name: configKubernetesDir
883 default: 'kubernetes-configs'
884 description: 'The kubernetes config folder'
885
886 - string:
887 name: configToscaDir
888 default: 'tosca-configs'
889 description: 'The tosca config folder'
890
891 - string:
892 name: configFileName
893 default: '{config-pod}'
894 description: 'The config file'
895
896 - string:
897 name: profile
898 default: '{profile}'
899 description: 'Technology Profile pushed to the ETCD'
900
901 - string:
902 name: branch
903 default: '{branch}'
904 description: 'Branch of the test libraries to check out'
905
906 - string:
907 name: manifestUrl
908 default: '{manifest-url}'
909 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
910
911 - string:
912 name: manifestBranch
913 default: '{manifest-branch}'
914 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
915
916 - string:
917 name: workFlow
918 default: '{work-flow}'
919 description: 'Installs and uses the specified work flow on the POD'
920
921 - bool:
922 name: powerSwitch
923 default: '{power-switch}'
924 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
925
Hardik Windlass6598b032021-07-02 10:12:01 +0000926 - bool:
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000927 name: powerCycleOlt
928 default: '{power-cycle-olt}'
929 description: "Indicate whether to reboot OLT through power switch"
930
931 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000932 name: enableMultiUni
933 default: '{enableMultiUni}'
934 description: "Enables the Multi UNI feature"
935
Hardik Windlass77221c62021-05-21 06:24:35 +0000936 - string:
937 name: oltAdapterAppLabel
938 default: '{oltAdapterAppLabel}'
939 description: 'OLT adapter pod name'
940
941 - string:
942 name: testType
943 default: '{test-type}'
944 description: 'Passes the required test category to the groovy script'
945
946 - string:
947 name: volthaSystemTestsChange
948 default: '{volthaSystemTestsChange}'
949 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
950
951 - string:
952 name: kindVolthaChange
953 default: '{kindVolthaChange}'
954 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
955
956 - string:
957 name: cordTesterChange
958 default: '{cordTesterChange}'
959 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
960 concurrent: true
961
962 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200963 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200964 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200965 - git:
966 url: https://gerrit.opencord.org/ci-management
967 branches:
968 - origin/{pipeline-branch}
969 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000970
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500971# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000972# VOLTHA DMI Test Job
973# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500974# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000975- job-template:
976 name: 'verify_{config-pod}_{profile}{name-extension}_voltha_{release}_dmi'
977 id: verify_voltha_pod_dmi_test
978 disabled: '{disable-job}'
979 description: |
980 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
981 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500982 Created by QA (Suchitra Vemuri) <br />
Joey Armstrong518f3572024-02-11 07:56:25 -0500983 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000984
985 <<: *voltha-pipe-job-boiler-plate
986 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200987 pipeline-script: 'voltha/dmi-build-and-test.groovy'
Hardik Windlass230fca62022-05-04 08:50:35 +0530988 installVolthaInfra: true
989 installVolthaStack: true
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000990 num-of-openonu: 1
991 num-of-onos: 3
992 num-of-atomix: 3
993 num-of-kafka: 3
994 num-of-etcd: 3
995 test-repo: 'voltha-system-tests'
996 release: 'master'
997 name-extension: ''
998 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200999 pipeline-branch: 'master'
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001000 configurePod: true
1001 volthaHelmChartsChange: ''
1002 profile: 'Default'
1003 logLevel: 'DEBUG'
1004 enableMultiUni: false
1005 uniPortMask: '0x0001'
1006 bbsimReplicas: 0
1007 num-of-onus: 0
1008 num-of-ponports: 0
1009 extraHelmFlags: ''
1010 dmiChart: ''
1011 OltDevMgr: ''
1012 openoltAdapterChart: onf/voltha-adapter-openolt
1013 oltAdapterReleaseName: open-olt
1014 waitTimerForOltUp: 360
1015
1016 parameters:
1017 - string:
1018 name: buildNode
1019 default: '{build-node}'
1020 description: 'Name of the Jenkins executor node to run the job on'
1021
1022 - string:
1023 name: TestNodeName
1024 default: '{build-node}'
1025 description: 'DEPRECATED - use buildNode instead'
1026
1027 - string:
1028 name: logLevel
1029 default: '{logLevel}'
1030 description: 'Log level for all the components'
1031
1032 - string:
1033 name: cordRepoUrl
1034 default: '{gerrit-server-url}'
1035 description: 'The URL of the CORD Project repository'
1036
1037 - string:
1038 name: configBaseDir
1039 default: 'pod-configs'
1040 description: 'The directory inside the POD configs repository'
1041
1042 - string:
1043 name: configDeploymentDir
1044 default: 'deployment-configs'
1045 description: 'The deployment configs folder'
1046
1047 - string:
1048 name: configKubernetesDir
1049 default: 'kubernetes-configs'
1050 description: 'The kubernetes config folder'
1051
1052 - string:
1053 name: configToscaDir
1054 default: 'tosca-configs'
1055 description: 'The tosca config folder'
1056
1057 - string:
1058 name: configFileName
1059 default: '{config-pod}'
1060 description: 'The config file'
1061
1062 - string:
1063 name: profile
1064 default: '{profile}'
1065 description: 'Technology Profile pushed to the ETCD'
1066
1067 - string:
1068 name: helmRepoUrl
1069 default: 'https://charts.opencord.org'
1070 description: 'URL where helm-charts are published'
1071
1072 - string:
1073 name: branch
1074 default: '{branch}'
1075
1076 - string:
1077 name: workFlow
1078 default: '{work-flow}'
1079 description: 'Installs and uses the specified work flow on the POD'
1080
Hardik Windlassace19e52022-02-10 09:36:21 +00001081 - bool:
Hardik Windlass230fca62022-05-04 08:50:35 +05301082 name: installVolthaInfra
1083 default: '{installVolthaInfra}'
1084 description: "Whether to install VOLTHA Infra"
1085
1086 - bool:
1087 name: installVolthaStack
1088 default: '{installVolthaStack}'
1089 description: "Whether to install VOLTHA Stack"
Hardik Windlassace19e52022-02-10 09:36:21 +00001090
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001091 - string:
1092 name: extraHelmFlags
1093 default: '{extraHelmFlags}'
1094 description: 'Helm flags (passed to each deployment)'
1095
1096 - string:
1097 name: dmiChart
1098 default: '{dmiChart}'
1099 description: 'Device Management Interface Helm Chart'
1100
1101 - string:
1102 name: OltDevMgr
1103 default: '{OltDevMgr}'
1104 description: 'OLT Device Manager App Name'
1105
1106 # openonu-go only supports a single replica, remove after 2.8
1107 - string:
1108 name: NumOfOpenOnu
1109 default: '{num-of-openonu}'
1110 description: 'Installs the specified Number of OpenOnu Adapters'
1111
1112 - string:
1113 name: NumOfOnos
1114 default: '{num-of-onos}'
1115 description: 'Installs the specified Number of ONOS instances'
1116
1117 - bool:
1118 name: enableMultiUni
1119 default: '{enableMultiUni}'
1120 description: "Enables the Multi UNI feature"
1121
1122 - string:
1123 name: uniPortMask
1124 default: '{uniPortMask}'
1125 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
1126
1127 - string:
1128 name: bbsimReplicas
1129 default: '{bbsimReplicas}'
1130 description: 'Installs the specified Number of BBSim Instances'
1131
1132 - string:
1133 name: onuNumber
1134 default: '{num-of-onus}'
1135 description: "Onus per PonPort"
1136
1137 - string:
1138 name: ponNumber
1139 default: '{num-of-ponports}'
1140 description: "Number of PON Ports"
1141
1142 - string:
1143 name: NumOfAtomix
1144 default: '{num-of-atomix}'
1145 description: 'Installs the specified Number of Atomix Instances'
1146
1147 - string:
1148 name: NumOfKafka
1149 default: '{num-of-kafka}'
1150 description: 'Installs the specified Number of Kafka Instances'
1151
1152 - string:
1153 name: NumOfEtcd
1154 default: '{num-of-etcd}'
1155 description: 'Installs the specified Number of Etcd Instances'
1156
1157 - bool:
1158 name: configurePod
1159 default: true
1160 description: "Configure POD via TOSCA post build"
1161
1162 - bool:
1163 name: reinstallOlt
1164 default: '{reinstall-olt}'
1165 description: "Re-install olt software bringing up CORD"
1166
1167 - bool:
1168 name: restartOlt
1169 default: '{restart-olt}'
1170 description: "Re-install olt software bringing up CORD"
1171
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001172 - bool:
1173 name: inBandManagement
1174 default: '{in-band-management}'
1175 description: 'Indicates whether POD is configured for in band management'
1176
1177 - string:
1178 name: volthaSystemTestsChange
1179 default: '{volthaSystemTestsChange}'
1180 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1181
1182 - string:
1183 name: volthaHelmChartsChange
1184 default: '{volthaHelmChartsChange}'
1185 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
1186
1187 # this is used in the Adtran DT job
1188 - string:
1189 name: openoltAdapterChart
1190 default: '{openoltAdapterChart}'
1191 description: 'Olt adapter chart name (or location on file system)'
1192
1193 # this is used in the Adtran DT job
1194 - string:
1195 name: oltAdapterReleaseName
1196 default: '{oltAdapterReleaseName}'
1197 description: 'Olt adapter release name'
1198
1199 - string:
1200 name: waitTimerForOltUp
1201 default: '{waitTimerForOltUp}'
1202 description: 'Wait timer for the OLT to come up after reboot'
1203
1204 concurrent: true
1205 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +02001206 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +02001207 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +02001208 - git:
1209 url: https://gerrit.opencord.org/ci-management
1210 branches:
1211 - origin/{pipeline-branch}
1212 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001213
1214 triggers:
1215 - timed: |
1216 TZ=America/Los_Angeles
1217 H {time} * * *
Joey Armstrongca4cb462023-01-12 17:51:05 -05001218# [EOF]
Joey Armstrongaf679da2023-01-31 14:22:41 -05001219
1220# [EOF]