blob: f252d652ae73ae750510dd65b73a0819ebd6e25d [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
8
9 jobs:
hwchiu14f97852019-10-08 10:51:11 -070010 - 'voltha-periodic-test':
Andy Bavier218385e2019-11-13 09:51:38 -070011 name: 'periodic-voltha-sanity-test'
Andy Bavier4c8b3232019-11-22 16:17:47 -070012 build-node: 'qct-pod4-node2'
Andy Bavieraaa60f72019-09-20 09:11:21 -070013 default-image-tag: 'master'
Andy Bavier4c8b3232019-11-22 16:17:47 -070014 code-branch: 'master'
Andy Bavier218385e2019-11-13 09:51:38 -070015 make-target: sanity-multi-kind
16 onus: 2
17 pons: 2
18 time-trigger: "H H/3 * * *"
19
20 - 'voltha-periodic-test':
hwchiufdc49242019-11-18 16:37:22 -080021 name: 'periodic-voltha-system-test'
22 pipeline-script: 'voltha-system-test-bbsim.groovy'
hwchiuc7d5d032019-12-03 16:42:47 -080023 build-node: 'ubuntu16.04-basebuild-4c-8g'
hwchiufdc49242019-11-18 16:37:22 -080024 default-image-tag: 'master'
hwchiuc9189b72019-12-02 15:12:29 -080025 code-branch: 'master'
hwchiuc7d5d032019-12-03 16:42:47 -080026 make-target: sanity-single-kind
hwchiufdc49242019-11-18 16:37:22 -080027 onus: 2
28 pons: 2
29 time-trigger: "H H/12 * * *"
30
31 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -070032 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -070033 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -070034 build-node: 'qct-pod4-node2'
35 default-image-tag: 'master'
36 code-branch: 'master'
Andy Bavier4a02b232020-01-09 14:50:30 -070037 make-target: sanity-multi-kind
38 onus: 2
39 pons: 2
Andy Bavier3708d072019-12-10 15:22:18 -070040 test-runs: 5
41 time-trigger: "H H/3 * * *"
42
43 - 'voltha-periodic-test':
Andy Bavier218385e2019-11-13 09:51:38 -070044 name: 'periodic-voltha-scale-test'
Andy Bavier4c8b3232019-11-22 16:17:47 -070045 build-node: 'qct-pod4-node2'
Andy Bavier218385e2019-11-13 09:51:38 -070046 default-image-tag: 'master'
Andy Bavier4c8b3232019-11-22 16:17:47 -070047 code-branch: 'master'
Andy Bavier218385e2019-11-13 09:51:38 -070048 make-target: scale-multi-kind
49 onus: 2
50 pons: 8
Andy Bavier3708d072019-12-10 15:22:18 -070051 robot-args: '-v teardown_device:False'
Andy Bavier218385e2019-11-13 09:51:38 -070052 time-trigger: "H H/3 * * *"
Kailashaad71012019-08-27 10:36:53 -070053
Andy Bavierbf68c5e2019-10-25 15:05:28 -070054 # Per-patchset Pod builds on Tucson pod
Andy Bavier51ba7e82019-12-17 11:01:01 -070055 - 'verify_physical_voltha_patchset_auto':
56 name: 'verify_physical_voltha_patchset_auto'
57 testvm: 'tucson-pod'
58 config-pod: 'tucson-pod'
59 branch: 'master'
60 oltDebVersion: 'openolt_asfvolt16.deb'
61 profile: 'Default'
62 withPatchset: true
63
64 # Per-patchset Pod builds on Tucson pod
65 - 'verify_physical_voltha_patchset_manual':
66 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -070067 testvm: 'tucson-pod'
68 config-pod: 'tucson-pod'
69 branch: 'master'
Andy Bavierfc4dcc42019-11-18 15:33:52 -070070 oltDebVersion: 'openolt_asfvolt16.deb'
Andy Bavierbf68c5e2019-10-25 15:05:28 -070071 profile: 'Default'
Andy Bavier19c98a22019-11-11 13:57:11 -070072 withPatchset: true
73
74 # Manual build job for Tucson pod
75 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -070076 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -070077 name: 'build_tucson-pod_manual'
78 testvm: 'tucson-pod'
79 config-pod: 'tucson-pod'
80 branch: 'master'
Andy Bavierfc4dcc42019-11-18 15:33:52 -070081 oltDebVersion: 'openolt_asfvolt16.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -070082 profile: 'Default'
83 withPatchset: false
Andy Bavierbf68c5e2019-10-25 15:05:28 -070084
Kailash8b8de742019-07-30 08:54:51 -070085- job-template:
Kailashaad71012019-08-27 10:36:53 -070086 id: 'voltha-periodic-test'
87 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -070088 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -070089 test-runs: 1
90 robot-args: ''
Kailash8b8de742019-07-30 08:54:51 -070091
92 description: |
93 <!-- Managed by Jenkins Job Builder -->
94 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
95 E2E Validation for Voltha 2.X
96
97 properties:
98 - cord-infra-properties:
99 build-days-to-keep: '{build-days-to-keep}'
100 artifact-num-to-keep: '{artifact-num-to-keep}'
101
102 wrappers:
103 - lf-infra-wrappers:
104 build-timeout: '{build-timeout}'
105 jenkins-ssh-credential: '{jenkins-ssh-credential}'
106
107 parameters:
108 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700109 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700110 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700111 description: 'Name of the Jenkins node to run the job on'
112
113 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700114 name: extraHelmFlags
Andy Bavier218385e2019-11-13 09:51:38 -0700115 default: '--set defaults.image_tag={default-image-tag},onu={onus},pon={pons}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700116 description: 'Helm flags to pass to ./voltha up'
117
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700118 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700119 name: makeTarget
120 default: '{make-target}'
121 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700122
Andy Bavier4c8b3232019-11-22 16:17:47 -0700123 - string:
124 name: manifestUrl
125 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
126 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
127
128 - string:
129 name: manifestBranch
130 default: '{code-branch}'
131 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
132
Andy Bavier3708d072019-12-10 15:22:18 -0700133 - string:
134 name: testRuns
135 default: '{test-runs}'
136 description: 'How many times to repeat the tests'
137
138 - string:
139 name: extraRobotArgs
140 default: '{robot-args}'
141 description: 'Arguments to pass to robot'
142
143
Kailash8b8de742019-07-30 08:54:51 -0700144 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700145 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700146
Zack Williamsb3292082019-10-11 17:15:18 -0700147 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700148
149 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700150 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700151 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700152 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700153
154- job-template:
155 id: 'voltha-patch-test'
Andy Bavier4f7fbea2019-11-21 14:38:47 -0700156 name: 'verify_{project}_sanity-test'
157 extra-helm-flags: '--set defaults.image_tag=$GERRIT_BRANCH'
Kailashaad71012019-08-27 10:36:53 -0700158
159 description: |
160 <!-- Managed by Jenkins Job Builder -->
161 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
162 E2E Validation for Voltha 2.X
163
164 properties:
165 - cord-infra-properties:
166 build-days-to-keep: '{build-days-to-keep}'
167 artifact-num-to-keep: '{artifact-num-to-keep}'
168
169 wrappers:
170 - lf-infra-wrappers:
171 build-timeout: '{build-timeout}'
172 jenkins-ssh-credential: '{jenkins-ssh-credential}'
173
174 parameters:
175 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700176 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700177 default: 'ubuntu16.04-basebuild-4c-8g'
178 description: 'Name of the Jenkins node to run the job on'
179
180 - string:
181 name: manifestUrl
182 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
183 description: 'URL to the repo manifest'
184
185 - string:
hwchiu14f97852019-10-08 10:51:11 -0700186 name: manifestBranch
187 default: '$GERRIT_BRANCH'
188 description: 'Name of the repo branch to use'
Kailashaad71012019-08-27 10:36:53 -0700189
190 - string:
hwchiu14f97852019-10-08 10:51:11 -0700191 name: gerritProject
192 default: '$GERRIT_PROJECT'
193 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700194
195 - string:
hwchiu14f97852019-10-08 10:51:11 -0700196 name: gerritChangeNumber
197 default: '$GERRIT_CHANGE_NUMBER'
198 description: 'Changeset number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700199
200 - string:
hwchiu14f97852019-10-08 10:51:11 -0700201 name: gerritPatchsetNumber
202 default: '$GERRIT_PATCHSET_NUMBER'
203 description: 'PatchSet number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700204
205 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700206 name: extraHelmFlags
Andy Bavier4f7fbea2019-11-21 14:38:47 -0700207 default: '{extra-helm-flags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700208 description: 'Helm flags to pass to ./voltha up'
209
Kailashaad71012019-08-27 10:36:53 -0700210 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700211 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700212
Zack Williamsb3292082019-10-11 17:15:18 -0700213 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700214
215 triggers:
216 - cord-infra-gerrit-trigger-patchset:
217 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700218 project-regexp: '^{project}$'
219 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700220 dependency-jobs: '{dependency-jobs}'
221 file-include-regexp: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700222
223# POD Per Patchset Pipeline Jobs
224
Andy Bavier51ba7e82019-12-17 11:01:01 -0700225
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700226- job-template:
Andy Bavier19c98a22019-11-11 13:57:11 -0700227 name: '{name}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700228 id: verify_physical_voltha_patchset_auto
229 description: |
230 <!-- Managed by Jenkins Job Builder -->
231 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
232 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
233 Created by Andy Bavier, andy@opennetworking.org <br />
234 Copyright (c) 2019 Open Networking Foundation (ONF)
235 project-type: pipeline
236 sandbox: true
237 pipeline-script: 'voltha-physical-build-and-tests.groovy'
238
239 properties:
240 - cord-infra-properties:
241 build-days-to-keep: '{build-days-to-keep}'
242 artifact-num-to-keep: '{artifact-num-to-keep}'
243
244 parameters:
245 - string:
246 name: buildNode
247 default: '{testvm}'
248 description: 'Pod management node'
249
250 - string:
251 name: manifestUrl
252 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
253 description: 'URL to the repo manifest'
254
255 - string:
256 name: manifestBranch
257 default: '$GERRIT_BRANCH'
258 description: 'Name of the repo branch to use'
259
260 - string:
261 name: gerritProject
262 default: '$GERRIT_PROJECT'
263 description: 'Name of the Gerrit project'
264
265 - string:
266 name: gerritChangeNumber
267 default: '$GERRIT_CHANGE_NUMBER'
268 description: 'Changeset number in Gerrit'
269
270 - string:
271 name: gerritPatchsetNumber
272 default: '$GERRIT_PATCHSET_NUMBER'
273 description: 'PatchSet number in Gerrit'
274
275 - string:
276 name: cordRepoUrl
277 default: '{gerrit-server-url}'
278 description: 'The URL of the CORD Project repository'
279
280 - string:
281 name: podName
282 default: '{config-pod}'
283
284 - string:
285 name: deploymentConfigFile
286 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
287 description: 'Path of deployment config file'
288
289 - string:
290 name: kindVolthaValuesFile
291 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
292 description: 'Path of kind-voltha values override file'
293
294 - string:
295 name: sadisConfigFile
296 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
297 description: 'Path of SADIS config to load'
298
299 - string:
300 name: localConfigDir
301 default: null
302 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
303
304 - string:
305 name: configRepo
306 default: 'pod-configs'
307 description: 'A repository containing the config files, will be checked out if specified'
308
309 - string:
310 name: oltDebVersion
311 default: '{oltDebVersion}'
312 description: 'OLT Software version to install'
313
314 - string:
315 name: branch
316 default: '{branch}'
317
318 - string:
319 name: profile
320 default: '{profile}'
321 description: 'Technology Profile pushed to the ETCD'
322
323 - string:
324 name: notificationEmail
325 default: 'andy@opennetworking.org'
326 description: ''
327
328 - bool:
329 name: reinstallOlt
330 default: true
331 description: "Re-install OLT software"
332
333 - bool:
334 name: withPatchset
335 default: true
336 description: "Build with Gerrit patchset"
337
338 - string:
339 name: extraRobotArgs
340 default: '-i sanity'
341 description: 'Arguments to pass to robot'
342
343 project-type: pipeline
344 concurrent: true
345
346 dsl: !include-raw-escape: pipeline/{pipeline-script}
347
348 triggers:
349 - gerrit:
350 server-name: '{gerrit-server-name}'
351 dependency-jobs: '{dependency-jobs}'
352 silent-start: false
353 successful-message: "PASSED hardware test"
354 failure-message: "FAILED hardware test"
355 unstable-message: "UNSTABLE hardware test"
356 trigger-on:
357 - comment-added-event:
358 approval-category: 'Code-Review'
359 approval-value: '+2'
360 projects:
361 - project-compare-type: REG_EXP
362 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter)$'
363 branches:
364 - branch-compare-type: PLAIN
365 branch-pattern: 'master'
366
367
368- job-template:
369 name: '{name}'
370 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700371 description: |
372 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700373 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700374 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700375 Created by Andy Bavier, andy@opennetworking.org <br />
376 Copyright (c) 2019 Open Networking Foundation (ONF)
377 project-type: pipeline
378 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700379 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700380
381 properties:
382 - cord-infra-properties:
383 build-days-to-keep: '{build-days-to-keep}'
384 artifact-num-to-keep: '{artifact-num-to-keep}'
385
386 parameters:
387 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700388 name: buildNode
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700389 default: '{testvm}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700390 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700391
392 - string:
393 name: manifestUrl
394 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
395 description: 'URL to the repo manifest'
396
397 - string:
398 name: manifestBranch
399 default: '$GERRIT_BRANCH'
400 description: 'Name of the repo branch to use'
401
402 - string:
403 name: gerritProject
404 default: '$GERRIT_PROJECT'
405 description: 'Name of the Gerrit project'
406
407 - string:
408 name: gerritChangeNumber
409 default: '$GERRIT_CHANGE_NUMBER'
410 description: 'Changeset number in Gerrit'
411
412 - string:
413 name: gerritPatchsetNumber
414 default: '$GERRIT_PATCHSET_NUMBER'
415 description: 'PatchSet number in Gerrit'
416
417 - string:
418 name: cordRepoUrl
419 default: '{gerrit-server-url}'
420 description: 'The URL of the CORD Project repository'
421
422 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700423 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700424 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700425
426 - string:
427 name: deploymentConfigFile
428 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
429 description: 'Path of deployment config file'
430
431 - string:
432 name: kindVolthaValuesFile
433 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
434 description: 'Path of kind-voltha values override file'
435
436 - string:
437 name: sadisConfigFile
438 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
439 description: 'Path of SADIS config to load'
440
441 - string:
442 name: localConfigDir
443 default: null
444 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
445
446 - string:
447 name: configRepo
448 default: 'pod-configs'
449 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700450
451 - string:
452 name: oltDebVersion
453 default: '{oltDebVersion}'
454 description: 'OLT Software version to install'
455
456 - string:
457 name: branch
458 default: '{branch}'
459
460 - string:
461 name: profile
462 default: '{profile}'
463 description: 'Technology Profile pushed to the ETCD'
464
465 - string:
466 name: notificationEmail
467 default: 'andy@opennetworking.org'
468 description: ''
469
470 - bool:
471 name: reinstallOlt
472 default: true
473 description: "Re-install OLT software"
474
Andy Bavier19c98a22019-11-11 13:57:11 -0700475 - bool:
476 name: withPatchset
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700477 default: true
478 description: "Build with Gerrit patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700479
Andy Bavier8c11d462019-12-17 08:19:34 -0700480 - string:
481 name: extraRobotArgs
482 default: '-i sanity'
483 description: 'Arguments to pass to robot'
484
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700485 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700486 concurrent: true
487
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700488 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700489
Andy Bavier1f465592019-11-06 10:03:56 -0700490 triggers:
491 - gerrit:
492 server-name: '{gerrit-server-name}'
493 dependency-jobs: '{dependency-jobs}'
494 silent-start: false
495 successful-message: "PASSED hardware test"
496 failure-message: "FAILED hardware test"
497 unstable-message: "UNSTABLE hardware test"
498 trigger-on:
499 - comment-added-contains-event:
500 comment-contains-value: '^hardware test$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800501 - comment-added-contains-event:
502 comment-contains-value: '^hardware test with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700503 projects:
504 - project-compare-type: REG_EXP
Matteo Scandolo70800a32020-01-06 11:55:27 -0800505 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server|voltha-system-tests|ofagent-py|voltha-onos)$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700506 branches:
507 - branch-compare-type: PLAIN
508 branch-pattern: 'master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700509
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700510
511- job-template:
512 name: '{name}'
513 id: build_physical_voltha_manual
514 description: |
515 <!-- Managed by Jenkins Job Builder -->
516 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
517 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
518 Created by Andy Bavier, andy@opennetworking.org <br />
519 Copyright (c) 2019 Open Networking Foundation (ONF)
520 project-type: pipeline
521 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700522 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700523
524 properties:
525 - cord-infra-properties:
526 build-days-to-keep: '{build-days-to-keep}'
527 artifact-num-to-keep: '{artifact-num-to-keep}'
528
529 parameters:
530 - string:
531 name: buildNode
532 default: '{testvm}'
533 description: 'Pod management node'
534
535 - string:
536 name: manifestUrl
537 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
538 description: 'URL to the repo manifest'
539
540 - string:
541 name: manifestBranch
Andy Bavier06d816c2019-11-19 11:40:48 -0700542 default: 'master'
543 description: 'Name of the repo branch to use (change to $GERRIT_BRANCH if testing a patchset)'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700544
545 - string:
546 name: gerritProject
547 default: '$GERRIT_PROJECT'
548 description: 'Name of the Gerrit project'
549
550 - string:
551 name: gerritChangeNumber
552 default: '$GERRIT_CHANGE_NUMBER'
553 description: 'Changeset number in Gerrit'
554
555 - string:
556 name: gerritPatchsetNumber
557 default: '$GERRIT_PATCHSET_NUMBER'
558 description: 'PatchSet number in Gerrit'
559
560 - string:
561 name: cordRepoUrl
562 default: '{gerrit-server-url}'
563 description: 'The URL of the CORD Project repository'
564
565 - string:
566 name: podName
567 default: '{config-pod}'
568
569 - string:
570 name: deploymentConfigFile
571 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
572 description: 'Path of deployment config file'
573
574 - string:
575 name: kindVolthaValuesFile
576 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
577 description: 'Path of kind-voltha values override file'
578
579 - string:
580 name: sadisConfigFile
581 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
582 description: 'Path of SADIS config to load'
583
584 - string:
585 name: localConfigDir
586 default: null
587 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
588
589 - string:
590 name: configRepo
591 default: 'pod-configs'
592 description: 'A repository containing the config files, will be checked out if specified'
593
594 - string:
595 name: oltDebVersion
596 default: '{oltDebVersion}'
597 description: 'OLT Software version to install'
598
599 - string:
600 name: branch
601 default: '{branch}'
602
603 - string:
604 name: profile
605 default: '{profile}'
606 description: 'Technology Profile pushed to the ETCD'
607
608 - string:
609 name: notificationEmail
610 default: 'andy@opennetworking.org'
611 description: ''
612
613 - bool:
614 name: reinstallOlt
615 default: false
616 description: "Re-install OLT software"
617
618 - bool:
619 name: withPatchset
620 default: false
621 description: "Build with Gerrit patchset"
622
Andy Bavier8c11d462019-12-17 08:19:34 -0700623 - string:
624 name: extraRobotArgs
625 default: '-e bbsim'
626 description: 'Arguments to pass to robot'
627
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700628 project-type: pipeline
629 concurrent: true
630
631 dsl: !include-raw-escape: pipeline/{pipeline-script}