blob: f1cd8d216787474c76cd6a084918a793cd7c3180 [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}'
Zack Williams03ebb272020-03-27 09:42:33 -07008 manualBranch: ''
Suchitra Vemuri456b6b42020-11-10 19:06:22 -08009 olts: 1
Andrea Campanellaf3c32af2020-12-10 12:21:57 +010010 onus: 1
11 pons: 1
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080012 withAlarms: true
13 make-target-failtest: bbsim-failurescenarios
14 make-target-errortest: bbsim-errorscenarios
15 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080016 make-target-multipleolt: bbsim-multiolt-kind
TorstenThieme669258d2021-01-29 09:03:10 +000017 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
18 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
Kailash8b8de742019-07-30 08:54:51 -070019
20 jobs:
hwchiu14f97852019-10-08 10:51:11 -070021 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070022 name: 'periodic-voltha-test-bbsim'
23 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavierf93f3142020-01-09 16:08:51 -070024 build-node: 'qct-pod4-node2'
Andy Bavierd4ba3372020-01-21 17:01:53 -070025 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080026 make-target-failtest: bbsim-failurescenarios
27 make-target-errortest: bbsim-errorscenarios
28 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080029 make-target-multipleolt: bbsim-multiolt-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080030 withAlarms: true
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070031 code-branch: 'master'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080032 olts: 1
33 onus: 2
34 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080035 time-trigger: "H H/23 * * *"
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080036
37 - 'voltha-periodic-test':
38 name: 'periodic-voltha-multiple-olts-test-bbsim'
39 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
40 build-node: 'qct-pod4-node2'
Suchitra Vemurie50560a2020-11-18 14:14:09 -080041 make-target: functional-multi-olt
42 make-target-failtest: bbsim-multiolt-failurescenarios
43 make-target-errortest: bbsim-multiolt-errorscenarios
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080044 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080045 make-target-multipleolt: bbsim-multiolt-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080046 withAlarms: false
47 code-branch: 'master'
48 olts: 2
Andy Bavier4be37062020-06-29 15:17:26 -070049 onus: 2
50 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080051 time-trigger: "H H/23 * * *"
Andy Bavierf93f3142020-01-09 16:08:51 -070052
53 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +053054 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080055 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
56 build-node: 'qct-pod4-node2'
57 make-target: functional-multi-olt
58 make-target-failtest: bbsim-multiolt-failurescenarios
59 make-target-errortest: bbsim-multiolt-errorscenarios
60 make-target-alarmtest: bbsim-alarms-kind
61 make-target-multipleolt: bbsim-multiolt-kind
62 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070063 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080064 olts: 2
65 onus: 2
66 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080067 time-trigger: "H H/23 * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080068
69 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000070 name: 'periodic-voltha-openonu-go-test-bbsim'
71 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Girish Gowdra4345cdd2021-03-22 14:12:51 -070072 build-node: 'ubuntu16.04-basebuild-8c-15g'
TorstenThieme326e7972021-01-19 14:27:59 +000073 make-target: openonu-go-adapter-test
TorstenThieme669258d2021-01-29 09:03:10 +000074 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
75 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme326e7972021-01-19 14:27:59 +000076 withAlarms: false
77 code-branch: 'master'
78 time-trigger: "H H/12 * * *"
79
80 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +053081 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
82 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
83 build-node: 'ubuntu16.04-basebuild-8c-15g'
84 make-target: openonu-go-adapter-test
85 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
86 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
87 withAlarms: false
88 code-branch: 'voltha-2.7'
89 time-trigger: "H H/23 * * *"
90
91 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +000092 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
93 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Girish Gowdra4345cdd2021-03-22 14:12:51 -070094 build-node: 'ubuntu16.04-basebuild-8c-15g'
TorstenThieme669258d2021-01-29 09:03:10 +000095 make-target: openonu-go-adapter-multi-olt-test
96 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
97 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
98 withAlarms: false
99 code-branch: 'master'
100 olts: 2
101 onus: 2
102 pons: 2
103 time-trigger: "H H/12 * * *"
104
105 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +0530106 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
107 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
108 build-node: 'ubuntu16.04-basebuild-8c-15g'
109 make-target: openonu-go-adapter-multi-olt-test
110 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
111 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
112 withAlarms: false
113 code-branch: 'voltha-2.7'
114 olts: 2
115 onus: 2
116 pons: 2
117 time-trigger: "H H/23 * * *"
118
119 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100120 name: 'periodic-voltha-test-DMI'
121 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
122 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100123 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100124 withAlarms: false
125 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800126 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100127
128 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700129 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100130 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
131 build-node: 'qct-pod4-node2'
132 make-target: bbsim-dmi-hw-management-test
133 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700134 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800135 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100136
137 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700138 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700139 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700140 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700141 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800142 make-target-failtest: bbsim-failurescenarios
143 make-target-errortest: bbsim-errorscenarios
144 make-target-alarmtest: bbsim-alarms-kind
145 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700146 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700147 onus: 2
148 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800149 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700150
151 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700152 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800153 pipeline-script: 'voltha-system-test-bbsim.groovy'
hwchiuc7d5d032019-12-03 16:42:47 -0800154 build-node: 'ubuntu16.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800155 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800156 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800157 onus: 2
158 pons: 2
159 time-trigger: "H H/12 * * *"
160
161 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700162 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700163 pipeline-script: 'voltha-system-test-bbsim.groovy'
164 build-node: 'ubuntu16.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700165 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700166 make-target: sanity-multi-kind
167 onus: 2
168 pons: 2
169 time-trigger: "H H/12 * * *"
170
171
172 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700173 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700174 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700175 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700176 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700177 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700178 onus: 1
179 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700180 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800181 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700182
183 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700184 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700185 pipeline-script: 'voltha-go-multi-tests.groovy'
186 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700187 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700188 make-target: sanity-kind
189 onus: 1
190 pons: 1
191 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800192 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700193
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700194 - 'voltha-periodic-test':
195 name: 'nightly-voltha-DTflow-sanity-test'
196 build-node: 'ubuntu16.04-basebuild-4c-8g'
197 code-branch: 'master'
198 make-target: sanity-kind-dt
199 onus: 1
200 pons: 1
201 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700202 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700203
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700204 # Per-patchset Pod builds on Tucson pod
Andy Bavier51ba7e82019-12-17 11:01:01 -0700205 - 'verify_physical_voltha_patchset_auto':
206 name: 'verify_physical_voltha_patchset_auto'
Zack Williams8ef79812019-10-29 11:09:18 -0700207 build-node: 'tucson-pod'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700208 config-pod: 'tucson-pod'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700209 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
210 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700211 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800212 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700213
214 # Per-patchset Pod builds on Tucson pod
215 - 'verify_physical_voltha_patchset_manual':
216 name: 'verify_physical_voltha_patchset_manual'
Zack Williams8ef79812019-10-29 11:09:18 -0700217 build-node: 'tucson-pod'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700218 config-pod: 'tucson-pod'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700219 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
220 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700221 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700222 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800223 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700224
225
226 # Per-patchset Pod builds on Tucson pod
227 - 'verify_physical_voltha_patchset_manual':
228 name: 'verify_physical_voltha_patchset_manual_DT'
229 build-node: 'tucson-pod'
230 config-pod: 'tucson-pod-DT'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700231 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
232 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700233 profile: 'Default'
234 pipeline-script: 'voltha-dt-physical-build-and-tests.groovy'
235 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800236 default-test-args: '-i sanityDt -i PowerSwitch -X'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700237
Andy Bavier19c98a22019-11-11 13:57:11 -0700238
239 # Manual build job for Tucson pod
240 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700241 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700242 name: 'build_tucson-pod_manual'
Zack Williams8ef79812019-10-29 11:09:18 -0700243 build-node: 'tucson-pod'
Andy Bavier19c98a22019-11-11 13:57:11 -0700244 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700245 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700246 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
247 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700248 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800249 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700250
Kailash8b8de742019-07-30 08:54:51 -0700251- job-template:
Kailashaad71012019-08-27 10:36:53 -0700252 id: 'voltha-periodic-test'
253 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700254 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700255 test-runs: 1
256 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700257 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700258 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700259 volthaSystemTestsChange: ''
260 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200261 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700262 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800263 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800264 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700265
Kailash8b8de742019-07-30 08:54:51 -0700266 description: |
267 <!-- Managed by Jenkins Job Builder -->
268 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
269 E2E Validation for Voltha 2.X
270
271 properties:
272 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800273 build-days-to-keep: '{big-build-days-to-keep}'
274 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700275
276 wrappers:
277 - lf-infra-wrappers:
278 build-timeout: '{build-timeout}'
279 jenkins-ssh-credential: '{jenkins-ssh-credential}'
280
281 parameters:
282 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700283 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700284 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700285 description: 'Name of the Jenkins node to run the job on'
286
287 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700288 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200289 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700290 description: 'Helm flags to pass to ./voltha up'
291
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800292 - bool:
293 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800294 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800295 description: "Run alarm based tests when true"
296
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700297 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700298 name: makeTarget
299 default: '{make-target}'
300 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700301
Andy Bavier4c8b3232019-11-22 16:17:47 -0700302 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800303 name: makeFailtestTarget
304 default: '{make-target-failtest}'
305 description: 'Makefile target to invoke during failure/based test'
306
307 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800308 name: makeMultiOltTarget
309 default: '{make-target-multipleolt}'
310 description: 'Makefile target to invoke during multiple olt test'
311
312 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800313 name: makeErrortestTarget
314 default: '{make-target-errortest}'
315 description: 'Makefile target to invoke during error test'
316
317 - string:
318 name: makeAlarmtestTarget
319 default: '{make-target-alarmtest}'
320 description: 'Makefile target to invoke during alarm test'
321
322 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000323 name: make1t4gemTestTarget
324 default: '{make-target-1t4gemtest}'
325 description: 'Makefile target to invoke during 1t4gem test'
326
327 - string:
328 name: make1t8gemTestTarget
329 default: '{make-target-1t8gemtest}'
330 description: 'Makefile target to invoke during 1t8gem test'
331
332 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700333 name: manifestUrl
334 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700335 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700336
337 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700338 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700339 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700340 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700341
Andy Bavier3708d072019-12-10 15:22:18 -0700342 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700343 name: gerritProject
344 default: '{gerrit-project}'
345 description: 'Name of the Gerrit project'
346
347 - string:
348 name: gerritChangeNumber
349 default: ''
350 description: 'Changeset number in Gerrit'
351
352 - string:
353 name: gerritPatchsetNumber
354 default: ''
355 description: 'PatchSet number in Gerrit'
356
357 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700358 name: testRuns
359 default: '{test-runs}'
360 description: 'How many times to repeat the tests'
361
362 - string:
363 name: extraRobotArgs
364 default: '{robot-args}'
365 description: 'Arguments to pass to robot'
366
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700367 - string:
368 name: workFlow
369 default: '{work-flow}'
370 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700371
pierventref48ebc12020-07-17 16:01:32 +0200372 - string:
373 name: karafHome
374 default: '{karaf-home}'
375 description: 'Karaf home'
376
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700377 - string:
378 name: volthaSystemTestsChange
379 default: '{volthaSystemTestsChange}'
380 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
381
382 - string:
383 name: kindVolthaChange
384 default: '{kindVolthaChange}'
385 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
386
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800387 - string:
388 name: olts
389 default: '{olts}'
390 description: 'How many BBSim instances to run'
391
Kailash8b8de742019-07-30 08:54:51 -0700392 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700393 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700394
Zack Williamsb3292082019-10-11 17:15:18 -0700395 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700396
397 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700398 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700399 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700400 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700401
402- job-template:
403 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800404 name: 'verify_{project}_sanity-test{name-extension}'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700405 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700406 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800407 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700408 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800409 volthaHelmChartsChange: ''
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700410 kindVolthaChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800411 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700412
413 description: |
414 <!-- Managed by Jenkins Job Builder -->
415 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
416 E2E Validation for Voltha 2.X
417
418 properties:
419 - cord-infra-properties:
420 build-days-to-keep: '{build-days-to-keep}'
421 artifact-num-to-keep: '{artifact-num-to-keep}'
422
423 wrappers:
424 - lf-infra-wrappers:
425 build-timeout: '{build-timeout}'
426 jenkins-ssh-credential: '{jenkins-ssh-credential}'
427
428 parameters:
429 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700430 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700431 default: 'ubuntu16.04-basebuild-4c-8g'
432 description: 'Name of the Jenkins node to run the job on'
433
434 - string:
hwchiu14f97852019-10-08 10:51:11 -0700435 name: gerritProject
436 default: '$GERRIT_PROJECT'
437 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700438
439 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700440 name: gerritRefspec
441 default: '$GERRIT_REFSPEC'
442 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700443
444 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700445 name: extraHelmFlags
Andy Bavier10926f12020-03-27 16:53:43 -0700446 default: ''
Andy Bavierbedd0392019-10-16 13:58:18 -0700447 description: 'Helm flags to pass to ./voltha up'
448
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700449 - string:
450 name: volthaSystemTestsChange
451 default: '{volthaSystemTestsChange}'
452 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
453
454 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800455 name: volthaSystemTestsChange
456 default: '{volthaSystemTestsChange}'
457 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
458
459 - string:
460 name: volthaHelmChartsChange
461 default: '{volthaHelmChartsChange}'
462 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
463
464 - string:
465 name: branch
466 default: '{override-branch}'
467 description: 'Name of the branch to use'
468
469 # deprecated params (not used in master, remove after 2.6 support is dropped)
470 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700471 name: kindVolthaChange
472 default: '{kindVolthaChange}'
473 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
474
Kailashaad71012019-08-27 10:36:53 -0700475 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700476 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700477
Zack Williamsb3292082019-10-11 17:15:18 -0700478 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700479
480 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700481 - gerrit:
482 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700483 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700484 silent-start: true
485 trigger-on:
486 - patchset-created-event:
487 exclude-drafts: true
488 exclude-trivial-rebase: false
489 exclude-no-code-change: true
490 - draft-published-event
491 - comment-added-contains-event:
492 comment-contains-value: '(?i)^.*recheck$'
493 projects:
494 - project-compare-type: REG_EXP
495 project-pattern: '^{project}$'
496 branches:
497 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800498 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700499 file-paths:
500 - compare-type: REG_EXP
501 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700502
503# POD Per Patchset Pipeline Jobs
504
505- job-template:
Andy Bavier19c98a22019-11-11 13:57:11 -0700506 name: '{name}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700507 id: verify_physical_voltha_patchset_auto
508 description: |
509 <!-- Managed by Jenkins Job Builder -->
510 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
511 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
512 Created by Andy Bavier, andy@opennetworking.org <br />
513 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700514 sandbox: true
515 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700516 default-test-args: '-i sanityORDeleteOLT -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700517
518 properties:
519 - cord-infra-properties:
520 build-days-to-keep: '{build-days-to-keep}'
521 artifact-num-to-keep: '{artifact-num-to-keep}'
522
523 parameters:
524 - string:
525 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700526 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700527 description: 'Pod management node'
528
529 - string:
530 name: manifestUrl
531 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
532 description: 'URL to the repo manifest'
533
534 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700535 name: branch
536 default: '$GERRIT_BRANCH'
537 description: 'Name of the branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700538
539 - string:
540 name: gerritProject
541 default: '$GERRIT_PROJECT'
542 description: 'Name of the Gerrit project'
543
544 - string:
545 name: gerritChangeNumber
546 default: '$GERRIT_CHANGE_NUMBER'
547 description: 'Changeset number in Gerrit'
548
549 - string:
550 name: gerritPatchsetNumber
551 default: '$GERRIT_PATCHSET_NUMBER'
552 description: 'PatchSet number in Gerrit'
553
554 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700555 name: gerritRefspec
556 default: '$GERRIT_REFSPEC'
557 description: 'RefSpec number in Gerrit'
558
559 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700560 name: cordRepoUrl
561 default: '{gerrit-server-url}'
562 description: 'The URL of the CORD Project repository'
563
564 - string:
565 name: podName
566 default: '{config-pod}'
567
568 - string:
569 name: deploymentConfigFile
570 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
571 description: 'Path of deployment config file'
572
573 - string:
574 name: kindVolthaValuesFile
575 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
576 description: 'Path of kind-voltha values override file'
577
578 - string:
579 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700580 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700581 description: 'Path of SADIS config to load'
582
583 - string:
584 name: localConfigDir
585 default: null
586 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
587
588 - string:
589 name: configRepo
590 default: 'pod-configs'
591 description: 'A repository containing the config files, will be checked out if specified'
592
593 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700594 name: oltDebVersionMaster
595 default: '{oltDebVersionMaster}'
596 description: 'OLT Software version to install for master branch builds'
597
598 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700599 name: oltDebVersion
Andy Bavier893d2442020-05-21 12:41:17 -0700600 default: '{oltDebVersionVoltha23}'
601 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700602
603 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700604 name: profile
605 default: '{profile}'
606 description: 'Technology Profile pushed to the ETCD'
607
608 - string:
609 name: notificationEmail
610 default: 'andy@opennetworking.org'
611 description: ''
612
613 - bool:
614 name: reinstallOlt
615 default: true
616 description: "Re-install OLT software"
617
Zack Williams03ebb272020-03-27 09:42:33 -0700618 - string:
619 name: manualBranch
620 default: '{manualBranch}'
621 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700622
623 - string:
624 name: extraRobotArgs
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700625 default: '{default-test-args}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700626 description: 'Arguments to pass to robot'
627
628 project-type: pipeline
629 concurrent: true
630
631 dsl: !include-raw-escape: pipeline/{pipeline-script}
632
633 triggers:
634 - gerrit:
635 server-name: '{gerrit-server-name}'
636 dependency-jobs: '{dependency-jobs}'
637 silent-start: false
638 successful-message: "PASSED hardware test"
639 failure-message: "FAILED hardware test"
640 unstable-message: "UNSTABLE hardware test"
641 trigger-on:
642 - comment-added-event:
643 approval-category: 'Code-Review'
644 approval-value: '+2'
645 projects:
646 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800647 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700648 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700649 - branch-compare-type: REG_EXP
Andy Baviera654abd2020-04-03 12:43:54 -0700650 branch-pattern: '{all-branches-regexp}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700651
652
653- job-template:
654 name: '{name}'
655 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700656 description: |
657 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700658 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700659 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700660 Created by Andy Bavier, andy@opennetworking.org <br />
661 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700662 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700663 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700664 trigger-string: 'hardware test'
665 default-test-args: '-i sanityORDeleteOLT -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700666
667 properties:
668 - cord-infra-properties:
669 build-days-to-keep: '{build-days-to-keep}'
670 artifact-num-to-keep: '{artifact-num-to-keep}'
671
672 parameters:
673 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700674 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700675 default: '{build-node}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700676 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700677
678 - string:
679 name: manifestUrl
680 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
681 description: 'URL to the repo manifest'
682
683 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700684 name: branch
685 default: '$GERRIT_BRANCH'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700686 description: 'Name of the repo branch to use'
687
688 - string:
689 name: gerritProject
690 default: '$GERRIT_PROJECT'
691 description: 'Name of the Gerrit project'
692
693 - string:
694 name: gerritChangeNumber
695 default: '$GERRIT_CHANGE_NUMBER'
696 description: 'Changeset number in Gerrit'
697
698 - string:
699 name: gerritPatchsetNumber
700 default: '$GERRIT_PATCHSET_NUMBER'
701 description: 'PatchSet number in Gerrit'
702
703 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700704 name: gerritRefspec
705 default: '$GERRIT_REFSPEC'
706 description: 'RefSpec number in Gerrit'
707
708 - string:
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700709 name: cordRepoUrl
710 default: '{gerrit-server-url}'
711 description: 'The URL of the CORD Project repository'
712
713 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700714 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700715 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700716
717 - string:
718 name: deploymentConfigFile
719 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
720 description: 'Path of deployment config file'
721
722 - string:
723 name: kindVolthaValuesFile
724 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
725 description: 'Path of kind-voltha values override file'
726
727 - string:
728 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700729 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700730 description: 'Path of SADIS config to load'
731
732 - string:
733 name: localConfigDir
734 default: null
735 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
736
737 - string:
738 name: configRepo
739 default: 'pod-configs'
740 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700741
742 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700743 name: oltDebVersionMaster
744 default: '{oltDebVersionMaster}'
745 description: 'OLT Software version to install for master branch builds'
746
747 - string:
748 name: oltDebVersionVoltha23
749 default: '{oltDebVersionVoltha23}'
750 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700751
752 - string:
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700753 name: profile
754 default: '{profile}'
755 description: 'Technology Profile pushed to the ETCD'
756
757 - string:
758 name: notificationEmail
759 default: 'andy@opennetworking.org'
760 description: ''
761
762 - bool:
763 name: reinstallOlt
764 default: true
765 description: "Re-install OLT software"
766
Zack Williams03ebb272020-03-27 09:42:33 -0700767 - string:
768 name: manualBranch
769 default: '{manualBranch}'
770 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700771
Andy Bavier8c11d462019-12-17 08:19:34 -0700772 - string:
773 name: extraRobotArgs
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700774 default: '{default-test-args}'
Andy Bavier8c11d462019-12-17 08:19:34 -0700775 description: 'Arguments to pass to robot'
776
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700777 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700778 concurrent: true
779
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700780 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700781
Andy Bavier1f465592019-11-06 10:03:56 -0700782 triggers:
783 - gerrit:
784 server-name: '{gerrit-server-name}'
785 dependency-jobs: '{dependency-jobs}'
786 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700787 successful-message: "PASSED {trigger-string}"
788 failure-message: "FAILED {trigger-string}"
789 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700790 trigger-on:
791 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700792 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800793 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700794 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700795 projects:
796 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800797 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-api-server|voltha-system-tests|ofagent-py|ofagent-go|voltha-onos|kind-voltha|voltha-helm-charts)$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700798 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700799 - branch-compare-type: REG_EXP
Andy Baviera654abd2020-04-03 12:43:54 -0700800 branch-pattern: '{all-branches-regexp}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700801
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700802
803- job-template:
804 name: '{name}'
805 id: build_physical_voltha_manual
806 description: |
807 <!-- Managed by Jenkins Job Builder -->
808 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
809 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
810 Created by Andy Bavier, andy@opennetworking.org <br />
811 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700812 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700813 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700814
815 properties:
816 - cord-infra-properties:
817 build-days-to-keep: '{build-days-to-keep}'
818 artifact-num-to-keep: '{artifact-num-to-keep}'
819
820 parameters:
821 - string:
822 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700823 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700824 description: 'Pod management node'
825
826 - string:
827 name: manifestUrl
828 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
829 description: 'URL to the repo manifest'
830
831 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700832 name: branch
833 default: "$GERRIT_BRANCH"
834 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700835
836 - string:
837 name: gerritProject
838 default: '$GERRIT_PROJECT'
839 description: 'Name of the Gerrit project'
840
841 - string:
842 name: gerritChangeNumber
843 default: '$GERRIT_CHANGE_NUMBER'
844 description: 'Changeset number in Gerrit'
845
846 - string:
847 name: gerritPatchsetNumber
848 default: '$GERRIT_PATCHSET_NUMBER'
849 description: 'PatchSet number in Gerrit'
850
851 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700852 name: gerritRefspec
853 default: '$GERRIT_REFSPEC'
854 description: 'RefSpec number in Gerrit'
855
856 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700857 name: cordRepoUrl
858 default: '{gerrit-server-url}'
859 description: 'The URL of the CORD Project repository'
860
861 - string:
862 name: podName
863 default: '{config-pod}'
864
865 - string:
866 name: deploymentConfigFile
867 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
868 description: 'Path of deployment config file'
869
870 - string:
871 name: kindVolthaValuesFile
872 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
873 description: 'Path of kind-voltha values override file'
874
875 - string:
876 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700877 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700878 description: 'Path of SADIS config to load'
879
880 - string:
881 name: localConfigDir
882 default: null
883 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
884
885 - string:
886 name: configRepo
887 default: 'pod-configs'
888 description: 'A repository containing the config files, will be checked out if specified'
889
890 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700891 name: oltDebVersionMaster
892 default: '{oltDebVersionMaster}'
893 description: 'OLT Software version to install for master branch builds'
894
895 - string:
896 name: oltDebVersionVoltha23
897 default: '{oltDebVersionVoltha23}'
898 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700899
900 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700901 name: profile
902 default: '{profile}'
903 description: 'Technology Profile pushed to the ETCD'
904
905 - string:
906 name: notificationEmail
907 default: 'andy@opennetworking.org'
908 description: ''
909
910 - bool:
911 name: reinstallOlt
912 default: false
913 description: "Re-install OLT software"
914
Zack Williams03ebb272020-03-27 09:42:33 -0700915 - string:
916 name: manualBranch
917 default: '{manualBranch}'
918 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700919
Andy Bavier8c11d462019-12-17 08:19:34 -0700920 - string:
921 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -0700922 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -0700923 description: 'Arguments to pass to robot'
924
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700925 project-type: pipeline
926 concurrent: true
927
928 dsl: !include-raw-escape: pipeline/{pipeline-script}