blob: 7e6bf40e28fb3cb4448841bf58c1674a755d8a86 [file] [log] [blame]
Matteo Scandolo9973c652020-08-07 15:23:35 -07001---
Jan Klare390cee12023-09-11 15:13:43 +02002# define git source for pipeline-scripts used by jenkins job builder
3- scm:
4 name: ci-management
5 scm:
6 - git:
7 url: https://gerrit.opencord.org/ci-management
8 branches:
9 - origin/master
Matteo Scandolo9973c652020-08-07 15:23:35 -070010# list of parameters for the VOLTHA Jobs,
11# used as anchor so that can be shared across multiple jobs
12# to use in a job: `parameters: *voltha-build-job-parameters`
13- voltha-build-job-parameters: &voltha-build-job-parameters
14 name: voltha-build-job-parameters
Andrea Campanella6dfc0432021-01-12 10:43:16 +010015
16 openoltAdapterChart: onf/voltha-adapter-openolt
17
Andrea Campanellace8aa762021-08-27 09:32:22 +020018 oltAdapterReleaseName: open-olt
19
Andrea Campanellaecefbc82021-08-27 11:06:31 +020020 waitTimerForOltUp: 360
21
Matteo Scandolo9973c652020-08-07 15:23:35 -070022 parameters:
23 - string:
24 name: buildNode
25 default: '{build-node}'
26 description: 'Name of the Jenkins executor node to run the job on'
27
28 - string:
29 name: TestNodeName
30 default: '{build-node}'
31 description: 'DEPRECATED - use buildNode instead'
32
33 - string:
Matteo Scandolo982b69d2021-05-10 12:01:57 -070034 name: logLevel
35 default: '{logLevel}'
36 description: 'Log level for all the components'
37
38 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070039 name: cordRepoUrl
40 default: '{gerrit-server-url}'
41 description: 'The URL of the CORD Project repository'
42
43 - string:
44 name: configBaseDir
45 default: 'pod-configs'
46 description: 'The directory inside the POD configs repository'
47
48 - string:
49 name: configDeploymentDir
50 default: 'deployment-configs'
51 description: 'The deployment configs folder'
52
53 - string:
54 name: configKubernetesDir
55 default: 'kubernetes-configs'
56 description: 'The kubernetes config folder'
57
58 - string:
59 name: configToscaDir
60 default: 'tosca-configs'
61 description: 'The tosca config folder'
62
63 - string:
64 name: configFileName
65 default: '{config-pod}'
66 description: 'The config file'
67
68 - string:
69 name: profile
70 default: '{profile}'
71 description: 'Technology Profile pushed to the ETCD'
72
73 - string:
74 name: helmRepoUrl
75 default: 'https://charts.opencord.org'
76 description: 'URL where helm-charts are published'
77
78 - string:
79 name: branch
80 default: '{branch}'
81
82 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -070083 name: workFlow
84 default: '{work-flow}'
85 description: 'Installs and uses the specified work flow on the POD'
86
Matteo Scandolod47bfb22021-05-24 09:40:05 -070087 - string:
88 name: extraHelmFlags
89 default: '{extraHelmFlags}'
90 description: 'Helm flags (passed to each deployment)'
91
Matteo Scandolod82d1de2021-04-06 14:55:58 -070092 # openonu-go only supports a single replica, remove after 2.8
Matteo Scandolo9973c652020-08-07 15:23:35 -070093 - string:
94 name: NumOfOpenOnu
95 default: '{num-of-openonu}'
96 description: 'Installs the specified Number of OpenOnu Adapters'
97
98 - string:
99 name: NumOfOnos
100 default: '{num-of-onos}'
101 description: 'Installs the specified Number of ONOS instances'
102
Hardik Windlass6598b032021-07-02 10:12:01 +0000103 - bool:
104 name: enableMultiUni
105 default: '{enableMultiUni}'
106 description: "Enables the Multi UNI feature"
107
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530108 - bool:
109 name: withFttb
110 default: '{withFttb}'
111 description: "Deploy with FTTB"
112
Hardik Windlass6598b032021-07-02 10:12:01 +0000113 - string:
114 name: uniPortMask
115 default: '{uniPortMask}'
116 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
117
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800118 - string:
Hardik Windlass908533a2021-05-24 16:35:58 +0000119 name: bbsimReplicas
120 default: '{bbsimReplicas}'
121 description: 'Installs the specified Number of BBSim Instances'
122
123 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800124 name: onuNumber
125 default: '{num-of-onus}'
126 description: "Onus per PonPort"
127
128 - string:
129 name: ponNumber
130 default: '{num-of-ponports}'
131 description: "Number of PON Ports"
132
Matteo Scandolo9973c652020-08-07 15:23:35 -0700133 - string:
134 name: NumOfAtomix
135 default: '{num-of-atomix}'
136 description: 'Installs the specified Number of Atomix Instances'
137
Hardik Windlassc7379022021-05-12 13:52:24 +0530138 - string:
139 name: NumOfKafka
140 default: '{num-of-kafka}'
141 description: 'Installs the specified Number of Kafka Instances'
142
143 - string:
144 name: NumOfEtcd
145 default: '{num-of-etcd}'
146 description: 'Installs the specified Number of Etcd Instances'
147
Matteo Scandolo9973c652020-08-07 15:23:35 -0700148 - bool:
149 name: configurePod
150 default: true
151 description: "Configure POD via TOSCA post build"
152
153 - bool:
154 name: reinstallOlt
155 default: '{reinstall-olt}'
156 description: "Re-install olt software bringing up CORD"
157
Matteo Scandolo9973c652020-08-07 15:23:35 -0700158 - string:
159 name: VolthaEtcdPort
160 default: '{VolthaEtcdPort}'
161 description: 'Localhost port that is forwarded to VOLTHA etcd'
162
163 - bool:
164 name: inBandManagement
165 default: '{in-band-management}'
166 description: 'Indicates whether POD is configured for in band management'
167
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700168 - string:
169 name: volthaSystemTestsChange
170 default: '{volthaSystemTestsChange}'
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500171 description: 'Download delta from gerrit:voltha-system-tests, example value: "refs/changes/79/18779/13"'
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700172
173 - string:
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700174 name: volthaHelmChartsChange
175 default: '{volthaHelmChartsChange}'
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500176 description: 'Download delta from gerrit:voltha-helm-charts, example value: "refs/changes/32/19132/1"'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700177
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700178 # NOTE is this needed/used?
Matteo Scandolo3dce2a12020-09-15 14:21:14 -0700179 - string:
180 name: cordTesterChange
181 default: '{cordTesterChange}'
182 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
183
Matteo Scandolo6eb673e2021-05-06 11:24:39 -0700184 # this is used in the Adtran DT job
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100185 - string:
186 name: openoltAdapterChart
187 default: '{openoltAdapterChart}'
Andrea Campanellace8aa762021-08-27 09:32:22 +0200188 description: 'Olt adapter chart name (or location on file system)'
189
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200190 # this is used in the Adtran DT job
Andrea Campanellace8aa762021-08-27 09:32:22 +0200191 - string:
192 name: oltAdapterReleaseName
193 default: '{oltAdapterReleaseName}'
194 description: 'Olt adapter release name'
Andrea Campanella6dfc0432021-01-12 10:43:16 +0100195
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200196 - string:
197 name: waitTimerForOltUp
198 default: '{waitTimerForOltUp}'
199 description: 'Wait timer for the OLT to come up after reboot'
200
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500201 - bool:
202 name: DebugMode
203 default: false
204 description: "Enable script debugging (unused)"
205
206# -----------------------------------------------------------------------
207# default properties for the VOLTHA scale jobs
208# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700209- voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate
210 name: voltha-pipe-job-boiler-plate
211
212 project-type: pipeline
213
214 sandbox: true
215
216 properties:
Joey Armstronge04fe1f2022-08-25 13:48:13 -0400217 - onf-infra-volthadevs-permissions
Matteo Scandolo9973c652020-08-07 15:23:35 -0700218 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800219 build-days-to-keep: '{big-build-days-to-keep}'
220 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700221
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500222# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500223# VOLTHA Build Job (manual)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500224# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700225- job-template:
Hardik Windlassc7379022021-05-12 13:52:24 +0530226 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual'
227 id: build_voltha_pod_manual
228 disabled: '{disable-job}'
229 description: |
230 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
231 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500232 Created by QA (Suchitra Vemuri) <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500233 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlassc7379022021-05-12 13:52:24 +0530234
235 <<: *voltha-pipe-job-boiler-plate
236 # default values
237 pipeline-script: 'voltha/master/physical-build.groovy'
238 VolthaEtcdPort: 2379
239 num-of-openonu: 1
240 num-of-onos: 1
241 num-of-atomix: 0
242 num-of-kafka: 1
243 num-of-etcd: 1
244 test-repo: 'voltha-system-tests'
245 release: 'master'
246 name-extension: ''
247 branch: 'master'
248 configurePod: true
249 volthaHelmChartsChange: ''
250 profile: 'Default'
251 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000252 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530253 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000254 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000255 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700256 num-of-onus: 0
257 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700258 extraHelmFlags: ''
Hardik Windlassc7379022021-05-12 13:52:24 +0530259
260 <<: *voltha-build-job-parameters
261
262 concurrent: true
263 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200264 pipeline-scm:
265 script-path: jjb/pipeline/{pipeline-script}
266 scm:
267 - ci-management
Hardik Windlassc7379022021-05-12 13:52:24 +0530268
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500269# -----------------------------------------------------------------------
Joey Armstrong980e37f2023-02-28 18:57:41 -0500270# VOLTHA Build Jobs (periodic)
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500271# -----------------------------------------------------------------------
Hardik Windlassc7379022021-05-12 13:52:24 +0530272- job-template:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700273 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
274 id: build_voltha_pod_release_timer
Suchitra Vemuri26fe2432020-09-14 19:51:32 -0700275 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700276 description: |
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700277 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 -0700278 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500279 Created by QA (Suchitra Vemuri) <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500280 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700281
282 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700283 # default values
284 pipeline-script: 'voltha/master/physical-build.groovy'
285 VolthaEtcdPort: 2379
286 num-of-openonu: 1
287 num-of-onos: 3
288 num-of-atomix: 3
Hardik Windlassc7379022021-05-12 13:52:24 +0530289 num-of-kafka: 3
290 num-of-etcd: 3
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700291 test-repo: 'voltha-system-tests'
292 release: 'master'
293 name-extension: ''
294 branch: 'master'
295 configurePod: true
296 volthaHelmChartsChange: ''
297 profile: 'Default'
Matteo Scandolo6ddb0152021-05-07 11:25:17 -0700298 logLevel: 'DEBUG'
Hardik Windlass6598b032021-07-02 10:12:01 +0000299 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530300 withFttb: false
Hardik Windlass6598b032021-07-02 10:12:01 +0000301 uniPortMask: '0x0001'
Hardik Windlass908533a2021-05-24 16:35:58 +0000302 bbsimReplicas: 0
Matteo Scandolo1c895512021-05-13 10:30:13 -0700303 num-of-onus: 0
304 num-of-ponports: 0
Matteo Scandolod47bfb22021-05-24 09:40:05 -0700305 extraHelmFlags: ''
Matteo Scandolo9973c652020-08-07 15:23:35 -0700306
307 <<: *voltha-build-job-parameters
308
309 concurrent: true
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700310 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200311 pipeline-scm:
312 script-path: jjb/pipeline/{pipeline-script}
313 scm:
314 - ci-management
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'
347 configurePod: true
348 volthaHelmChartsChange: ''
349 profile: 'Default'
350 logLevel: 'DEBUG'
351 enableMultiUni: false
352 withFttb: false
353 uniPortMask: '0x0001'
354 bbsimReplicas: 0
355 num-of-onus: 0
356 num-of-ponports: 0
357 extraHelmFlags: ''
358
359 <<: *voltha-build-job-parameters
360
361 concurrent: true
362 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200363 pipeline-scm:
364 script-path: jjb/pipeline/{pipeline-script}
365 scm:
366 - ci-management
Joey Armstrong980e37f2023-02-28 18:57:41 -0500367
368 triggers:
369 - timed: |
370 TZ=America/Los_Angeles
371 H {time} * * *
372
373# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700374# VOLTHA Test Job
375# This job is automatically triggered after a build job has successfully completed
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500376# -----------------------------------------------------------------------
Matteo Scandolo9973c652020-08-07 15:23:35 -0700377- job-template:
378 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
379 id: build_voltha_pod_test
Matteo Scandolo38a00b02020-09-15 13:27:06 -0700380 disabled: '{disable-job}'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700381 description: |
382 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
Matteo Scandolo16090cd2020-08-12 15:42:42 -0700383 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500384 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400385 UUID: 1a23dd34-4058-11ee-b6af-3b2e60c5d971 <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500386 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo9973c652020-08-07 15:23:35 -0700387
388 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolo5e7bd1d2021-07-16 13:29:42 -0700389 pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy'
Matteo Scandolo9973c652020-08-07 15:23:35 -0700390 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
391 manifest-branch: 'master'
392
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100393 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000394 enableMultiUni: false
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530395 withFttb: false
Andrea Campanella2af4b902021-11-05 10:40:02 +0100396 timeout: 300
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100397
Matteo Scandolo9973c652020-08-07 15:23:35 -0700398 parameters:
399 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000400 name: timeout
401 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000402 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000403
404 - string:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700405 name: buildNode
406 default: '{build-node}'
407 description: 'Name of the Jenkins executor node to run the job on'
408
409 - string:
410 name: TestNodeName
411 default: '{build-node}'
412 description: 'DEPRECATED - use buildNode instead'
413
414 - string:
415 name: cordRepoUrl
416 default: '{gerrit-server-url}'
417 description: 'The URL of the CORD Project repository'
418
419 - string:
420 name: configBaseDir
421 default: 'pod-configs'
422 description: 'The directory inside the POD configs repository'
423
424 - string:
425 name: configDeploymentDir
426 default: 'deployment-configs'
427 description: 'The deployment configs folder'
428
429 - string:
430 name: configKubernetesDir
431 default: 'kubernetes-configs'
432 description: 'The kubernetes config folder'
433
434 - string:
435 name: configToscaDir
436 default: 'tosca-configs'
437 description: 'The tosca config folder'
438
439 - string:
440 name: configFileName
441 default: '{config-pod}'
442 description: 'The config file'
443
444 - string:
445 name: profile
446 default: '{profile}'
447 description: 'Technology Profile pushed to the ETCD'
448
449 - string:
450 name: branch
451 default: '{branch}'
452 description: 'Branch of the test libraries to check out'
453
454 - string:
455 name: manifestUrl
456 default: '{manifest-url}'
457 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
458
459 - string:
460 name: manifestBranch
461 default: '{manifest-branch}'
462 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
463
464 - string:
465 name: workFlow
466 default: '{work-flow}'
467 description: 'Installs and uses the specified work flow on the POD'
468
469 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000470 name: enableMultiUni
471 default: '{enableMultiUni}'
472 description: "Enables the Multi UNI feature"
473
474 - bool:
Hardik Windlassc97ceae2022-05-13 10:12:55 +0530475 name: withFttb
476 default: '{withFttb}'
477 description: "Test with FTTB enabled"
478
479 - bool:
Matteo Scandolo9973c652020-08-07 15:23:35 -0700480 name: powerSwitch
481 default: '{power-switch}'
482 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
483
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000484 - bool:
485 name: powerCycleOlt
486 default: '{power-cycle-olt}'
487 description: "Indicate whether to reboot OLT through power switch"
488
Andrea Campanella6ea62272020-09-16 11:10:52 +0200489 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100490 name: oltAdapterAppLabel
491 default: '{oltAdapterAppLabel}'
492 description: 'OLT adapter pod name'
493
494 - string:
Andrea Campanella6ea62272020-09-16 11:10:52 +0200495 name: volthaSystemTestsChange
496 default: '{volthaSystemTestsChange}'
497 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
498
499 - string:
500 name: kindVolthaChange
501 default: '{kindVolthaChange}'
502 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
503
504 - string:
505 name: cordTesterChange
506 default: '{cordTesterChange}'
507 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
508
Matteo Scandolo9973c652020-08-07 15:23:35 -0700509 concurrent: true
510
511 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200512 pipeline-scm:
513 script-path: jjb/pipeline/{pipeline-script}
514 scm:
515 - ci-management
Matteo Scandolo9973c652020-08-07 15:23:35 -0700516
517 triggers:
518 - reverse:
519 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
520 result: 'success'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700521
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500522# -----------------------------------------------------------------------
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500523# VOLTHA Test Job
524# This job is automatically triggered after a build job has successfully completed
525# -----------------------------------------------------------------------
526- job-template:
527 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test-playground'
528 id: build_voltha_pod_test_playground
529 disabled: '{disable-job}'
530 description: |
Joey Armstrongcfd06642023-08-21 15:44:06 -0400531 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script} <br />
532 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
533 UUID: 65587ad0-4058-11ee-9e99-e3ca477d4427 <br />
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500534 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
535
536 <<: *voltha-pipe-job-boiler-plate
537 pipeline-script: 'voltha/playground/voltha-physical-functional-tests.groovy'
538 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
539 manifest-branch: 'master'
540
541 oltAdapterAppLabel: 'adapter-open-olt'
542 enableMultiUni: false
543 withFttb: false
544 timeout: 300
545
546 parameters:
547 - string:
548 name: timeout
549 default: '{timeout}'
550 description: 'Job pipeline timeout value [minutes]'
551
552 - string:
553 name: buildNode
554 default: '{build-node}'
555 description: 'Name of the Jenkins executor node to run the job on'
556
557 - string:
558 name: TestNodeName
559 default: '{build-node}'
560 description: 'DEPRECATED - use buildNode instead'
561
562 - string:
563 name: cordRepoUrl
564 default: '{gerrit-server-url}'
565 description: 'The URL of the CORD Project repository'
566
567 - string:
568 name: configBaseDir
569 default: 'pod-configs'
570 description: 'The directory inside the POD configs repository'
571
572 - string:
573 name: configDeploymentDir
574 default: 'deployment-configs'
575 description: 'The deployment configs folder'
576
577 - string:
578 name: configKubernetesDir
579 default: 'kubernetes-configs'
580 description: 'The kubernetes config folder'
581
582 - string:
583 name: configToscaDir
584 default: 'tosca-configs'
585 description: 'The tosca config folder'
586
587 - string:
588 name: configFileName
589 default: '{config-pod}'
590 description: 'The config file'
591
592 - string:
593 name: profile
594 default: '{profile}'
595 description: 'Technology Profile pushed to the ETCD'
596
597 - string:
598 name: branch
599 default: '{branch}'
600 description: 'Branch of the test libraries to check out'
601
602 - string:
603 name: manifestUrl
604 default: '{manifest-url}'
605 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
606
607 - string:
608 name: manifestBranch
609 default: '{manifest-branch}'
610 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
611
612 - string:
613 name: workFlow
614 default: '{work-flow}'
615 description: 'Installs and uses the specified work flow on the POD'
616
617 - bool:
618 name: enableMultiUni
619 default: '{enableMultiUni}'
620 description: "Enables the Multi UNI feature"
621
622 - bool:
623 name: withFttb
624 default: '{withFttb}'
625 description: "Test with FTTB enabled"
626
627 - bool:
628 name: powerSwitch
629 default: '{power-switch}'
630 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
631
632 - bool:
633 name: powerCycleOlt
634 default: '{power-cycle-olt}'
635 description: "Indicate whether to reboot OLT through power switch"
636
637 - string:
638 name: oltAdapterAppLabel
639 default: '{oltAdapterAppLabel}'
640 description: 'OLT adapter pod name'
641
642 - string:
643 name: volthaSystemTestsChange
644 default: '{volthaSystemTestsChange}'
645 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
646
647 - string:
648 name: kindVolthaChange
649 default: '{kindVolthaChange}'
650 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
651
652 - string:
653 name: cordTesterChange
654 default: '{cordTesterChange}'
655 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
656
657 concurrent: true
658
659 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200660 pipeline-scm:
661 script-path: jjb/pipeline/{pipeline-script}
662 scm:
663 - ci-management
Joey Armstrong9fbc0da2023-03-01 15:37:38 -0500664
665 triggers:
666 - reverse:
667 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
668 result: 'success'
669
670# -----------------------------------------------------------------------
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700671# VOLTHA Soak Test Job
672# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500673# -----------------------------------------------------------------------
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700674- job-template:
675 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
676 id: build_voltha_pod_soak_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100677 disabled: '{disable-job}'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700678 description: |
679 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
680 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500681 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400682 UUID: 798f0064-4058-11ee-b70f-2fee4c7dfce6 <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500683 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700684
685 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolo5e7bd1d2021-07-16 13:29:42 -0700686 pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy'
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700687 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
688 manifest-branch: 'master'
689
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100690 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000691 timeout: 240
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100692
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700693 parameters:
694 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000695 name: timeout
696 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000697 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000698
699 - string:
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700700 name: buildNode
701 default: '{build-node}'
702 description: 'Name of the Jenkins executor node to run the job on'
703
704 - string:
705 name: TestNodeName
706 default: '{build-node}'
707 description: 'DEPRECATED - use buildNode instead'
708
709 - string:
710 name: cordRepoUrl
711 default: '{gerrit-server-url}'
712 description: 'The URL of the CORD Project repository'
713
714 - string:
715 name: configBaseDir
716 default: 'pod-configs'
717 description: 'The directory inside the POD configs repository'
718
719 - string:
720 name: configDeploymentDir
721 default: 'deployment-configs'
722 description: 'The deployment configs folder'
723
724 - string:
725 name: configKubernetesDir
726 default: 'kubernetes-configs'
727 description: 'The kubernetes config folder'
728
729 - string:
730 name: configToscaDir
731 default: 'tosca-configs'
732 description: 'The tosca config folder'
733
734 - string:
735 name: configFileName
736 default: '{config-pod}'
737 description: 'The config file'
738
739 - string:
740 name: profile
741 default: '{profile}'
742 description: 'Technology Profile pushed to the ETCD'
743
744 - string:
745 name: branch
746 default: '{branch}'
747 description: 'Branch of the test libraries to check out'
748
749 - string:
750 name: manifestUrl
751 default: '{manifest-url}'
752 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
753
754 - string:
755 name: manifestBranch
756 default: '{manifest-branch}'
757 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
758
759 - string:
760 name: workFlow
761 default: '{work-flow}'
762 description: 'Installs and uses the specified work flow on the POD'
763
764 - bool:
765 name: powerSwitch
766 default: '{power-switch}'
767 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
768
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000769 - bool:
770 name: powerCycleOlt
771 default: '{power-cycle-olt}'
772 description: "Indicate whether to reboot OLT through power switch"
773
Suchitra Vemurie6625222020-09-01 17:12:56 -0700774 - string:
Andrea Campanella0d3110c2021-01-20 12:25:45 +0100775 name: oltAdapterAppLabel
776 default: '{oltAdapterAppLabel}'
777 description: 'OLT adapter pod name'
778
779 - string:
Suchitra Vemurie6625222020-09-01 17:12:56 -0700780 name: testType
781 default: '{test-type}'
782 description: 'Passes the required test category to the groovy script'
783
Suchitra Vemurie3bb90d2020-09-15 17:15:50 -0700784 - string:
785 name: volthaSystemTestsChange
786 default: '{volthaSystemTestsChange}'
787 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
788
789 - string:
790 name: kindVolthaChange
791 default: '{kindVolthaChange}'
792 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
793
794 - string:
795 name: cordTesterChange
796 default: '{cordTesterChange}'
797 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 -0500798
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700799 concurrent: true
800
801 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200802 pipeline-scm:
803 script-path: jjb/pipeline/{pipeline-script}
804 scm:
805 - ci-management
Suchitra Vemuri0921c752020-08-31 22:58:50 -0700806
807 triggers:
808 - timed: |
809 TZ=America/Los_Angeles
810 {time-trigger}
Hardik Windlass77221c62021-05-21 06:24:35 +0000811
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500812# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000813# VOLTHA Manual Test Job
814# This job is triggered manually
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500815# -----------------------------------------------------------------------
Hardik Windlass77221c62021-05-21 06:24:35 +0000816- job-template:
817 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test'
818 id: build_voltha_pod_manual_test
819 disabled: '{disable-job}'
820 description: |
821 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
822 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500823 Created by (Suchitra Vemuri) <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400824 UUID: 873eb92a-4058-11ee-8298-33472e0ccae4 <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500825 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500826
Hardik Windlass77221c62021-05-21 06:24:35 +0000827 <<: *voltha-pipe-job-boiler-plate
Matteo Scandolo5e7bd1d2021-07-16 13:29:42 -0700828 pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy'
Hardik Windlass77221c62021-05-21 06:24:35 +0000829 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
830 manifest-branch: 'master'
831
832 oltAdapterAppLabel: 'adapter-open-olt'
Hardik Windlass6598b032021-07-02 10:12:01 +0000833 enableMultiUni: false
Hardik Windlass9ed73662021-09-02 11:06:21 +0000834 timeout: 240
Hardik Windlass77221c62021-05-21 06:24:35 +0000835
836 parameters:
837 - string:
Hardik Windlass9ed73662021-09-02 11:06:21 +0000838 name: timeout
839 default: '{timeout}'
Hardik Windlassd0f01662021-09-03 08:07:15 +0000840 description: 'Job pipeline timeout value [minutes]'
Hardik Windlass9ed73662021-09-02 11:06:21 +0000841
842 - string:
Hardik Windlass77221c62021-05-21 06:24:35 +0000843 name: buildNode
844 default: '{build-node}'
845 description: 'Name of the Jenkins executor node to run the job on'
846
847 - string:
848 name: TestNodeName
849 default: '{build-node}'
850 description: 'DEPRECATED - use buildNode instead'
851
852 - string:
853 name: cordRepoUrl
854 default: '{gerrit-server-url}'
855 description: 'The URL of the CORD Project repository'
856
857 - string:
858 name: configBaseDir
859 default: 'pod-configs'
860 description: 'The directory inside the POD configs repository'
861
862 - string:
863 name: configDeploymentDir
864 default: 'deployment-configs'
865 description: 'The deployment configs folder'
866
867 - string:
868 name: configKubernetesDir
869 default: 'kubernetes-configs'
870 description: 'The kubernetes config folder'
871
872 - string:
873 name: configToscaDir
874 default: 'tosca-configs'
875 description: 'The tosca config folder'
876
877 - string:
878 name: configFileName
879 default: '{config-pod}'
880 description: 'The config file'
881
882 - string:
883 name: profile
884 default: '{profile}'
885 description: 'Technology Profile pushed to the ETCD'
886
887 - string:
888 name: branch
889 default: '{branch}'
890 description: 'Branch of the test libraries to check out'
891
892 - string:
893 name: manifestUrl
894 default: '{manifest-url}'
895 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
896
897 - string:
898 name: manifestBranch
899 default: '{manifest-branch}'
900 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
901
902 - string:
903 name: workFlow
904 default: '{work-flow}'
905 description: 'Installs and uses the specified work flow on the POD'
906
907 - bool:
908 name: powerSwitch
909 default: '{power-switch}'
910 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
911
Hardik Windlass6598b032021-07-02 10:12:01 +0000912 - bool:
Hardik Windlass28a7bd02022-04-12 13:14:54 +0000913 name: powerCycleOlt
914 default: '{power-cycle-olt}'
915 description: "Indicate whether to reboot OLT through power switch"
916
917 - bool:
Hardik Windlass6598b032021-07-02 10:12:01 +0000918 name: enableMultiUni
919 default: '{enableMultiUni}'
920 description: "Enables the Multi UNI feature"
921
Hardik Windlass77221c62021-05-21 06:24:35 +0000922 - string:
923 name: oltAdapterAppLabel
924 default: '{oltAdapterAppLabel}'
925 description: 'OLT adapter pod name'
926
927 - string:
928 name: testType
929 default: '{test-type}'
930 description: 'Passes the required test category to the groovy script'
931
932 - string:
933 name: volthaSystemTestsChange
934 default: '{volthaSystemTestsChange}'
935 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
936
937 - string:
938 name: kindVolthaChange
939 default: '{kindVolthaChange}'
940 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
941
942 - string:
943 name: cordTesterChange
944 default: '{cordTesterChange}'
945 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
946 concurrent: true
947
948 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +0200949 pipeline-scm:
950 script-path: jjb/pipeline/{pipeline-script}
951 scm:
952 - ci-management
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000953
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500954# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000955# VOLTHA DMI Test Job
956# This job is triggered by a timer defined in the job
Joey Armstrong4c6bb422022-12-02 10:40:21 -0500957# -----------------------------------------------------------------------
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000958- job-template:
959 name: 'verify_{config-pod}_{profile}{name-extension}_voltha_{release}_dmi'
960 id: verify_voltha_pod_dmi_test
961 disabled: '{disable-job}'
962 description: |
963 Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br />
964 Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br />
Joey Armstrong5704e5a2022-11-14 12:20:41 -0500965 Created by QA (Suchitra Vemuri) <br />
Joey Armstrongbeef4cd2023-01-18 09:59:58 -0500966 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000967
968 <<: *voltha-pipe-job-boiler-plate
969 # default values
970 pipeline-script: 'voltha/master/dmi-build-and-test.groovy'
Hardik Windlass230fca62022-05-04 08:50:35 +0530971 installVolthaInfra: true
972 installVolthaStack: true
Hardik Windlass36d5bdb2022-02-09 10:13:13 +0000973 VolthaEtcdPort: 2379
974 num-of-openonu: 1
975 num-of-onos: 3
976 num-of-atomix: 3
977 num-of-kafka: 3
978 num-of-etcd: 3
979 test-repo: 'voltha-system-tests'
980 release: 'master'
981 name-extension: ''
982 branch: 'master'
983 configurePod: true
984 volthaHelmChartsChange: ''
985 profile: 'Default'
986 logLevel: 'DEBUG'
987 enableMultiUni: false
988 uniPortMask: '0x0001'
989 bbsimReplicas: 0
990 num-of-onus: 0
991 num-of-ponports: 0
992 extraHelmFlags: ''
993 dmiChart: ''
994 OltDevMgr: ''
995 openoltAdapterChart: onf/voltha-adapter-openolt
996 oltAdapterReleaseName: open-olt
997 waitTimerForOltUp: 360
998
999 parameters:
1000 - string:
1001 name: buildNode
1002 default: '{build-node}'
1003 description: 'Name of the Jenkins executor node to run the job on'
1004
1005 - string:
1006 name: TestNodeName
1007 default: '{build-node}'
1008 description: 'DEPRECATED - use buildNode instead'
1009
1010 - string:
1011 name: logLevel
1012 default: '{logLevel}'
1013 description: 'Log level for all the components'
1014
1015 - string:
1016 name: cordRepoUrl
1017 default: '{gerrit-server-url}'
1018 description: 'The URL of the CORD Project repository'
1019
1020 - string:
1021 name: configBaseDir
1022 default: 'pod-configs'
1023 description: 'The directory inside the POD configs repository'
1024
1025 - string:
1026 name: configDeploymentDir
1027 default: 'deployment-configs'
1028 description: 'The deployment configs folder'
1029
1030 - string:
1031 name: configKubernetesDir
1032 default: 'kubernetes-configs'
1033 description: 'The kubernetes config folder'
1034
1035 - string:
1036 name: configToscaDir
1037 default: 'tosca-configs'
1038 description: 'The tosca config folder'
1039
1040 - string:
1041 name: configFileName
1042 default: '{config-pod}'
1043 description: 'The config file'
1044
1045 - string:
1046 name: profile
1047 default: '{profile}'
1048 description: 'Technology Profile pushed to the ETCD'
1049
1050 - string:
1051 name: helmRepoUrl
1052 default: 'https://charts.opencord.org'
1053 description: 'URL where helm-charts are published'
1054
1055 - string:
1056 name: branch
1057 default: '{branch}'
1058
1059 - string:
1060 name: workFlow
1061 default: '{work-flow}'
1062 description: 'Installs and uses the specified work flow on the POD'
1063
Hardik Windlassace19e52022-02-10 09:36:21 +00001064 - bool:
Hardik Windlass230fca62022-05-04 08:50:35 +05301065 name: installVolthaInfra
1066 default: '{installVolthaInfra}'
1067 description: "Whether to install VOLTHA Infra"
1068
1069 - bool:
1070 name: installVolthaStack
1071 default: '{installVolthaStack}'
1072 description: "Whether to install VOLTHA Stack"
Hardik Windlassace19e52022-02-10 09:36:21 +00001073
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001074 - string:
1075 name: extraHelmFlags
1076 default: '{extraHelmFlags}'
1077 description: 'Helm flags (passed to each deployment)'
1078
1079 - string:
1080 name: dmiChart
1081 default: '{dmiChart}'
1082 description: 'Device Management Interface Helm Chart'
1083
1084 - string:
1085 name: OltDevMgr
1086 default: '{OltDevMgr}'
1087 description: 'OLT Device Manager App Name'
1088
1089 # openonu-go only supports a single replica, remove after 2.8
1090 - string:
1091 name: NumOfOpenOnu
1092 default: '{num-of-openonu}'
1093 description: 'Installs the specified Number of OpenOnu Adapters'
1094
1095 - string:
1096 name: NumOfOnos
1097 default: '{num-of-onos}'
1098 description: 'Installs the specified Number of ONOS instances'
1099
1100 - bool:
1101 name: enableMultiUni
1102 default: '{enableMultiUni}'
1103 description: "Enables the Multi UNI feature"
1104
1105 - string:
1106 name: uniPortMask
1107 default: '{uniPortMask}'
1108 description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF'
1109
1110 - string:
1111 name: bbsimReplicas
1112 default: '{bbsimReplicas}'
1113 description: 'Installs the specified Number of BBSim Instances'
1114
1115 - string:
1116 name: onuNumber
1117 default: '{num-of-onus}'
1118 description: "Onus per PonPort"
1119
1120 - string:
1121 name: ponNumber
1122 default: '{num-of-ponports}'
1123 description: "Number of PON Ports"
1124
1125 - string:
1126 name: NumOfAtomix
1127 default: '{num-of-atomix}'
1128 description: 'Installs the specified Number of Atomix Instances'
1129
1130 - string:
1131 name: NumOfKafka
1132 default: '{num-of-kafka}'
1133 description: 'Installs the specified Number of Kafka Instances'
1134
1135 - string:
1136 name: NumOfEtcd
1137 default: '{num-of-etcd}'
1138 description: 'Installs the specified Number of Etcd Instances'
1139
1140 - bool:
1141 name: configurePod
1142 default: true
1143 description: "Configure POD via TOSCA post build"
1144
1145 - bool:
1146 name: reinstallOlt
1147 default: '{reinstall-olt}'
1148 description: "Re-install olt software bringing up CORD"
1149
1150 - bool:
1151 name: restartOlt
1152 default: '{restart-olt}'
1153 description: "Re-install olt software bringing up CORD"
1154
1155 - string:
1156 name: VolthaEtcdPort
1157 default: '{VolthaEtcdPort}'
1158 description: 'Localhost port that is forwarded to VOLTHA etcd'
1159
1160 - bool:
1161 name: inBandManagement
1162 default: '{in-band-management}'
1163 description: 'Indicates whether POD is configured for in band management'
1164
1165 - string:
1166 name: volthaSystemTestsChange
1167 default: '{volthaSystemTestsChange}'
1168 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1169
1170 - string:
1171 name: volthaHelmChartsChange
1172 default: '{volthaHelmChartsChange}'
1173 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
1174
1175 # this is used in the Adtran DT job
1176 - string:
1177 name: openoltAdapterChart
1178 default: '{openoltAdapterChart}'
1179 description: 'Olt adapter chart name (or location on file system)'
1180
1181 # this is used in the Adtran DT job
1182 - string:
1183 name: oltAdapterReleaseName
1184 default: '{oltAdapterReleaseName}'
1185 description: 'Olt adapter release name'
1186
1187 - string:
1188 name: waitTimerForOltUp
1189 default: '{waitTimerForOltUp}'
1190 description: 'Wait timer for the OLT to come up after reboot'
1191
1192 concurrent: true
1193 project-type: pipeline
Jan Klare390cee12023-09-11 15:13:43 +02001194 pipeline-scm:
1195 script-path: jjb/pipeline/{pipeline-script}
1196 scm:
1197 - ci-management
Hardik Windlass36d5bdb2022-02-09 10:13:13 +00001198
1199 triggers:
1200 - timed: |
1201 TZ=America/Los_Angeles
1202 H {time} * * *
Joey Armstrongca4cb462023-01-12 17:51:05 -05001203# [EOF]
Joey Armstrongaf679da2023-01-31 14:22:41 -05001204
1205# [EOF]