blob: 53bb807cbaed9d70ca04e07dddc5c691587bb1d3 [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)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700244 sandbox: true
245 pipeline-script: 'voltha-physical-build-and-tests.groovy'
246
247 properties:
248 - cord-infra-properties:
249 build-days-to-keep: '{build-days-to-keep}'
250 artifact-num-to-keep: '{artifact-num-to-keep}'
251
252 parameters:
253 - string:
254 name: buildNode
255 default: '{testvm}'
256 description: 'Pod management node'
257
258 - string:
259 name: manifestUrl
260 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
261 description: 'URL to the repo manifest'
262
263 - string:
264 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800265 default: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700266 description: 'Name of the repo branch to use'
267
268 - string:
269 name: gerritProject
270 default: '$GERRIT_PROJECT'
271 description: 'Name of the Gerrit project'
272
273 - string:
274 name: gerritChangeNumber
275 default: '$GERRIT_CHANGE_NUMBER'
276 description: 'Changeset number in Gerrit'
277
278 - string:
279 name: gerritPatchsetNumber
280 default: '$GERRIT_PATCHSET_NUMBER'
281 description: 'PatchSet number in Gerrit'
282
283 - string:
284 name: cordRepoUrl
285 default: '{gerrit-server-url}'
286 description: 'The URL of the CORD Project repository'
287
288 - string:
289 name: podName
290 default: '{config-pod}'
291
292 - string:
293 name: deploymentConfigFile
294 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
295 description: 'Path of deployment config file'
296
297 - string:
298 name: kindVolthaValuesFile
299 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
300 description: 'Path of kind-voltha values override file'
301
302 - string:
303 name: sadisConfigFile
304 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
305 description: 'Path of SADIS config to load'
306
307 - string:
308 name: localConfigDir
309 default: null
310 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
311
312 - string:
313 name: configRepo
314 default: 'pod-configs'
315 description: 'A repository containing the config files, will be checked out if specified'
316
317 - string:
318 name: oltDebVersion
319 default: '{oltDebVersion}'
320 description: 'OLT Software version to install'
321
322 - string:
323 name: branch
324 default: '{branch}'
325
326 - string:
327 name: profile
328 default: '{profile}'
329 description: 'Technology Profile pushed to the ETCD'
330
331 - string:
332 name: notificationEmail
333 default: 'andy@opennetworking.org'
334 description: ''
335
336 - bool:
337 name: reinstallOlt
338 default: true
339 description: "Re-install OLT software"
340
341 - bool:
342 name: withPatchset
343 default: true
344 description: "Build with Gerrit patchset"
345
346 - string:
347 name: extraRobotArgs
348 default: '-i sanity'
349 description: 'Arguments to pass to robot'
350
351 project-type: pipeline
352 concurrent: true
353
354 dsl: !include-raw-escape: pipeline/{pipeline-script}
355
356 triggers:
357 - gerrit:
358 server-name: '{gerrit-server-name}'
359 dependency-jobs: '{dependency-jobs}'
360 silent-start: false
361 successful-message: "PASSED hardware test"
362 failure-message: "FAILED hardware test"
363 unstable-message: "UNSTABLE hardware test"
364 trigger-on:
365 - comment-added-event:
366 approval-category: 'Code-Review'
367 approval-value: '+2'
368 projects:
369 - project-compare-type: REG_EXP
370 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter)$'
371 branches:
372 - branch-compare-type: PLAIN
373 branch-pattern: 'master'
374
375
376- job-template:
377 name: '{name}'
378 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700379 description: |
380 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700381 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700382 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700383 Created by Andy Bavier, andy@opennetworking.org <br />
384 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700385 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700386 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700387
388 properties:
389 - cord-infra-properties:
390 build-days-to-keep: '{build-days-to-keep}'
391 artifact-num-to-keep: '{artifact-num-to-keep}'
392
393 parameters:
394 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700395 name: buildNode
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700396 default: '{testvm}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700397 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700398
399 - string:
400 name: manifestUrl
401 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
402 description: 'URL to the repo manifest'
403
404 - string:
405 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800406 default: master
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700407 description: 'Name of the repo branch to use'
408
409 - string:
410 name: gerritProject
411 default: '$GERRIT_PROJECT'
412 description: 'Name of the Gerrit project'
413
414 - string:
415 name: gerritChangeNumber
416 default: '$GERRIT_CHANGE_NUMBER'
417 description: 'Changeset number in Gerrit'
418
419 - string:
420 name: gerritPatchsetNumber
421 default: '$GERRIT_PATCHSET_NUMBER'
422 description: 'PatchSet number in Gerrit'
423
424 - string:
425 name: cordRepoUrl
426 default: '{gerrit-server-url}'
427 description: 'The URL of the CORD Project repository'
428
429 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700430 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700431 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700432
433 - string:
434 name: deploymentConfigFile
435 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
436 description: 'Path of deployment config file'
437
438 - string:
439 name: kindVolthaValuesFile
440 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
441 description: 'Path of kind-voltha values override file'
442
443 - string:
444 name: sadisConfigFile
445 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
446 description: 'Path of SADIS config to load'
447
448 - string:
449 name: localConfigDir
450 default: null
451 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
452
453 - string:
454 name: configRepo
455 default: 'pod-configs'
456 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700457
458 - string:
459 name: oltDebVersion
460 default: '{oltDebVersion}'
461 description: 'OLT Software version to install'
462
463 - string:
464 name: branch
465 default: '{branch}'
466
467 - string:
468 name: profile
469 default: '{profile}'
470 description: 'Technology Profile pushed to the ETCD'
471
472 - string:
473 name: notificationEmail
474 default: 'andy@opennetworking.org'
475 description: ''
476
477 - bool:
478 name: reinstallOlt
479 default: true
480 description: "Re-install OLT software"
481
Andy Bavier19c98a22019-11-11 13:57:11 -0700482 - bool:
483 name: withPatchset
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700484 default: true
485 description: "Build with Gerrit patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700486
Andy Bavier8c11d462019-12-17 08:19:34 -0700487 - string:
488 name: extraRobotArgs
489 default: '-i sanity'
490 description: 'Arguments to pass to robot'
491
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700492 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700493 concurrent: true
494
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700495 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700496
Andy Bavier1f465592019-11-06 10:03:56 -0700497 triggers:
498 - gerrit:
499 server-name: '{gerrit-server-name}'
500 dependency-jobs: '{dependency-jobs}'
501 silent-start: false
502 successful-message: "PASSED hardware test"
503 failure-message: "FAILED hardware test"
504 unstable-message: "UNSTABLE hardware test"
505 trigger-on:
506 - comment-added-contains-event:
507 comment-contains-value: '^hardware test$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800508 - comment-added-contains-event:
509 comment-contains-value: '^hardware test with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700510 projects:
511 - project-compare-type: REG_EXP
Matteo Scandolo70800a32020-01-06 11:55:27 -0800512 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 -0700513 branches:
514 - branch-compare-type: PLAIN
515 branch-pattern: 'master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700516
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700517
518- job-template:
519 name: '{name}'
520 id: build_physical_voltha_manual
521 description: |
522 <!-- Managed by Jenkins Job Builder -->
523 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
524 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
525 Created by Andy Bavier, andy@opennetworking.org <br />
526 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700527 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700528 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700529
530 properties:
531 - cord-infra-properties:
532 build-days-to-keep: '{build-days-to-keep}'
533 artifact-num-to-keep: '{artifact-num-to-keep}'
534
535 parameters:
536 - string:
537 name: buildNode
538 default: '{testvm}'
539 description: 'Pod management node'
540
541 - string:
542 name: manifestUrl
543 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
544 description: 'URL to the repo manifest'
545
546 - string:
547 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800548 default: master
Andy Bavier06d816c2019-11-19 11:40:48 -0700549 description: 'Name of the repo branch to use (change to $GERRIT_BRANCH if testing a patchset)'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700550
551 - string:
552 name: gerritProject
553 default: '$GERRIT_PROJECT'
554 description: 'Name of the Gerrit project'
555
556 - string:
557 name: gerritChangeNumber
558 default: '$GERRIT_CHANGE_NUMBER'
559 description: 'Changeset number in Gerrit'
560
561 - string:
562 name: gerritPatchsetNumber
563 default: '$GERRIT_PATCHSET_NUMBER'
564 description: 'PatchSet number in Gerrit'
565
566 - string:
567 name: cordRepoUrl
568 default: '{gerrit-server-url}'
569 description: 'The URL of the CORD Project repository'
570
571 - string:
572 name: podName
573 default: '{config-pod}'
574
575 - string:
576 name: deploymentConfigFile
577 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
578 description: 'Path of deployment config file'
579
580 - string:
581 name: kindVolthaValuesFile
582 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
583 description: 'Path of kind-voltha values override file'
584
585 - string:
586 name: sadisConfigFile
587 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
588 description: 'Path of SADIS config to load'
589
590 - string:
591 name: localConfigDir
592 default: null
593 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
594
595 - string:
596 name: configRepo
597 default: 'pod-configs'
598 description: 'A repository containing the config files, will be checked out if specified'
599
600 - string:
601 name: oltDebVersion
602 default: '{oltDebVersion}'
603 description: 'OLT Software version to install'
604
605 - string:
606 name: branch
607 default: '{branch}'
608
609 - string:
610 name: profile
611 default: '{profile}'
612 description: 'Technology Profile pushed to the ETCD'
613
614 - string:
615 name: notificationEmail
616 default: 'andy@opennetworking.org'
617 description: ''
618
619 - bool:
620 name: reinstallOlt
621 default: false
622 description: "Re-install OLT software"
623
624 - bool:
625 name: withPatchset
626 default: false
627 description: "Build with Gerrit patchset"
628
Andy Bavier8c11d462019-12-17 08:19:34 -0700629 - string:
630 name: extraRobotArgs
631 default: '-e bbsim'
632 description: 'Arguments to pass to robot'
633
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700634 project-type: pipeline
635 concurrent: true
636
637 dsl: !include-raw-escape: pipeline/{pipeline-script}