blob: 21a702a67255bf58073eaae24e7d1e0a355a426d [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 - string:
151 name: VolthaEtcdPort
152 default: '{VolthaEtcdPort}'
153 description: 'Localhost port that is forwarded to VOLTHA etcd'
154
155 - 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# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700201- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
202 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 Armstrongbeef4cd2023-01-18 09:59:58 -0500225 Copyright 2018-2023 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 VolthaEtcdPort: 2379
231 num-of-openonu: 1
232 num-of-onos: 1
233 num-of-atomix: 0
234 num-of-kafka: 1
235 num-of-etcd: 1
236 test-repo: 'voltha-system-tests'
237 release: 'master'
238 name-extension: ''
239 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200240 pipeline-branch: 'master'
Hardik Windlassc7379022021-05-12 13:52:24 +0530241 configurePod: true
242 volthaHelmChartsChange: ''
243 profile: 'Default'
244 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000245 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530246 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000247 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000248 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700249 num-of-onus: 0
250 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700251 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530252
253 <<: *voltha-build-job-parameters
254
255 concurrent: true
256 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200257 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200258 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200259 - git:
260 url: https://gerrit.opencord.org/ci-management
261 branches:
262 - origin/{pipeline-branch}
263 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlassc7379022021-05-12 13:52:24 +0530264
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500265# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500266# VOLTHA Build Jobs (periodic)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500267# -----------------------------------------------------------------------
Hardik Windlassc7379022021-05-12 13:52:24 +0530268- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700269 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
270 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700271 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700272 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700273 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 -0700274 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500275 Created by QA (Suchitra Vemuri) <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500276 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700277
278 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700279 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200280 pipeline-script: 'voltha/physical-build.groovy'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700281 VolthaEtcdPort: 2379
282 num-of-openonu: 1
283 num-of-onos: 3
284 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530285 num-of-kafka: 3
286 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700287 test-repo: 'voltha-system-tests'
288 release: 'master'
289 name-extension: ''
290 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200291 pipeline-branch: 'master'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700292 configurePod: true
293 volthaHelmChartsChange: ''
294 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700295 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000296 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530297 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000298 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000299 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700300 num-of-onus: 0
301 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700302 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700303
304 <<: *voltha-build-job-parameters
305
306 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700307 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200308 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200309 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200310 - git:
311 url: https://gerrit.opencord.org/ci-management
312 branches:
313 - origin/{pipeline-branch}
314 script-path: jjb/pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700315
316 triggers:
317 - timed: |
318 TZ=America/Los_Angeles
319 H {time} * * *
320
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500321# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500322# VOLTHA Build Jobs (periodic: playground
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500323# [CORD_3256]
Joey Armstrong980e37f2023-02-28 18:57:41 -0500324# -----------------------------------------------------------------------
325- job-template:
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500326 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}-playground'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500327 id: build_voltha_pod_release_timer_playground
328 disabled: '{disable-job}'
329 description: |
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500330 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management'
331 Created from job-template {id} from repo::ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml
Joey Armstrong980e37f2023-02-28 18:57:41 -0500332 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
333
334 <<: *voltha-pipe-job-boiler-plate
335 # default values
336 pipeline-script: 'voltha/playground/physical-build.groovy'
337 VolthaEtcdPort: 2379
338 num-of-openonu: 1
339 num-of-onos: 3
340 num-of-atomix: 3
341 num-of-kafka: 3
342 num-of-etcd: 3
343 test-repo: 'voltha-system-tests'
344 release: 'master'
345 name-extension: ''
346 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +0200347 pipeline-branch: 'master'
Joey Armstrong980e37f2023-02-28 18:57:41 -0500348 configurePod: true
349 volthaHelmChartsChange: ''
350 profile: 'Default'
351 logLevel: 'DEBUG'
352 enableMultiUni: false
353 withFttb: false
354 uniPortMask: '0x0001'
355 bbsimReplicas: 0
356 num-of-onus: 0
357 num-of-ponports: 0
358 extraHelmFlags: ''
359
360 <<: *voltha-build-job-parameters
361
362 concurrent: true
363 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200364 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200365 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200366 - git:
367 url: https://gerrit.opencord.org/ci-management
368 branches:
369 - origin/{pipeline-branch}
370 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong980e37f2023-02-28 18:57:41 -0500371
372 triggers:
373 - timed: |
374 TZ=America/Los_Angeles
375 H {time} * * *
376
377# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700378# VOLTHA Test Job
379# This job is automatically triggered after a build job has successfully completed
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500380# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700381- job-template:
382 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
383 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700384 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700385 description: |
386 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700387 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500388 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400389 UUID: 1a23dd34-4058-11ee-b6af-3b2e60c5d971 <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500390 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700391
392 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200393 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200394 pipeline-branch: 'master'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700395 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
396 manifest-branch: 'master'
397
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100398 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000399 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530400 withFttb: false
Andrea Campanella2af4b902021-11-05 10:40:02 +0100401 timeout: 300
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100402
Matteo Scandolo9973c652020-08-07 15:23:35 -0700403 parameters:
404 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000405 name: timeout
406 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000407 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000408
409 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700410 name: buildNode
411 default: '{build-node}'
412 description: 'Name of the Jenkins executor node to run the job on'
413
414 - string:
415 name: TestNodeName
416 default: '{build-node}'
417 description: 'DEPRECATED - use buildNode instead'
418
419 - string:
420 name: cordRepoUrl
421 default: '{gerrit-server-url}'
422 description: 'The URL of the CORD Project repository'
423
424 - string:
425 name: configBaseDir
426 default: 'pod-configs'
427 description: 'The directory inside the POD configs repository'
428
429 - string:
430 name: configDeploymentDir
431 default: 'deployment-configs'
432 description: 'The deployment configs folder'
433
434 - string:
435 name: configKubernetesDir
436 default: 'kubernetes-configs'
437 description: 'The kubernetes config folder'
438
439 - string:
440 name: configToscaDir
441 default: 'tosca-configs'
442 description: 'The tosca config folder'
443
444 - string:
445 name: configFileName
446 default: '{config-pod}'
447 description: 'The config file'
448
449 - string:
450 name: profile
451 default: '{profile}'
452 description: 'Technology Profile pushed to the ETCD'
453
454 - string:
455 name: branch
456 default: '{branch}'
457 description: 'Branch of the test libraries to check out'
458
459 - string:
460 name: manifestUrl
461 default: '{manifest-url}'
462 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
463
464 - string:
465 name: manifestBranch
466 default: '{manifest-branch}'
467 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
468
469 - string:
470 name: workFlow
471 default: '{work-flow}'
472 description: 'Installs and uses the specified work flow on the POD'
473
474 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000475 name: enableMultiUni
476 default: '{enableMultiUni}'
477 description: "Enables the Multi UNI feature"
478
479 - bool:
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530480 name: withFttb
481 default: '{withFttb}'
482 description: "Test with FTTB enabled"
483
484 - bool:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700485 name: powerSwitch
486 default: '{power-switch}'
487 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
488
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000489 - bool:
490 name: powerCycleOlt
491 default: '{power-cycle-olt}'
492 description: "Indicate whether to reboot OLT through power switch"
493
Andrea Campanella6ea62272020-09-16 11:10:52 +0200494 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100495 name: oltAdapterAppLabel
496 default: '{oltAdapterAppLabel}'
497 description: 'OLT adapter pod name'
498
499 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200500 name: volthaSystemTestsChange
501 default: '{volthaSystemTestsChange}'
502 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
503
504 - string:
505 name: kindVolthaChange
506 default: '{kindVolthaChange}'
507 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
508
509 - string:
510 name: cordTesterChange
511 default: '{cordTesterChange}'
512 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
513
Matteo Scandolo9973c652020-08-07 15:23:35 -0700514 concurrent: true
515
516 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200517 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200518 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200519 - git:
520 url: https://gerrit.opencord.org/ci-management
521 branches:
522 - origin/{pipeline-branch}
523 script-path: jjb/pipeline/{pipeline-script}
Matteo Scandolo9973c652020-08-07 15:23:35 -0700524
525 triggers:
526 - reverse:
527 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
528 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700529
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500530# -----------------------------------------------------------------------
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500531# VOLTHA Test Job
532# This job is automatically triggered after a build job has successfully completed
533# -----------------------------------------------------------------------
534- job-template:
535 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test-playground'
536 id: build_voltha_pod_test_playground
537 disabled: '{disable-job}'
538 description: |
Joey Armstrongcfd06642023-08-21 15:44:06 -0400539 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script} <br />
540 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
541 UUID: 65587ad0-4058-11ee-9e99-e3ca477d4427 <br />
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500542 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
543
544 <<: *voltha-pipe-job-boiler-plate
545 pipeline-script: 'voltha/playground/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200546 pipeline-branch: 'master'
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500547 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
548 manifest-branch: 'master'
549
550 oltAdapterAppLabel: 'adapter-open-olt'
551 enableMultiUni: false
552 withFttb: false
553 timeout: 300
554
555 parameters:
556 - string:
557 name: timeout
558 default: '{timeout}'
559 description: 'Job pipeline timeout value [minutes]'
560
561 - string:
562 name: buildNode
563 default: '{build-node}'
564 description: 'Name of the Jenkins executor node to run the job on'
565
566 - string:
567 name: TestNodeName
568 default: '{build-node}'
569 description: 'DEPRECATED - use buildNode instead'
570
571 - string:
572 name: cordRepoUrl
573 default: '{gerrit-server-url}'
574 description: 'The URL of the CORD Project repository'
575
576 - string:
577 name: configBaseDir
578 default: 'pod-configs'
579 description: 'The directory inside the POD configs repository'
580
581 - string:
582 name: configDeploymentDir
583 default: 'deployment-configs'
584 description: 'The deployment configs folder'
585
586 - string:
587 name: configKubernetesDir
588 default: 'kubernetes-configs'
589 description: 'The kubernetes config folder'
590
591 - string:
592 name: configToscaDir
593 default: 'tosca-configs'
594 description: 'The tosca config folder'
595
596 - string:
597 name: configFileName
598 default: '{config-pod}'
599 description: 'The config file'
600
601 - string:
602 name: profile
603 default: '{profile}'
604 description: 'Technology Profile pushed to the ETCD'
605
606 - string:
607 name: branch
608 default: '{branch}'
609 description: 'Branch of the test libraries to check out'
610
611 - string:
612 name: manifestUrl
613 default: '{manifest-url}'
614 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
615
616 - string:
617 name: manifestBranch
618 default: '{manifest-branch}'
619 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
620
621 - string:
622 name: workFlow
623 default: '{work-flow}'
624 description: 'Installs and uses the specified work flow on the POD'
625
626 - bool:
627 name: enableMultiUni
628 default: '{enableMultiUni}'
629 description: "Enables the Multi UNI feature"
630
631 - bool:
632 name: withFttb
633 default: '{withFttb}'
634 description: "Test with FTTB enabled"
635
636 - bool:
637 name: powerSwitch
638 default: '{power-switch}'
639 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
640
641 - bool:
642 name: powerCycleOlt
643 default: '{power-cycle-olt}'
644 description: "Indicate whether to reboot OLT through power switch"
645
646 - string:
647 name: oltAdapterAppLabel
648 default: '{oltAdapterAppLabel}'
649 description: 'OLT adapter pod name'
650
651 - string:
652 name: volthaSystemTestsChange
653 default: '{volthaSystemTestsChange}'
654 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
655
656 - string:
657 name: kindVolthaChange
658 default: '{kindVolthaChange}'
659 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
660
661 - string:
662 name: cordTesterChange
663 default: '{cordTesterChange}'
664 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
665
666 concurrent: true
667
668 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200669 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200670 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200671 - git:
672 url: https://gerrit.opencord.org/ci-management
673 branches:
674 - origin/{pipeline-branch}
675 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500676
677 triggers:
678 - reverse:
679 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
680 result: 'success'
681
682# -----------------------------------------------------------------------
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700683# VOLTHA Soak Test Job
684# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500685# -----------------------------------------------------------------------
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700686- job-template:
687 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
688 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100689 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700690 description: |
691 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
692 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500693 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400694 UUID: 798f0064-4058-11ee-b70f-2fee4c7dfce6 <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500695 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700696
697 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200698 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200699 pipeline-branch: 'master'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700700 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
701 manifest-branch: 'master'
702
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100703 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000704 timeout: 240
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100705
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700706 parameters:
707 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000708 name: timeout
709 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000710 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000711
712 - string:
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700713 name: buildNode
714 default: '{build-node}'
715 description: 'Name of the Jenkins executor node to run the job on'
716
717 - string:
718 name: TestNodeName
719 default: '{build-node}'
720 description: 'DEPRECATED - use buildNode instead'
721
722 - string:
723 name: cordRepoUrl
724 default: '{gerrit-server-url}'
725 description: 'The URL of the CORD Project repository'
726
727 - string:
728 name: configBaseDir
729 default: 'pod-configs'
730 description: 'The directory inside the POD configs repository'
731
732 - string:
733 name: configDeploymentDir
734 default: 'deployment-configs'
735 description: 'The deployment configs folder'
736
737 - string:
738 name: configKubernetesDir
739 default: 'kubernetes-configs'
740 description: 'The kubernetes config folder'
741
742 - string:
743 name: configToscaDir
744 default: 'tosca-configs'
745 description: 'The tosca config folder'
746
747 - string:
748 name: configFileName
749 default: '{config-pod}'
750 description: 'The config file'
751
752 - string:
753 name: profile
754 default: '{profile}'
755 description: 'Technology Profile pushed to the ETCD'
756
757 - string:
758 name: branch
759 default: '{branch}'
760 description: 'Branch of the test libraries to check out'
761
762 - string:
763 name: manifestUrl
764 default: '{manifest-url}'
765 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
766
767 - string:
768 name: manifestBranch
769 default: '{manifest-branch}'
770 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
771
772 - string:
773 name: workFlow
774 default: '{work-flow}'
775 description: 'Installs and uses the specified work flow on the POD'
776
777 - bool:
778 name: powerSwitch
779 default: '{power-switch}'
780 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
781
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000782 - bool:
783 name: powerCycleOlt
784 default: '{power-cycle-olt}'
785 description: "Indicate whether to reboot OLT through power switch"
786
Suchitra Vemurie6625222020-09-01 17:12:56 -0700787 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100788 name: oltAdapterAppLabel
789 default: '{oltAdapterAppLabel}'
790 description: 'OLT adapter pod name'
791
792 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700793 name: testType
794 default: '{test-type}'
795 description: 'Passes the required test category to the groovy script'
796
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700797 - string:
798 name: volthaSystemTestsChange
799 default: '{volthaSystemTestsChange}'
800 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
801
802 - string:
803 name: kindVolthaChange
804 default: '{kindVolthaChange}'
805 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
806
807 - string:
808 name: cordTesterChange
809 default: '{cordTesterChange}'
810 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 -0500811
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700812 concurrent: true
813
814 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200815 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200816 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200817 - git:
818 url: https://gerrit.opencord.org/ci-management
819 branches:
820 - origin/{pipeline-branch}
821 script-path: jjb/pipeline/{pipeline-script}
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700822
823 triggers:
824 - timed: |
825 TZ=America/Los_Angeles
826 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000827
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500828# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000829# VOLTHA Manual Test Job
830# This job is triggered manually
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500831# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000832- job-template:
833 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
834 id: build_voltha_pod_manual_test
835 disabled: '{disable-job}'
836 description: |
837 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
838 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500839 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400840 UUID: 873eb92a-4058-11ee-8298-33472e0ccae4 <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500841 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500842
Hardik Windlass77221c62021-05-21 06:24:35 +0000843 <<: *voltha-pipe-job-boiler-plate
Jan Klare8846dea2023-09-15 14:31:56 +0200844 pipeline-script: 'voltha/voltha-physical-functional-tests.groovy'
Jan Klarea9fe1942023-09-12 10:45:25 +0200845 pipeline-branch: 'master'
Hardik Windlass77221c62021-05-21 06:24:35 +0000846 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
847 manifest-branch: 'master'
848
849 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000850 enableMultiUni: false
Hardik Windlass9ed73662021-09-02 11:06:21 +0000851 timeout: 240
Hardik Windlass77221c62021-05-21 06:24:35 +0000852
853 parameters:
854 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000855 name: timeout
856 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000857 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000858
859 - string:
Hardik Windlass77221c62021-05-21 06:24:35 +0000860 name: buildNode
861 default: '{build-node}'
862 description: 'Name of the Jenkins executor node to run the job on'
863
864 - string:
865 name: TestNodeName
866 default: '{build-node}'
867 description: 'DEPRECATED - use buildNode instead'
868
869 - string:
870 name: cordRepoUrl
871 default: '{gerrit-server-url}'
872 description: 'The URL of the CORD Project repository'
873
874 - string:
875 name: configBaseDir
876 default: 'pod-configs'
877 description: 'The directory inside the POD configs repository'
878
879 - string:
880 name: configDeploymentDir
881 default: 'deployment-configs'
882 description: 'The deployment configs folder'
883
884 - string:
885 name: configKubernetesDir
886 default: 'kubernetes-configs'
887 description: 'The kubernetes config folder'
888
889 - string:
890 name: configToscaDir
891 default: 'tosca-configs'
892 description: 'The tosca config folder'
893
894 - string:
895 name: configFileName
896 default: '{config-pod}'
897 description: 'The config file'
898
899 - string:
900 name: profile
901 default: '{profile}'
902 description: 'Technology Profile pushed to the ETCD'
903
904 - string:
905 name: branch
906 default: '{branch}'
907 description: 'Branch of the test libraries to check out'
908
909 - string:
910 name: manifestUrl
911 default: '{manifest-url}'
912 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
913
914 - string:
915 name: manifestBranch
916 default: '{manifest-branch}'
917 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
918
919 - string:
920 name: workFlow
921 default: '{work-flow}'
922 description: 'Installs and uses the specified work flow on the POD'
923
924 - bool:
925 name: powerSwitch
926 default: '{power-switch}'
927 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
928
Hardik Windlass6598b032021-07-02 10:12:01 +0000929 - bool:
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000930 name: powerCycleOlt
931 default: '{power-cycle-olt}'
932 description: "Indicate whether to reboot OLT through power switch"
933
934 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000935 name: enableMultiUni
936 default: '{enableMultiUni}'
937 description: "Enables the Multi UNI feature"
938
Hardik Windlass77221c62021-05-21 06:24:35 +0000939 - string:
940 name: oltAdapterAppLabel
941 default: '{oltAdapterAppLabel}'
942 description: 'OLT adapter pod name'
943
944 - string:
945 name: testType
946 default: '{test-type}'
947 description: 'Passes the required test category to the groovy script'
948
949 - string:
950 name: volthaSystemTestsChange
951 default: '{volthaSystemTestsChange}'
952 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
953
954 - string:
955 name: kindVolthaChange
956 default: '{kindVolthaChange}'
957 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
958
959 - string:
960 name: cordTesterChange
961 default: '{cordTesterChange}'
962 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
963 concurrent: true
964
965 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200966 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +0200967 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +0200968 - git:
969 url: https://gerrit.opencord.org/ci-management
970 branches:
971 - origin/{pipeline-branch}
972 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000973
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500974# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000975# VOLTHA DMI Test Job
976# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500977# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000978- job-template:
979 name: 'verify_{config-pod}_{profile}{name-extension}_voltha_{release}_dmi'
980 id: verify_voltha_pod_dmi_test
981 disabled: '{disable-job}'
982 description: |
983 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
984 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500985 Created by QA (Suchitra Vemuri) <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500986 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000987
988 <<: *voltha-pipe-job-boiler-plate
989 # default values
Jan Klare8846dea2023-09-15 14:31:56 +0200990 pipeline-script: 'voltha/dmi-build-and-test.groovy'
Hardik Windlass230fca62022-05-04 08:50:35 +0530991 installVolthaInfra: true
992 installVolthaStack: true
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000993 VolthaEtcdPort: 2379
994 num-of-openonu: 1
995 num-of-onos: 3
996 num-of-atomix: 3
997 num-of-kafka: 3
998 num-of-etcd: 3
999 test-repo: 'voltha-system-tests'
1000 release: 'master'
1001 name-extension: ''
1002 branch: 'master'
Jan Klarea9fe1942023-09-12 10:45:25 +02001003 pipeline-branch: 'master'
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001004 configurePod: true
1005 volthaHelmChartsChange: ''
1006 profile: 'Default'
1007 logLevel: 'DEBUG'
1008 enableMultiUni: false
1009 uniPortMask: '0x0001'
1010 bbsimReplicas: 0
1011 num-of-onus: 0
1012 num-of-ponports: 0
1013 extraHelmFlags: ''
1014 dmiChart: ''
1015 OltDevMgr: ''
1016 openoltAdapterChart: onf/voltha-adapter-openolt
1017 oltAdapterReleaseName: open-olt
1018 waitTimerForOltUp: 360
1019
1020 parameters:
1021 - string:
1022 name: buildNode
1023 default: '{build-node}'
1024 description: 'Name of the Jenkins executor node to run the job on'
1025
1026 - string:
1027 name: TestNodeName
1028 default: '{build-node}'
1029 description: 'DEPRECATED - use buildNode instead'
1030
1031 - string:
1032 name: logLevel
1033 default: '{logLevel}'
1034 description: 'Log level for all the components'
1035
1036 - string:
1037 name: cordRepoUrl
1038 default: '{gerrit-server-url}'
1039 description: 'The URL of the CORD Project repository'
1040
1041 - string:
1042 name: configBaseDir
1043 default: 'pod-configs'
1044 description: 'The directory inside the POD configs repository'
1045
1046 - string:
1047 name: configDeploymentDir
1048 default: 'deployment-configs'
1049 description: 'The deployment configs folder'
1050
1051 - string:
1052 name: configKubernetesDir
1053 default: 'kubernetes-configs'
1054 description: 'The kubernetes config folder'
1055
1056 - string:
1057 name: configToscaDir
1058 default: 'tosca-configs'
1059 description: 'The tosca config folder'
1060
1061 - string:
1062 name: configFileName
1063 default: '{config-pod}'
1064 description: 'The config file'
1065
1066 - string:
1067 name: profile
1068 default: '{profile}'
1069 description: 'Technology Profile pushed to the ETCD'
1070
1071 - string:
1072 name: helmRepoUrl
1073 default: 'https://charts.opencord.org'
1074 description: 'URL where helm-charts are published'
1075
1076 - string:
1077 name: branch
1078 default: '{branch}'
1079
1080 - string:
1081 name: workFlow
1082 default: '{work-flow}'
1083 description: 'Installs and uses the specified work flow on the POD'
1084
Hardik Windlassace19e52022-02-10 09:36:21 +00001085 - bool:
Hardik Windlass230fca62022-05-04 08:50:35 +05301086 name: installVolthaInfra
1087 default: '{installVolthaInfra}'
1088 description: "Whether to install VOLTHA Infra"
1089
1090 - bool:
1091 name: installVolthaStack
1092 default: '{installVolthaStack}'
1093 description: "Whether to install VOLTHA Stack"
Hardik Windlassace19e52022-02-10 09:36:21 +00001094
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001095 - string:
1096 name: extraHelmFlags
1097 default: '{extraHelmFlags}'
1098 description: 'Helm flags (passed to each deployment)'
1099
1100 - string:
1101 name: dmiChart
1102 default: '{dmiChart}'
1103 description: 'Device Management Interface Helm Chart'
1104
1105 - string:
1106 name: OltDevMgr
1107 default: '{OltDevMgr}'
1108 description: 'OLT Device Manager App Name'
1109
1110 # openonu-go only supports a single replica, remove after 2.8
1111 - string:
1112 name: NumOfOpenOnu
1113 default: '{num-of-openonu}'
1114 description: 'Installs the specified Number of OpenOnu Adapters'
1115
1116 - string:
1117 name: NumOfOnos
1118 default: '{num-of-onos}'
1119 description: 'Installs the specified Number of ONOS instances'
1120
1121 - bool:
1122 name: enableMultiUni
1123 default: '{enableMultiUni}'
1124 description: "Enables the Multi UNI feature"
1125
1126 - string:
1127 name: uniPortMask
1128 default: '{uniPortMask}'
1129 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
1130
1131 - string:
1132 name: bbsimReplicas
1133 default: '{bbsimReplicas}'
1134 description: 'Installs the specified Number of BBSim Instances'
1135
1136 - string:
1137 name: onuNumber
1138 default: '{num-of-onus}'
1139 description: "Onus per PonPort"
1140
1141 - string:
1142 name: ponNumber
1143 default: '{num-of-ponports}'
1144 description: "Number of PON Ports"
1145
1146 - string:
1147 name: NumOfAtomix
1148 default: '{num-of-atomix}'
1149 description: 'Installs the specified Number of Atomix Instances'
1150
1151 - string:
1152 name: NumOfKafka
1153 default: '{num-of-kafka}'
1154 description: 'Installs the specified Number of Kafka Instances'
1155
1156 - string:
1157 name: NumOfEtcd
1158 default: '{num-of-etcd}'
1159 description: 'Installs the specified Number of Etcd Instances'
1160
1161 - bool:
1162 name: configurePod
1163 default: true
1164 description: "Configure POD via TOSCA post build"
1165
1166 - bool:
1167 name: reinstallOlt
1168 default: '{reinstall-olt}'
1169 description: "Re-install olt software bringing up CORD"
1170
1171 - bool:
1172 name: restartOlt
1173 default: '{restart-olt}'
1174 description: "Re-install olt software bringing up CORD"
1175
1176 - string:
1177 name: VolthaEtcdPort
1178 default: '{VolthaEtcdPort}'
1179 description: 'Localhost port that is forwarded to VOLTHA etcd'
1180
1181 - bool:
1182 name: inBandManagement
1183 default: '{in-band-management}'
1184 description: 'Indicates whether POD is configured for in band management'
1185
1186 - string:
1187 name: volthaSystemTestsChange
1188 default: '{volthaSystemTestsChange}'
1189 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1190
1191 - string:
1192 name: volthaHelmChartsChange
1193 default: '{volthaHelmChartsChange}'
1194 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
1195
1196 # this is used in the Adtran DT job
1197 - string:
1198 name: openoltAdapterChart
1199 default: '{openoltAdapterChart}'
1200 description: 'Olt adapter chart name (or location on file system)'
1201
1202 # this is used in the Adtran DT job
1203 - string:
1204 name: oltAdapterReleaseName
1205 default: '{oltAdapterReleaseName}'
1206 description: 'Olt adapter release name'
1207
1208 - string:
1209 name: waitTimerForOltUp
1210 default: '{waitTimerForOltUp}'
1211 description: 'Wait timer for the OLT to come up after reboot'
1212
1213 concurrent: true
1214 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +02001215 pipeline-scm:
Jan Klare390cee12023-09-11 15:13:43 +02001216 scm:
Jan Klarea9fe1942023-09-12 10:45:25 +02001217 - git:
1218 url: https://gerrit.opencord.org/ci-management
1219 branches:
1220 - origin/{pipeline-branch}
1221 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001222
1223 triggers:
1224 - timed: |
1225 TZ=America/Los_Angeles
1226 H {time} * * *
Joey Armstrongca4cb462023-01-12 17:51:05 -05001227# [EOF]
Joey Armstrongaf679da2023-01-31 14:22:41 -05001228
1229# [EOF]