blob: 0b0034c19b58a8b3e22bbb4b53ec72e19b5e490f [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':
Andy Bavierd4ba3372020-01-21 17:01:53 -070021 name: 'periodic-voltha-functional-test'
Andy Bavierf93f3142020-01-09 16:08:51 -070022 build-node: 'qct-pod4-node2'
23 default-image-tag: 'master'
24 code-branch: 'master'
Andy Bavierd4ba3372020-01-21 17:01:53 -070025 make-target: functional-single-kind
Andy Bavierf93f3142020-01-09 16:08:51 -070026 onus: 1
27 pons: 1
Andy Bavierd4ba3372020-01-21 17:01:53 -070028 time-trigger: "H H/12 * * *"
Andy Bavierf93f3142020-01-09 16:08:51 -070029
30 - 'voltha-periodic-test':
hwchiufdc49242019-11-18 16:37:22 -080031 name: 'periodic-voltha-system-test'
32 pipeline-script: 'voltha-system-test-bbsim.groovy'
hwchiuc7d5d032019-12-03 16:42:47 -080033 build-node: 'ubuntu16.04-basebuild-4c-8g'
hwchiufdc49242019-11-18 16:37:22 -080034 default-image-tag: 'master'
hwchiuc9189b72019-12-02 15:12:29 -080035 code-branch: 'master'
hwchiuc7d5d032019-12-03 16:42:47 -080036 make-target: sanity-single-kind
hwchiufdc49242019-11-18 16:37:22 -080037 onus: 2
38 pons: 2
39 time-trigger: "H H/12 * * *"
40
41 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -070042 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -070043 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -070044 build-node: 'qct-pod4-node2'
45 default-image-tag: 'master'
46 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -070047 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -070048 onus: 1
49 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -070050 test-runs: 5
51 time-trigger: "H H/3 * * *"
52
53 - 'voltha-periodic-test':
Andy Bavier218385e2019-11-13 09:51:38 -070054 name: 'periodic-voltha-scale-test'
Andy Bavier4c8b3232019-11-22 16:17:47 -070055 build-node: 'qct-pod4-node2'
Andy Bavier218385e2019-11-13 09:51:38 -070056 default-image-tag: 'master'
Andy Bavier4c8b3232019-11-22 16:17:47 -070057 code-branch: 'master'
Andy Bavier218385e2019-11-13 09:51:38 -070058 make-target: scale-multi-kind
59 onus: 2
60 pons: 8
61 time-trigger: "H H/3 * * *"
Kailashaad71012019-08-27 10:36:53 -070062
Andy Bavierbf68c5e2019-10-25 15:05:28 -070063 # Per-patchset Pod builds on Tucson pod
Andy Bavier51ba7e82019-12-17 11:01:01 -070064 - 'verify_physical_voltha_patchset_auto':
65 name: 'verify_physical_voltha_patchset_auto'
66 testvm: 'tucson-pod'
67 config-pod: 'tucson-pod'
68 branch: 'master'
69 oltDebVersion: 'openolt_asfvolt16.deb'
70 profile: 'Default'
71 withPatchset: true
72
73 # Per-patchset Pod builds on Tucson pod
74 - 'verify_physical_voltha_patchset_manual':
75 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -070076 testvm: 'tucson-pod'
77 config-pod: 'tucson-pod'
78 branch: 'master'
Andy Bavierfc4dcc42019-11-18 15:33:52 -070079 oltDebVersion: 'openolt_asfvolt16.deb'
Andy Bavierbf68c5e2019-10-25 15:05:28 -070080 profile: 'Default'
Andy Bavier19c98a22019-11-11 13:57:11 -070081 withPatchset: true
82
83 # Manual build job for Tucson pod
84 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -070085 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -070086 name: 'build_tucson-pod_manual'
87 testvm: 'tucson-pod'
88 config-pod: 'tucson-pod'
89 branch: 'master'
Andy Bavierfc4dcc42019-11-18 15:33:52 -070090 oltDebVersion: 'openolt_asfvolt16.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -070091 profile: 'Default'
92 withPatchset: false
Andy Bavierbf68c5e2019-10-25 15:05:28 -070093
Kailash8b8de742019-07-30 08:54:51 -070094- job-template:
Kailashaad71012019-08-27 10:36:53 -070095 id: 'voltha-periodic-test'
96 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -070097 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -070098 test-runs: 1
99 robot-args: ''
Kailash8b8de742019-07-30 08:54:51 -0700100
101 description: |
102 <!-- Managed by Jenkins Job Builder -->
103 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
104 E2E Validation for Voltha 2.X
105
106 properties:
107 - cord-infra-properties:
108 build-days-to-keep: '{build-days-to-keep}'
109 artifact-num-to-keep: '{artifact-num-to-keep}'
110
111 wrappers:
112 - lf-infra-wrappers:
113 build-timeout: '{build-timeout}'
114 jenkins-ssh-credential: '{jenkins-ssh-credential}'
115
116 parameters:
117 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700118 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700119 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700120 description: 'Name of the Jenkins node to run the job on'
121
122 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700123 name: extraHelmFlags
Andy Bavier218385e2019-11-13 09:51:38 -0700124 default: '--set defaults.image_tag={default-image-tag},onu={onus},pon={pons}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700125 description: 'Helm flags to pass to ./voltha up'
126
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700127 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700128 name: makeTarget
129 default: '{make-target}'
130 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700131
Andy Bavier4c8b3232019-11-22 16:17:47 -0700132 - string:
133 name: manifestUrl
134 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
135 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
136
137 - string:
138 name: manifestBranch
139 default: '{code-branch}'
140 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
141
Andy Bavier3708d072019-12-10 15:22:18 -0700142 - string:
143 name: testRuns
144 default: '{test-runs}'
145 description: 'How many times to repeat the tests'
146
147 - string:
148 name: extraRobotArgs
149 default: '{robot-args}'
150 description: 'Arguments to pass to robot'
151
152
Kailash8b8de742019-07-30 08:54:51 -0700153 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700154 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700155
Zack Williamsb3292082019-10-11 17:15:18 -0700156 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700157
158 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700159 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700160 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700161 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700162
163- job-template:
164 id: 'voltha-patch-test'
Andy Bavier4f7fbea2019-11-21 14:38:47 -0700165 name: 'verify_{project}_sanity-test'
Matteo Scandolo569bad92020-01-16 11:35:15 -0800166 extra-helm-flags: ''
Kailashaad71012019-08-27 10:36:53 -0700167
168 description: |
169 <!-- Managed by Jenkins Job Builder -->
170 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
171 E2E Validation for Voltha 2.X
172
173 properties:
174 - cord-infra-properties:
175 build-days-to-keep: '{build-days-to-keep}'
176 artifact-num-to-keep: '{artifact-num-to-keep}'
177
178 wrappers:
179 - lf-infra-wrappers:
180 build-timeout: '{build-timeout}'
181 jenkins-ssh-credential: '{jenkins-ssh-credential}'
182
183 parameters:
184 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700185 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700186 default: 'ubuntu16.04-basebuild-4c-8g'
187 description: 'Name of the Jenkins node to run the job on'
188
189 - string:
190 name: manifestUrl
191 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
192 description: 'URL to the repo manifest'
193
194 - string:
hwchiu14f97852019-10-08 10:51:11 -0700195 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800196 default: 'master'
hwchiu14f97852019-10-08 10:51:11 -0700197 description: 'Name of the repo branch to use'
Kailashaad71012019-08-27 10:36:53 -0700198
199 - string:
hwchiu14f97852019-10-08 10:51:11 -0700200 name: gerritProject
201 default: '$GERRIT_PROJECT'
202 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700203
204 - string:
hwchiu14f97852019-10-08 10:51:11 -0700205 name: gerritChangeNumber
206 default: '$GERRIT_CHANGE_NUMBER'
207 description: 'Changeset number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700208
209 - string:
hwchiu14f97852019-10-08 10:51:11 -0700210 name: gerritPatchsetNumber
211 default: '$GERRIT_PATCHSET_NUMBER'
212 description: 'PatchSet number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700213
214 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700215 name: extraHelmFlags
Andy Bavier4f7fbea2019-11-21 14:38:47 -0700216 default: '{extra-helm-flags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700217 description: 'Helm flags to pass to ./voltha up'
218
Kailashaad71012019-08-27 10:36:53 -0700219 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700220 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700221
Zack Williamsb3292082019-10-11 17:15:18 -0700222 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700223
224 triggers:
225 - cord-infra-gerrit-trigger-patchset:
226 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700227 project-regexp: '^{project}$'
228 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700229 dependency-jobs: '{dependency-jobs}'
230 file-include-regexp: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700231
232# POD Per Patchset Pipeline Jobs
233
Andy Bavier51ba7e82019-12-17 11:01:01 -0700234
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700235- job-template:
Andy Bavier19c98a22019-11-11 13:57:11 -0700236 name: '{name}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700237 id: verify_physical_voltha_patchset_auto
238 description: |
239 <!-- Managed by Jenkins Job Builder -->
240 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
241 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
242 Created by Andy Bavier, andy@opennetworking.org <br />
243 Copyright (c) 2019 Open Networking Foundation (ONF)
244 project-type: pipeline
245 sandbox: true
246 pipeline-script: 'voltha-physical-build-and-tests.groovy'
247
248 properties:
249 - cord-infra-properties:
250 build-days-to-keep: '{build-days-to-keep}'
251 artifact-num-to-keep: '{artifact-num-to-keep}'
252
253 parameters:
254 - string:
255 name: buildNode
256 default: '{testvm}'
257 description: 'Pod management node'
258
259 - string:
260 name: manifestUrl
261 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
262 description: 'URL to the repo manifest'
263
264 - string:
265 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800266 default: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700267 description: 'Name of the repo branch to use'
268
269 - string:
270 name: gerritProject
271 default: '$GERRIT_PROJECT'
272 description: 'Name of the Gerrit project'
273
274 - string:
275 name: gerritChangeNumber
276 default: '$GERRIT_CHANGE_NUMBER'
277 description: 'Changeset number in Gerrit'
278
279 - string:
280 name: gerritPatchsetNumber
281 default: '$GERRIT_PATCHSET_NUMBER'
282 description: 'PatchSet number in Gerrit'
283
284 - string:
285 name: cordRepoUrl
286 default: '{gerrit-server-url}'
287 description: 'The URL of the CORD Project repository'
288
289 - string:
290 name: podName
291 default: '{config-pod}'
292
293 - string:
294 name: deploymentConfigFile
295 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
296 description: 'Path of deployment config file'
297
298 - string:
299 name: kindVolthaValuesFile
300 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
301 description: 'Path of kind-voltha values override file'
302
303 - string:
304 name: sadisConfigFile
305 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
306 description: 'Path of SADIS config to load'
307
308 - string:
309 name: localConfigDir
310 default: null
311 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
312
313 - string:
314 name: configRepo
315 default: 'pod-configs'
316 description: 'A repository containing the config files, will be checked out if specified'
317
318 - string:
319 name: oltDebVersion
320 default: '{oltDebVersion}'
321 description: 'OLT Software version to install'
322
323 - string:
324 name: branch
325 default: '{branch}'
326
327 - string:
328 name: profile
329 default: '{profile}'
330 description: 'Technology Profile pushed to the ETCD'
331
332 - string:
333 name: notificationEmail
334 default: 'andy@opennetworking.org'
335 description: ''
336
337 - bool:
338 name: reinstallOlt
339 default: true
340 description: "Re-install OLT software"
341
342 - bool:
343 name: withPatchset
344 default: true
345 description: "Build with Gerrit patchset"
346
347 - string:
348 name: extraRobotArgs
349 default: '-i sanity'
350 description: 'Arguments to pass to robot'
351
352 project-type: pipeline
353 concurrent: true
354
355 dsl: !include-raw-escape: pipeline/{pipeline-script}
356
357 triggers:
358 - gerrit:
359 server-name: '{gerrit-server-name}'
360 dependency-jobs: '{dependency-jobs}'
361 silent-start: false
362 successful-message: "PASSED hardware test"
363 failure-message: "FAILED hardware test"
364 unstable-message: "UNSTABLE hardware test"
365 trigger-on:
366 - comment-added-event:
367 approval-category: 'Code-Review'
368 approval-value: '+2'
369 projects:
370 - project-compare-type: REG_EXP
371 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter)$'
372 branches:
373 - branch-compare-type: PLAIN
374 branch-pattern: 'master'
375
376
377- job-template:
378 name: '{name}'
379 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700380 description: |
381 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700382 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700383 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700384 Created by Andy Bavier, andy@opennetworking.org <br />
385 Copyright (c) 2019 Open Networking Foundation (ONF)
386 project-type: pipeline
387 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700388 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700389
390 properties:
391 - cord-infra-properties:
392 build-days-to-keep: '{build-days-to-keep}'
393 artifact-num-to-keep: '{artifact-num-to-keep}'
394
395 parameters:
396 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700397 name: buildNode
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700398 default: '{testvm}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700399 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700400
401 - string:
402 name: manifestUrl
403 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
404 description: 'URL to the repo manifest'
405
406 - string:
407 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800408 default: master
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700409 description: 'Name of the repo branch to use'
410
411 - string:
412 name: gerritProject
413 default: '$GERRIT_PROJECT'
414 description: 'Name of the Gerrit project'
415
416 - string:
417 name: gerritChangeNumber
418 default: '$GERRIT_CHANGE_NUMBER'
419 description: 'Changeset number in Gerrit'
420
421 - string:
422 name: gerritPatchsetNumber
423 default: '$GERRIT_PATCHSET_NUMBER'
424 description: 'PatchSet number in Gerrit'
425
426 - string:
427 name: cordRepoUrl
428 default: '{gerrit-server-url}'
429 description: 'The URL of the CORD Project repository'
430
431 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700432 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700433 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700434
435 - string:
436 name: deploymentConfigFile
437 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
438 description: 'Path of deployment config file'
439
440 - string:
441 name: kindVolthaValuesFile
442 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
443 description: 'Path of kind-voltha values override file'
444
445 - string:
446 name: sadisConfigFile
447 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
448 description: 'Path of SADIS config to load'
449
450 - string:
451 name: localConfigDir
452 default: null
453 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
454
455 - string:
456 name: configRepo
457 default: 'pod-configs'
458 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700459
460 - string:
461 name: oltDebVersion
462 default: '{oltDebVersion}'
463 description: 'OLT Software version to install'
464
465 - string:
466 name: branch
467 default: '{branch}'
468
469 - string:
470 name: profile
471 default: '{profile}'
472 description: 'Technology Profile pushed to the ETCD'
473
474 - string:
475 name: notificationEmail
476 default: 'andy@opennetworking.org'
477 description: ''
478
479 - bool:
480 name: reinstallOlt
481 default: true
482 description: "Re-install OLT software"
483
Andy Bavier19c98a22019-11-11 13:57:11 -0700484 - bool:
485 name: withPatchset
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700486 default: true
487 description: "Build with Gerrit patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700488
Andy Bavier8c11d462019-12-17 08:19:34 -0700489 - string:
490 name: extraRobotArgs
491 default: '-i sanity'
492 description: 'Arguments to pass to robot'
493
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700494 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700495 concurrent: true
496
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700497 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700498
Andy Bavier1f465592019-11-06 10:03:56 -0700499 triggers:
500 - gerrit:
501 server-name: '{gerrit-server-name}'
502 dependency-jobs: '{dependency-jobs}'
503 silent-start: false
504 successful-message: "PASSED hardware test"
505 failure-message: "FAILED hardware test"
506 unstable-message: "UNSTABLE hardware test"
507 trigger-on:
508 - comment-added-contains-event:
509 comment-contains-value: '^hardware test$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800510 - comment-added-contains-event:
511 comment-contains-value: '^hardware test with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700512 projects:
513 - project-compare-type: REG_EXP
Matteo Scandolo70800a32020-01-06 11:55:27 -0800514 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 -0700515 branches:
516 - branch-compare-type: PLAIN
517 branch-pattern: 'master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700518
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700519
520- job-template:
521 name: '{name}'
522 id: build_physical_voltha_manual
523 description: |
524 <!-- Managed by Jenkins Job Builder -->
525 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
526 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
527 Created by Andy Bavier, andy@opennetworking.org <br />
528 Copyright (c) 2019 Open Networking Foundation (ONF)
529 project-type: pipeline
530 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700531 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700532
533 properties:
534 - cord-infra-properties:
535 build-days-to-keep: '{build-days-to-keep}'
536 artifact-num-to-keep: '{artifact-num-to-keep}'
537
538 parameters:
539 - string:
540 name: buildNode
541 default: '{testvm}'
542 description: 'Pod management node'
543
544 - string:
545 name: manifestUrl
546 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
547 description: 'URL to the repo manifest'
548
549 - string:
550 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800551 default: master
Andy Bavier06d816c2019-11-19 11:40:48 -0700552 description: 'Name of the repo branch to use (change to $GERRIT_BRANCH if testing a patchset)'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700553
554 - string:
555 name: gerritProject
556 default: '$GERRIT_PROJECT'
557 description: 'Name of the Gerrit project'
558
559 - string:
560 name: gerritChangeNumber
561 default: '$GERRIT_CHANGE_NUMBER'
562 description: 'Changeset number in Gerrit'
563
564 - string:
565 name: gerritPatchsetNumber
566 default: '$GERRIT_PATCHSET_NUMBER'
567 description: 'PatchSet number in Gerrit'
568
569 - string:
570 name: cordRepoUrl
571 default: '{gerrit-server-url}'
572 description: 'The URL of the CORD Project repository'
573
574 - string:
575 name: podName
576 default: '{config-pod}'
577
578 - string:
579 name: deploymentConfigFile
580 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
581 description: 'Path of deployment config file'
582
583 - string:
584 name: kindVolthaValuesFile
585 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
586 description: 'Path of kind-voltha values override file'
587
588 - string:
589 name: sadisConfigFile
590 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
591 description: 'Path of SADIS config to load'
592
593 - string:
594 name: localConfigDir
595 default: null
596 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
597
598 - string:
599 name: configRepo
600 default: 'pod-configs'
601 description: 'A repository containing the config files, will be checked out if specified'
602
603 - string:
604 name: oltDebVersion
605 default: '{oltDebVersion}'
606 description: 'OLT Software version to install'
607
608 - string:
609 name: branch
610 default: '{branch}'
611
612 - string:
613 name: profile
614 default: '{profile}'
615 description: 'Technology Profile pushed to the ETCD'
616
617 - string:
618 name: notificationEmail
619 default: 'andy@opennetworking.org'
620 description: ''
621
622 - bool:
623 name: reinstallOlt
624 default: false
625 description: "Re-install OLT software"
626
627 - bool:
628 name: withPatchset
629 default: false
630 description: "Build with Gerrit patchset"
631
Andy Bavier8c11d462019-12-17 08:19:34 -0700632 - string:
633 name: extraRobotArgs
634 default: '-e bbsim'
635 description: 'Arguments to pass to robot'
636
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700637 project-type: pipeline
638 concurrent: true
639
640 dsl: !include-raw-escape: pipeline/{pipeline-script}