blob: 3c02aad18bf95183e053d7d3024e30c345e2fb2f [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 Bavierf93f3142020-01-09 16:08:51 -070021 name: 'periodic-voltha-sanity-test-single-onu'
22 build-node: 'qct-pod4-node2'
23 default-image-tag: 'master'
24 code-branch: 'master'
25 make-target: sanity-kind
26 onus: 1
27 pons: 1
28 time-trigger: "H H/3 * * *"
29
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 Bavier4a02b232020-01-09 14:50:30 -070047 make-target: sanity-multi-kind
48 onus: 2
49 pons: 2
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
Andy Bavier3708d072019-12-10 15:22:18 -070061 robot-args: '-v teardown_device:False'
Andy Bavier218385e2019-11-13 09:51:38 -070062 time-trigger: "H H/3 * * *"
Kailashaad71012019-08-27 10:36:53 -070063
Andy Bavierbf68c5e2019-10-25 15:05:28 -070064 # Per-patchset Pod builds on Tucson pod
Andy Bavier51ba7e82019-12-17 11:01:01 -070065 - 'verify_physical_voltha_patchset_auto':
66 name: 'verify_physical_voltha_patchset_auto'
67 testvm: 'tucson-pod'
68 config-pod: 'tucson-pod'
69 branch: 'master'
70 oltDebVersion: 'openolt_asfvolt16.deb'
71 profile: 'Default'
72 withPatchset: true
73
74 # Per-patchset Pod builds on Tucson pod
75 - 'verify_physical_voltha_patchset_manual':
76 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -070077 testvm: 'tucson-pod'
78 config-pod: 'tucson-pod'
79 branch: 'master'
Andy Bavierfc4dcc42019-11-18 15:33:52 -070080 oltDebVersion: 'openolt_asfvolt16.deb'
Andy Bavierbf68c5e2019-10-25 15:05:28 -070081 profile: 'Default'
Andy Bavier19c98a22019-11-11 13:57:11 -070082 withPatchset: true
83
84 # Manual build job for Tucson pod
85 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -070086 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -070087 name: 'build_tucson-pod_manual'
88 testvm: 'tucson-pod'
89 config-pod: 'tucson-pod'
90 branch: 'master'
Andy Bavierfc4dcc42019-11-18 15:33:52 -070091 oltDebVersion: 'openolt_asfvolt16.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -070092 profile: 'Default'
93 withPatchset: false
Andy Bavierbf68c5e2019-10-25 15:05:28 -070094
Kailash8b8de742019-07-30 08:54:51 -070095- job-template:
Kailashaad71012019-08-27 10:36:53 -070096 id: 'voltha-periodic-test'
97 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -070098 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -070099 test-runs: 1
100 robot-args: ''
Kailash8b8de742019-07-30 08:54:51 -0700101
102 description: |
103 <!-- Managed by Jenkins Job Builder -->
104 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
105 E2E Validation for Voltha 2.X
106
107 properties:
108 - cord-infra-properties:
109 build-days-to-keep: '{build-days-to-keep}'
110 artifact-num-to-keep: '{artifact-num-to-keep}'
111
112 wrappers:
113 - lf-infra-wrappers:
114 build-timeout: '{build-timeout}'
115 jenkins-ssh-credential: '{jenkins-ssh-credential}'
116
117 parameters:
118 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700119 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700120 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700121 description: 'Name of the Jenkins node to run the job on'
122
123 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700124 name: extraHelmFlags
Andy Bavier218385e2019-11-13 09:51:38 -0700125 default: '--set defaults.image_tag={default-image-tag},onu={onus},pon={pons}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700126 description: 'Helm flags to pass to ./voltha up'
127
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700128 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700129 name: makeTarget
130 default: '{make-target}'
131 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700132
Andy Bavier4c8b3232019-11-22 16:17:47 -0700133 - string:
134 name: manifestUrl
135 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
136 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
137
138 - string:
139 name: manifestBranch
140 default: '{code-branch}'
141 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
142
Andy Bavier3708d072019-12-10 15:22:18 -0700143 - string:
144 name: testRuns
145 default: '{test-runs}'
146 description: 'How many times to repeat the tests'
147
148 - string:
149 name: extraRobotArgs
150 default: '{robot-args}'
151 description: 'Arguments to pass to robot'
152
153
Kailash8b8de742019-07-30 08:54:51 -0700154 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700155 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700156
Zack Williamsb3292082019-10-11 17:15:18 -0700157 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700158
159 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700160 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700161 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700162 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700163
164- job-template:
165 id: 'voltha-patch-test'
Andy Bavier4f7fbea2019-11-21 14:38:47 -0700166 name: 'verify_{project}_sanity-test'
167 extra-helm-flags: '--set defaults.image_tag=$GERRIT_BRANCH'
Kailashaad71012019-08-27 10:36:53 -0700168
169 description: |
170 <!-- Managed by Jenkins Job Builder -->
171 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
172 E2E Validation for Voltha 2.X
173
174 properties:
175 - cord-infra-properties:
176 build-days-to-keep: '{build-days-to-keep}'
177 artifact-num-to-keep: '{artifact-num-to-keep}'
178
179 wrappers:
180 - lf-infra-wrappers:
181 build-timeout: '{build-timeout}'
182 jenkins-ssh-credential: '{jenkins-ssh-credential}'
183
184 parameters:
185 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700186 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700187 default: 'ubuntu16.04-basebuild-4c-8g'
188 description: 'Name of the Jenkins node to run the job on'
189
190 - string:
191 name: manifestUrl
192 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
193 description: 'URL to the repo manifest'
194
195 - string:
hwchiu14f97852019-10-08 10:51:11 -0700196 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800197 default: 'master'
hwchiu14f97852019-10-08 10:51:11 -0700198 description: 'Name of the repo branch to use'
Kailashaad71012019-08-27 10:36:53 -0700199
200 - string:
hwchiu14f97852019-10-08 10:51:11 -0700201 name: gerritProject
202 default: '$GERRIT_PROJECT'
203 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700204
205 - string:
hwchiu14f97852019-10-08 10:51:11 -0700206 name: gerritChangeNumber
207 default: '$GERRIT_CHANGE_NUMBER'
208 description: 'Changeset number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700209
210 - string:
hwchiu14f97852019-10-08 10:51:11 -0700211 name: gerritPatchsetNumber
212 default: '$GERRIT_PATCHSET_NUMBER'
213 description: 'PatchSet number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700214
215 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700216 name: extraHelmFlags
Andy Bavier4f7fbea2019-11-21 14:38:47 -0700217 default: '{extra-helm-flags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700218 description: 'Helm flags to pass to ./voltha up'
219
Kailashaad71012019-08-27 10:36:53 -0700220 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700221 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700222
Zack Williamsb3292082019-10-11 17:15:18 -0700223 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700224
225 triggers:
226 - cord-infra-gerrit-trigger-patchset:
227 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700228 project-regexp: '^{project}$'
229 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700230 dependency-jobs: '{dependency-jobs}'
231 file-include-regexp: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700232
233# POD Per Patchset Pipeline Jobs
234
Andy Bavier51ba7e82019-12-17 11:01:01 -0700235
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700236- job-template:
Andy Bavier19c98a22019-11-11 13:57:11 -0700237 name: '{name}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700238 id: verify_physical_voltha_patchset_auto
239 description: |
240 <!-- Managed by Jenkins Job Builder -->
241 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
242 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
243 Created by Andy Bavier, andy@opennetworking.org <br />
244 Copyright (c) 2019 Open Networking Foundation (ONF)
245 project-type: pipeline
246 sandbox: true
247 pipeline-script: 'voltha-physical-build-and-tests.groovy'
248
249 properties:
250 - cord-infra-properties:
251 build-days-to-keep: '{build-days-to-keep}'
252 artifact-num-to-keep: '{artifact-num-to-keep}'
253
254 parameters:
255 - string:
256 name: buildNode
257 default: '{testvm}'
258 description: 'Pod management node'
259
260 - string:
261 name: manifestUrl
262 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
263 description: 'URL to the repo manifest'
264
265 - string:
266 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800267 default: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700268 description: 'Name of the repo branch to use'
269
270 - string:
271 name: gerritProject
272 default: '$GERRIT_PROJECT'
273 description: 'Name of the Gerrit project'
274
275 - string:
276 name: gerritChangeNumber
277 default: '$GERRIT_CHANGE_NUMBER'
278 description: 'Changeset number in Gerrit'
279
280 - string:
281 name: gerritPatchsetNumber
282 default: '$GERRIT_PATCHSET_NUMBER'
283 description: 'PatchSet number in Gerrit'
284
285 - string:
286 name: cordRepoUrl
287 default: '{gerrit-server-url}'
288 description: 'The URL of the CORD Project repository'
289
290 - string:
291 name: podName
292 default: '{config-pod}'
293
294 - string:
295 name: deploymentConfigFile
296 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
297 description: 'Path of deployment config file'
298
299 - string:
300 name: kindVolthaValuesFile
301 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
302 description: 'Path of kind-voltha values override file'
303
304 - string:
305 name: sadisConfigFile
306 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
307 description: 'Path of SADIS config to load'
308
309 - string:
310 name: localConfigDir
311 default: null
312 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
313
314 - string:
315 name: configRepo
316 default: 'pod-configs'
317 description: 'A repository containing the config files, will be checked out if specified'
318
319 - string:
320 name: oltDebVersion
321 default: '{oltDebVersion}'
322 description: 'OLT Software version to install'
323
324 - string:
325 name: branch
326 default: '{branch}'
327
328 - string:
329 name: profile
330 default: '{profile}'
331 description: 'Technology Profile pushed to the ETCD'
332
333 - string:
334 name: notificationEmail
335 default: 'andy@opennetworking.org'
336 description: ''
337
338 - bool:
339 name: reinstallOlt
340 default: true
341 description: "Re-install OLT software"
342
343 - bool:
344 name: withPatchset
345 default: true
346 description: "Build with Gerrit patchset"
347
348 - string:
349 name: extraRobotArgs
350 default: '-i sanity'
351 description: 'Arguments to pass to robot'
352
353 project-type: pipeline
354 concurrent: true
355
356 dsl: !include-raw-escape: pipeline/{pipeline-script}
357
358 triggers:
359 - gerrit:
360 server-name: '{gerrit-server-name}'
361 dependency-jobs: '{dependency-jobs}'
362 silent-start: false
363 successful-message: "PASSED hardware test"
364 failure-message: "FAILED hardware test"
365 unstable-message: "UNSTABLE hardware test"
366 trigger-on:
367 - comment-added-event:
368 approval-category: 'Code-Review'
369 approval-value: '+2'
370 projects:
371 - project-compare-type: REG_EXP
372 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter)$'
373 branches:
374 - branch-compare-type: PLAIN
375 branch-pattern: 'master'
376
377
378- job-template:
379 name: '{name}'
380 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700381 description: |
382 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700383 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700384 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700385 Created by Andy Bavier, andy@opennetworking.org <br />
386 Copyright (c) 2019 Open Networking Foundation (ONF)
387 project-type: pipeline
388 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700389 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700390
391 properties:
392 - cord-infra-properties:
393 build-days-to-keep: '{build-days-to-keep}'
394 artifact-num-to-keep: '{artifact-num-to-keep}'
395
396 parameters:
397 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700398 name: buildNode
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700399 default: '{testvm}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700400 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700401
402 - string:
403 name: manifestUrl
404 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
405 description: 'URL to the repo manifest'
406
407 - string:
408 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800409 default: master
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700410 description: 'Name of the repo branch to use'
411
412 - string:
413 name: gerritProject
414 default: '$GERRIT_PROJECT'
415 description: 'Name of the Gerrit project'
416
417 - string:
418 name: gerritChangeNumber
419 default: '$GERRIT_CHANGE_NUMBER'
420 description: 'Changeset number in Gerrit'
421
422 - string:
423 name: gerritPatchsetNumber
424 default: '$GERRIT_PATCHSET_NUMBER'
425 description: 'PatchSet number in Gerrit'
426
427 - string:
428 name: cordRepoUrl
429 default: '{gerrit-server-url}'
430 description: 'The URL of the CORD Project repository'
431
432 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700433 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700434 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700435
436 - string:
437 name: deploymentConfigFile
438 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
439 description: 'Path of deployment config file'
440
441 - string:
442 name: kindVolthaValuesFile
443 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
444 description: 'Path of kind-voltha values override file'
445
446 - string:
447 name: sadisConfigFile
448 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
449 description: 'Path of SADIS config to load'
450
451 - string:
452 name: localConfigDir
453 default: null
454 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
455
456 - string:
457 name: configRepo
458 default: 'pod-configs'
459 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700460
461 - string:
462 name: oltDebVersion
463 default: '{oltDebVersion}'
464 description: 'OLT Software version to install'
465
466 - string:
467 name: branch
468 default: '{branch}'
469
470 - string:
471 name: profile
472 default: '{profile}'
473 description: 'Technology Profile pushed to the ETCD'
474
475 - string:
476 name: notificationEmail
477 default: 'andy@opennetworking.org'
478 description: ''
479
480 - bool:
481 name: reinstallOlt
482 default: true
483 description: "Re-install OLT software"
484
Andy Bavier19c98a22019-11-11 13:57:11 -0700485 - bool:
486 name: withPatchset
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700487 default: true
488 description: "Build with Gerrit patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700489
Andy Bavier8c11d462019-12-17 08:19:34 -0700490 - string:
491 name: extraRobotArgs
492 default: '-i sanity'
493 description: 'Arguments to pass to robot'
494
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700495 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700496 concurrent: true
497
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700498 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700499
Andy Bavier1f465592019-11-06 10:03:56 -0700500 triggers:
501 - gerrit:
502 server-name: '{gerrit-server-name}'
503 dependency-jobs: '{dependency-jobs}'
504 silent-start: false
505 successful-message: "PASSED hardware test"
506 failure-message: "FAILED hardware test"
507 unstable-message: "UNSTABLE hardware test"
508 trigger-on:
509 - comment-added-contains-event:
510 comment-contains-value: '^hardware test$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800511 - comment-added-contains-event:
512 comment-contains-value: '^hardware test with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700513 projects:
514 - project-compare-type: REG_EXP
Matteo Scandolo70800a32020-01-06 11:55:27 -0800515 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 -0700516 branches:
517 - branch-compare-type: PLAIN
518 branch-pattern: 'master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700519
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700520
521- job-template:
522 name: '{name}'
523 id: build_physical_voltha_manual
524 description: |
525 <!-- Managed by Jenkins Job Builder -->
526 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
527 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
528 Created by Andy Bavier, andy@opennetworking.org <br />
529 Copyright (c) 2019 Open Networking Foundation (ONF)
530 project-type: pipeline
531 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700532 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700533
534 properties:
535 - cord-infra-properties:
536 build-days-to-keep: '{build-days-to-keep}'
537 artifact-num-to-keep: '{artifact-num-to-keep}'
538
539 parameters:
540 - string:
541 name: buildNode
542 default: '{testvm}'
543 description: 'Pod management node'
544
545 - string:
546 name: manifestUrl
547 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
548 description: 'URL to the repo manifest'
549
550 - string:
551 name: manifestBranch
Matteo Scandoloe547ddf2020-01-15 11:39:31 -0800552 default: master
Andy Bavier06d816c2019-11-19 11:40:48 -0700553 description: 'Name of the repo branch to use (change to $GERRIT_BRANCH if testing a patchset)'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700554
555 - string:
556 name: gerritProject
557 default: '$GERRIT_PROJECT'
558 description: 'Name of the Gerrit project'
559
560 - string:
561 name: gerritChangeNumber
562 default: '$GERRIT_CHANGE_NUMBER'
563 description: 'Changeset number in Gerrit'
564
565 - string:
566 name: gerritPatchsetNumber
567 default: '$GERRIT_PATCHSET_NUMBER'
568 description: 'PatchSet number in Gerrit'
569
570 - string:
571 name: cordRepoUrl
572 default: '{gerrit-server-url}'
573 description: 'The URL of the CORD Project repository'
574
575 - string:
576 name: podName
577 default: '{config-pod}'
578
579 - string:
580 name: deploymentConfigFile
581 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
582 description: 'Path of deployment config file'
583
584 - string:
585 name: kindVolthaValuesFile
586 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
587 description: 'Path of kind-voltha values override file'
588
589 - string:
590 name: sadisConfigFile
591 default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json'
592 description: 'Path of SADIS config to load'
593
594 - string:
595 name: localConfigDir
596 default: null
597 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
598
599 - string:
600 name: configRepo
601 default: 'pod-configs'
602 description: 'A repository containing the config files, will be checked out if specified'
603
604 - string:
605 name: oltDebVersion
606 default: '{oltDebVersion}'
607 description: 'OLT Software version to install'
608
609 - string:
610 name: branch
611 default: '{branch}'
612
613 - string:
614 name: profile
615 default: '{profile}'
616 description: 'Technology Profile pushed to the ETCD'
617
618 - string:
619 name: notificationEmail
620 default: 'andy@opennetworking.org'
621 description: ''
622
623 - bool:
624 name: reinstallOlt
625 default: false
626 description: "Re-install OLT software"
627
628 - bool:
629 name: withPatchset
630 default: false
631 description: "Build with Gerrit patchset"
632
Andy Bavier8c11d462019-12-17 08:19:34 -0700633 - string:
634 name: extraRobotArgs
635 default: '-e bbsim'
636 description: 'Arguments to pass to robot'
637
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700638 project-type: pipeline
639 concurrent: true
640
641 dsl: !include-raw-escape: pipeline/{pipeline-script}