blob: 751f26791fff7c05e4d93b7df917ce732d45fdca [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'
hwchiu593a95a2020-01-30 10:09:39 -080036 make-target: sanity-multi-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 Bavier46c08a72020-02-06 14:07:48 -0700124 default: '--set defaults.image_tag={default-image-tag},onu={onus},pon={pons},use_ofagent_go=True,images.ofagent.repository=voltha/ofagent-go,images.ofagent.tag=master'
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'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800165 name: 'verify_{project}_sanity-test{name-extension}'
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
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800219 - string:
220 name: onosVersion
221 default: '{onos-version}'
222 description: 'ONOS version that needs to be configured'
223
Kailashaad71012019-08-27 10:36:53 -0700224 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700225 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700226
Zack Williamsb3292082019-10-11 17:15:18 -0700227 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700228
229 triggers:
230 - cord-infra-gerrit-trigger-patchset:
231 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700232 project-regexp: '^{project}$'
233 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700234 dependency-jobs: '{dependency-jobs}'
235 file-include-regexp: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700236
237# POD Per Patchset Pipeline Jobs
238
Andy Bavier51ba7e82019-12-17 11:01:01 -0700239
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700240- job-template:
Andy Bavier19c98a22019-11-11 13:57:11 -0700241 name: '{name}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700242 id: verify_physical_voltha_patchset_auto
243 description: |
244 <!-- Managed by Jenkins Job Builder -->
245 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
246 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
247 Created by Andy Bavier, andy@opennetworking.org <br />
248 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700249 sandbox: true
250 pipeline-script: 'voltha-physical-build-and-tests.groovy'
251
252 properties:
253 - cord-infra-properties:
254 build-days-to-keep: '{build-days-to-keep}'
255 artifact-num-to-keep: '{artifact-num-to-keep}'
256
257 parameters:
258 - string:
259 name: buildNode
260 default: '{testvm}'
261 description: 'Pod management node'
262
263 - string:
264 name: manifestUrl
265 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
266 description: 'URL to the repo manifest'
267
268 - string:
269 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800270 default: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700271 description: 'Name of the repo branch to use'
272
273 - string:
274 name: gerritProject
275 default: '$GERRIT_PROJECT'
276 description: 'Name of the Gerrit project'
277
278 - string:
279 name: gerritChangeNumber
280 default: '$GERRIT_CHANGE_NUMBER'
281 description: 'Changeset number in Gerrit'
282
283 - string:
284 name: gerritPatchsetNumber
285 default: '$GERRIT_PATCHSET_NUMBER'
286 description: 'PatchSet number in Gerrit'
287
288 - string:
289 name: cordRepoUrl
290 default: '{gerrit-server-url}'
291 description: 'The URL of the CORD Project repository'
292
293 - string:
294 name: podName
295 default: '{config-pod}'
296
297 - string:
298 name: deploymentConfigFile
299 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
300 description: 'Path of deployment config file'
301
302 - string:
303 name: kindVolthaValuesFile
304 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
305 description: 'Path of kind-voltha values override file'
306
307 - string:
308 name: sadisConfigFile
309 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
310 description: 'Path of SADIS config to load'
311
312 - string:
313 name: localConfigDir
314 default: null
315 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
316
317 - string:
318 name: configRepo
319 default: 'pod-configs'
320 description: 'A repository containing the config files, will be checked out if specified'
321
322 - string:
323 name: oltDebVersion
324 default: '{oltDebVersion}'
325 description: 'OLT Software version to install'
326
327 - string:
328 name: branch
329 default: '{branch}'
330
331 - string:
332 name: profile
333 default: '{profile}'
334 description: 'Technology Profile pushed to the ETCD'
335
336 - string:
337 name: notificationEmail
338 default: 'andy@opennetworking.org'
339 description: ''
340
341 - bool:
342 name: reinstallOlt
343 default: true
344 description: "Re-install OLT software"
345
346 - bool:
347 name: withPatchset
348 default: true
349 description: "Build with Gerrit patchset"
350
351 - string:
352 name: extraRobotArgs
353 default: '-i sanity'
354 description: 'Arguments to pass to robot'
355
356 project-type: pipeline
357 concurrent: true
358
359 dsl: !include-raw-escape: pipeline/{pipeline-script}
360
361 triggers:
362 - gerrit:
363 server-name: '{gerrit-server-name}'
364 dependency-jobs: '{dependency-jobs}'
365 silent-start: false
366 successful-message: "PASSED hardware test"
367 failure-message: "FAILED hardware test"
368 unstable-message: "UNSTABLE hardware test"
369 trigger-on:
370 - comment-added-event:
371 approval-category: 'Code-Review'
372 approval-value: '+2'
373 projects:
374 - project-compare-type: REG_EXP
375 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter)$'
376 branches:
377 - branch-compare-type: PLAIN
378 branch-pattern: 'master'
379
380
381- job-template:
382 name: '{name}'
383 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700384 description: |
385 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700386 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700387 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700388 Created by Andy Bavier, andy@opennetworking.org <br />
389 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700390 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700391 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700392
393 properties:
394 - cord-infra-properties:
395 build-days-to-keep: '{build-days-to-keep}'
396 artifact-num-to-keep: '{artifact-num-to-keep}'
397
398 parameters:
399 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700400 name: buildNode
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700401 default: '{testvm}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700402 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700403
404 - string:
405 name: manifestUrl
406 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
407 description: 'URL to the repo manifest'
408
409 - string:
410 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800411 default: master
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700412 description: 'Name of the repo branch to use'
413
414 - string:
415 name: gerritProject
416 default: '$GERRIT_PROJECT'
417 description: 'Name of the Gerrit project'
418
419 - string:
420 name: gerritChangeNumber
421 default: '$GERRIT_CHANGE_NUMBER'
422 description: 'Changeset number in Gerrit'
423
424 - string:
425 name: gerritPatchsetNumber
426 default: '$GERRIT_PATCHSET_NUMBER'
427 description: 'PatchSet number in Gerrit'
428
429 - string:
430 name: cordRepoUrl
431 default: '{gerrit-server-url}'
432 description: 'The URL of the CORD Project repository'
433
434 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700435 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700436 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700437
438 - string:
439 name: deploymentConfigFile
440 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
441 description: 'Path of deployment config file'
442
443 - string:
444 name: kindVolthaValuesFile
445 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
446 description: 'Path of kind-voltha values override file'
447
448 - string:
449 name: sadisConfigFile
450 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
451 description: 'Path of SADIS config to load'
452
453 - string:
454 name: localConfigDir
455 default: null
456 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
457
458 - string:
459 name: configRepo
460 default: 'pod-configs'
461 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700462
463 - string:
464 name: oltDebVersion
465 default: '{oltDebVersion}'
466 description: 'OLT Software version to install'
467
468 - string:
469 name: branch
470 default: '{branch}'
471
472 - string:
473 name: profile
474 default: '{profile}'
475 description: 'Technology Profile pushed to the ETCD'
476
477 - string:
478 name: notificationEmail
479 default: 'andy@opennetworking.org'
480 description: ''
481
482 - bool:
483 name: reinstallOlt
484 default: true
485 description: "Re-install OLT software"
486
Andy Bavier19c98a22019-11-11 13:57:11 -0700487 - bool:
488 name: withPatchset
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700489 default: true
490 description: "Build with Gerrit patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700491
Andy Bavier8c11d462019-12-17 08:19:34 -0700492 - string:
493 name: extraRobotArgs
494 default: '-i sanity'
495 description: 'Arguments to pass to robot'
496
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700497 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700498 concurrent: true
499
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700500 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700501
Andy Bavier1f465592019-11-06 10:03:56 -0700502 triggers:
503 - gerrit:
504 server-name: '{gerrit-server-name}'
505 dependency-jobs: '{dependency-jobs}'
506 silent-start: false
507 successful-message: "PASSED hardware test"
508 failure-message: "FAILED hardware test"
509 unstable-message: "UNSTABLE hardware test"
510 trigger-on:
511 - comment-added-contains-event:
512 comment-contains-value: '^hardware test$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800513 - comment-added-contains-event:
514 comment-contains-value: '^hardware test with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700515 projects:
516 - project-compare-type: REG_EXP
Matteo Scandolo70800a32020-01-06 11:55:27 -0800517 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 -0700518 branches:
519 - branch-compare-type: PLAIN
520 branch-pattern: 'master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700521
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700522
523- job-template:
524 name: '{name}'
525 id: build_physical_voltha_manual
526 description: |
527 <!-- Managed by Jenkins Job Builder -->
528 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
529 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
530 Created by Andy Bavier, andy@opennetworking.org <br />
531 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700532 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700533 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700534
535 properties:
536 - cord-infra-properties:
537 build-days-to-keep: '{build-days-to-keep}'
538 artifact-num-to-keep: '{artifact-num-to-keep}'
539
540 parameters:
541 - string:
542 name: buildNode
543 default: '{testvm}'
544 description: 'Pod management node'
545
546 - string:
547 name: manifestUrl
548 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
549 description: 'URL to the repo manifest'
550
551 - string:
552 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800553 default: master
Andy Bavier06d816c2019-11-19 11:40:48 -0700554 description: 'Name of the repo branch to use (change to $GERRIT_BRANCH if testing a patchset)'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700555
556 - string:
557 name: gerritProject
558 default: '$GERRIT_PROJECT'
559 description: 'Name of the Gerrit project'
560
561 - string:
562 name: gerritChangeNumber
563 default: '$GERRIT_CHANGE_NUMBER'
564 description: 'Changeset number in Gerrit'
565
566 - string:
567 name: gerritPatchsetNumber
568 default: '$GERRIT_PATCHSET_NUMBER'
569 description: 'PatchSet number in Gerrit'
570
571 - string:
572 name: cordRepoUrl
573 default: '{gerrit-server-url}'
574 description: 'The URL of the CORD Project repository'
575
576 - string:
577 name: podName
578 default: '{config-pod}'
579
580 - string:
581 name: deploymentConfigFile
582 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
583 description: 'Path of deployment config file'
584
585 - string:
586 name: kindVolthaValuesFile
587 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
588 description: 'Path of kind-voltha values override file'
589
590 - string:
591 name: sadisConfigFile
592 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
593 description: 'Path of SADIS config to load'
594
595 - string:
596 name: localConfigDir
597 default: null
598 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
599
600 - string:
601 name: configRepo
602 default: 'pod-configs'
603 description: 'A repository containing the config files, will be checked out if specified'
604
605 - string:
606 name: oltDebVersion
607 default: '{oltDebVersion}'
608 description: 'OLT Software version to install'
609
610 - string:
611 name: branch
612 default: '{branch}'
613
614 - string:
615 name: profile
616 default: '{profile}'
617 description: 'Technology Profile pushed to the ETCD'
618
619 - string:
620 name: notificationEmail
621 default: 'andy@opennetworking.org'
622 description: ''
623
624 - bool:
625 name: reinstallOlt
626 default: false
627 description: "Re-install OLT software"
628
629 - bool:
630 name: withPatchset
631 default: false
632 description: "Build with Gerrit patchset"
633
Andy Bavier8c11d462019-12-17 08:19:34 -0700634 - string:
635 name: extraRobotArgs
636 default: '-e bbsim'
637 description: 'Arguments to pass to robot'
638
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700639 project-type: pipeline
640 concurrent: true
641
642 dsl: !include-raw-escape: pipeline/{pipeline-script}