blob: 6d6a9fa2d8b39b09087324702e93750ce1ce2292 [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
TorstenThiemea6c21342021-05-05 09:21:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test-att
TorstenThieme45422612021-03-23 10:38:59 +000020 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
21 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Kailash8b8de742019-07-30 08:54:51 -070022
23 jobs:
Matteo Scandoloa57b0972021-05-03 14:04:58 -070024 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070026 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +000027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080028 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070029 testTargets: |
30 - target: functional-single-kind
31 workflow: att
32 flags: ""
33 teardown: true
34 - target: bbsim-alarms-kind
35 workflow: att
36 flags: ""
37 teardown: false
38 - target: bbsim-failurescenarios
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-errorscenarios
43 workflow: att
44 flags: ""
45 teardown: false
46
47 - 'voltha-periodic-test':
48 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 code-branch: 'master'
50 olts: 2
Andrea Campanella67850712021-06-04 08:13:08 +000051 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080052 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070053 testTargets: |
54 - target: functional-multi-olt
55 workflow: att
56 flags: ""
57 teardown: true
58 - target: bbsim-multiolt-failurescenarios
59 workflow: att
60 flags: ""
61 teardown: false
62 - target: bbsim-multiolt-errorscenarios
63 workflow: att
64 flags: ""
65 teardown: false
66 - target: bbsim-multiolt-kind
67 workflow: att
68 flags: ""
69 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070070
Matteo Scandolo075740f2021-04-22 14:52:29 -070071 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053072 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070073 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080074 build-node: 'qct-pod4-node2'
75 make-target: functional-multi-olt
76 make-target-failtest: bbsim-multiolt-failurescenarios
77 make-target-errortest: bbsim-multiolt-errorscenarios
78 make-target-alarmtest: bbsim-alarms-kind
79 make-target-multipleolt: bbsim-multiolt-kind
80 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070081 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080082 olts: 2
83 onus: 2
84 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -070085 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080086
Matteo Scandoloa57b0972021-05-03 14:04:58 -070087 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -080088 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000089 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +000090 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +000091 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +000092 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +000093 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070094 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +000095 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070096 workflow: att
97 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -070098 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070099 - target: 1t4gem-openonu-go-adapter-test
100 workflow: att
101 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700102 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700103 - target: 1t8gem-openonu-go-adapter-test
104 workflow: att
105 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700106 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700107 - target: mib-upload-templating-openonu-go-adapter-test
108 workflow: att
109 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700110 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000111 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700112 workflow: att
113 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700114 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700115 - target: reconcile-openonu-go-adapter-test-dt
116 workflow: dt
117 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700118 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700119 - target: reconcile-openonu-go-adapter-test-tt
120 workflow: tt
121 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700122 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000123 - target: openonu-go-adapter-omci-hardening-passed-test
124 workflow: att
125 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
126 teardown: true
127 - target: openonu-go-adapter-omci-hardening-failed-test
128 workflow: att
129 flags: "--set omci_response_rate=7"
130 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000131
132 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700133 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000134 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700135 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000136 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700137 gerrit-project: '$GERRIT_PROJECT'
138 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000139 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700140 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000141 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700142 workflow: att
143 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700144 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700145 - target: 1t4gem-openonu-go-adapter-test
146 workflow: att
147 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700148 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700149 - target: 1t8gem-openonu-go-adapter-test
150 workflow: att
151 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700152 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700153 - target: mib-upload-templating-openonu-go-adapter-test
154 workflow: att
155 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700156 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000157 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700158 workflow: att
159 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700160 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700161 - target: reconcile-openonu-go-adapter-test-dt
162 workflow: dt
163 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700164 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700165 - target: reconcile-openonu-go-adapter-test-tt
166 workflow: tt
167 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700168 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000169 - target: openonu-go-adapter-omci-hardening-passed-test
170 workflow: att
171 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
172 teardown: true
173 - target: openonu-go-adapter-omci-hardening-failed-test
174 workflow: att
175 flags: "--set omci_response_rate=7"
176 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700177
178 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530179 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700180 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700181 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530182 make-target: openonu-go-adapter-test
183 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
184 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000185 make-target-reconciletest: reconcile-openonu-go-adapter-test
186 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
187 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530188 withAlarms: false
189 code-branch: 'voltha-2.7'
190 time-trigger: "H H/23 * * *"
191
192 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000193 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700194 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000195 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700196 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000197 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700198 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000199 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700200 workflow: att
201 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700202 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700203 - target: 1t4gem-openonu-go-adapter-multi-olt-test
204 workflow: att
205 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700206 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700207 - target: 1t8gem-openonu-go-adapter-multi-olt-test
208 workflow: att
209 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700210 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000211 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700212 workflow: att
213 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700214 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700215 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
216 workflow: dt
217 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700218 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700219 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
220 workflow: tt
221 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700222 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000223 time-trigger: "H H/12 * * *"
224
225 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700226 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
227 trigger-comment: "voltha test openonu multiolt"
228 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000229 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700230 gerrit-project: '$GERRIT_PROJECT'
231 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000232 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700233 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000234 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700235 workflow: att
236 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700237 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700238 - target: 1t4gem-openonu-go-adapter-multi-olt-test
239 workflow: att
240 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700241 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700242 - target: 1t8gem-openonu-go-adapter-multi-olt-test
243 workflow: att
244 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700245 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000246 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700247 workflow: att
248 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700249 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700250 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
251 workflow: dt
252 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700253 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700254 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
255 workflow: tt
256 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700257 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700258 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700259
TorstenThieme869ba322021-05-05 12:11:42 +0000260 - 'voltha-periodic-test':
261 name: 'periodic-voltha-pm-data-test-bbsim'
262 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000263 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000264 time-trigger: "H H/23 * * *"
265 logLevel: 'DEBUG'
266 testTargets: |
267 - target: voltha-pm-data-single-kind-att
268 workflow: att
269 flags: ""
270 teardown: true
271 - target: voltha-pm-data-single-kind-dt
272 workflow: dt
273 flags: ""
274 teardown: true
275 - target: voltha-pm-data-single-kind-tt
276 workflow: tt
277 flags: ""
278 teardown: true
279 timeout: 140
280
281 - 'voltha-periodic-test':
282 name: 'patchset-voltha-pm-data-test-bbsim'
283 trigger-comment: "voltha test pm data singleolt"
284 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000285 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000286 code-branch: '$GERRIT_BRANCH'
287 gerrit-project: '$GERRIT_PROJECT'
288 gerritRefspec: '$GERRIT_REFSPEC'
289 logLevel: 'DEBUG'
290 testTargets: |
291 - target: voltha-pm-data-single-kind-att
292 workflow: att
293 flags: ""
294 teardown: true
295 - target: voltha-pm-data-single-kind-dt
296 workflow: dt
297 flags: ""
298 teardown: true
299 - target: voltha-pm-data-single-kind-tt
300 workflow: tt
301 flags: ""
302 teardown: true
303 timeout: 140
304
305 - 'voltha-periodic-test':
306 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
307 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000308 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000309 olts: 2
310 timeout: 180
311 logLevel: 'DEBUG'
312 testTargets: |
313 - target: voltha-pm-data-multiolt-kind-att
314 workflow: att
315 flags: ""
316 teardown: true
317 - target: voltha-pm-data-multiolt-kind-dt
318 workflow: dt
319 flags: ""
320 teardown: true
321 - target: voltha-pm-data-multiolt-kind-tt
322 workflow: tt
323 flags: ""
324 teardown: true
325 time-trigger: "H H/23 * * *"
326
327 - 'voltha-periodic-test':
328 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
329 trigger-comment: "voltha test pm data multiolt"
330 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000331 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000332 gerrit-project: '$GERRIT_PROJECT'
333 gerritRefspec: '$GERRIT_REFSPEC'
334 logLevel: 'DEBUG'
335 testTargets: |
336 - target: voltha-pm-data-multiolt-kind-att
337 workflow: att
338 flags: ""
339 teardown: true
340 - target: voltha-pm-data-multiolt-kind-dt
341 workflow: dt
342 flags: ""
343 teardown: true
344 - target: voltha-pm-data-multiolt-kind-tt
345 workflow: tt
346 flags: ""
347 teardown: true
348 olts: 2
349 timeout: 180
350
Matteo Scandolo075740f2021-04-22 14:52:29 -0700351 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530352 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700353 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700354 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530355 make-target: openonu-go-adapter-multi-olt-test
356 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
357 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000358 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
359 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
360 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530361 withAlarms: false
362 code-branch: 'voltha-2.7'
363 olts: 2
364 onus: 2
365 pons: 2
366 time-trigger: "H H/23 * * *"
367
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700368 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100369 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700370 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100371 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800372 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700373 testTargets: |
374 - target: bbsim-dmi-hw-management-test
375 workflow: att
376 flags: ""
377 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100378
Matteo Scandolo075740f2021-04-22 14:52:29 -0700379 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700380 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700381 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100382 build-node: 'qct-pod4-node2'
383 make-target: bbsim-dmi-hw-management-test
384 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700385 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800386 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100387
Matteo Scandolo075740f2021-04-22 14:52:29 -0700388 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700389 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700390 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700391 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700392 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800393 make-target-failtest: bbsim-failurescenarios
394 make-target-errortest: bbsim-errorscenarios
395 make-target-alarmtest: bbsim-alarms-kind
396 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700397 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700398 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700399
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700400 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700401 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700402 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800403 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700404 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800405 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700406 testTargets: |
407 - target: sanity-multi-kind
408 workflow: att
409 flags: ""
410 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800411
Matteo Scandolo075740f2021-04-22 14:52:29 -0700412 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700413 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700414 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700415 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700416 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700417 make-target: sanity-multi-kind
418 onus: 2
419 pons: 2
420 time-trigger: "H H/12 * * *"
421
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700422 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700423 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700424 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800425 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700426 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
427 testTargets: |
428 - target: sanity-kind
429 workflow: att
430 flags: ""
431 teardown: true
432 - target: sanity-kind
433 workflow: att
434 flags: ""
435 teardown: false
436 - target: sanity-kind
437 workflow: att
438 flags: ""
439 teardown: false
440 - target: sanity-kind
441 workflow: att
442 flags: ""
443 teardown: false
444 - target: sanity-kind
445 workflow: att
446 flags: ""
447 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700448
Matteo Scandolo075740f2021-04-22 14:52:29 -0700449 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700450 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700451 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700452 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700453 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700454 make-target: sanity-kind
455 onus: 1
456 pons: 1
457 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800458 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700459
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700460 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700461 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700462 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700463 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700464 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700465 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
466 testTargets: |
467 - target: sanity-kind-dt
468 workflow: dt
469 flags: ""
470 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700471
Matteo Scandolob6d80732021-05-05 14:06:42 -0700472 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700473 - 'verify_physical_voltha_patchset_auto':
474 name: 'verify_physical_voltha_patchset_auto'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700475 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700476 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700477 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700478
Matteo Scandolob6d80732021-05-05 14:06:42 -0700479 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700480 - 'verify_physical_voltha_patchset_auto':
481 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700482 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700483 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700484 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
485 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700486 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700487
Matteo Scandolob6d80732021-05-05 14:06:42 -0700488 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700489 - 'verify_physical_voltha_patchset_manual':
490 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700491 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700492 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700493 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700494 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700495
Matteo Scandolob6d80732021-05-05 14:06:42 -0700496 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
497 - 'verify_physical_voltha_patchset_manual':
498 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
499 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
500 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
501 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
502 trigger-string: 'hardware test'
503 branch-pattern: voltha-2.7
504 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700505
Matteo Scandolob6d80732021-05-05 14:06:42 -0700506 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700507 - 'verify_physical_voltha_patchset_manual':
508 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700509 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700510 trigger-string: 'DT hardware test'
511 default-test-args: '-i sanityDt -i PowerSwitch -X'
512 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700513 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700514
Matteo Scandolob6d80732021-05-05 14:06:42 -0700515 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700516 - 'verify_physical_voltha_patchset_manual':
517 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
518 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700519 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700520 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700521 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700522 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800523 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700524 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700525
Kailash8b8de742019-07-30 08:54:51 -0700526- job-template:
Kailashaad71012019-08-27 10:36:53 -0700527 id: 'voltha-periodic-test'
528 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000529 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700530 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700531 robot-args: ''
532 gerrit-project: ''
533 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700534 volthaSystemTestsChange: ''
535 volthaHelmChartsChange: ''
536 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700537 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700538 sandbox: true
539 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000540 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000541 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700542
Matteo Scandolo075740f2021-04-22 14:52:29 -0700543 trigger-comment: vv7CBoQQYYonvaN8xcru
544 time-trigger: 0 0 29 2 *
545
546 description: |
547 <!-- Managed by Jenkins Job Builder -->
548 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
549 E2E Validation for Voltha 2.X
550
551 properties:
552 - cord-infra-properties:
553 build-days-to-keep: '{big-build-days-to-keep}'
554 artifact-num-to-keep: '{big-artifact-num-to-keep}'
555
556 wrappers:
557 - lf-infra-wrappers:
558 build-timeout: '{build-timeout}'
559 jenkins-ssh-credential: '{jenkins-ssh-credential}'
560
561 parameters:
562 - string:
563 name: buildNode
564 default: '{build-node}'
565 description: 'Name of the Jenkins node to run the job on'
566
567 - string:
568 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700569 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700570 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700571
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700572 # test configuration
573 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
574 # the provided configuration and then the make target is invoked,
575 # example value (has to be valid YAML):
576 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000577 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700578 # workflow: att
579 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700580 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700581 - text:
582 name: testTargets
583 default: '{testTargets}'
584 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700585
586 - string:
587 name: branch
588 default: '{code-branch}'
589 description: 'Repo manifest branch for code checkout'
590
591 - string:
592 name: gerritProject
593 default: '{gerrit-project}'
594 description: 'Name of the Gerrit project'
595
596 - string:
597 name: gerritRefspec
598 default: ''
599 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
600
601 - string:
602 name: extraRobotArgs
603 default: '{robot-args}'
604 description: 'Arguments to pass to robot'
605
606 - string:
607 name: volthaSystemTestsChange
608 default: '{volthaSystemTestsChange}'
609 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
610
611 - string:
612 name: volthaHelmChartsChange
613 default: '{volthaHelmChartsChange}'
614 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
615
616 - string:
617 name: olts
618 default: '{olts}'
619 description: 'How many BBSim instances to run'
620
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700621 - string:
622 name: registry
623 default: '{registry}'
624 description: 'Which registry to use (amazon vs menlo)'
625
Hardik Windlass696002d2021-05-07 11:38:28 +0000626 - string:
627 name: logLevel
628 default: '{logLevel}'
629 description: 'Log level for all the components'
630
TorstenThieme869ba322021-05-05 12:11:42 +0000631 - string:
632 name: timeout
633 default: '{timeout}'
634 description: 'Timeout of pipeline job [minutes]'
635
Matteo Scandolo075740f2021-04-22 14:52:29 -0700636 project-type: pipeline
637 concurrent: true
638
639 dsl: !include-raw-escape: pipeline/{pipeline-script}
640
641 triggers:
642 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
643 - timed: |
644 TZ=America/Los_Angeles
645 {time-trigger}
646 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
647 - gerrit:
648 server-name: '{gerrit-server-name}'
649 silent-start: false
650 successful-message: "PASSED openonu-go test"
651 failure-message: "FAILED openonu-go test"
652 unstable-message: "UNSTABLE openonu-go test"
653 trigger-on:
654 - comment-added-contains-event:
655 comment-contains-value: '.*{trigger-comment}.*'
656 projects:
657 - project-compare-type: REG_EXP
658 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
659 branches:
660 - branch-compare-type: REG_EXP
661 branch-pattern: '{all-branches-regexp}'
662
663- job-template:
664 id: 'voltha-periodic-test-kind-voltha-based'
665 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700666 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700667 test-runs: 1
668 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700669 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700670 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700671 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700672 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700673 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200674 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700675 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800676 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800677 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700678
Kailash8b8de742019-07-30 08:54:51 -0700679 description: |
680 <!-- Managed by Jenkins Job Builder -->
681 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
682 E2E Validation for Voltha 2.X
683
684 properties:
685 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800686 build-days-to-keep: '{big-build-days-to-keep}'
687 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700688
689 wrappers:
690 - lf-infra-wrappers:
691 build-timeout: '{build-timeout}'
692 jenkins-ssh-credential: '{jenkins-ssh-credential}'
693
694 parameters:
695 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700696 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700697 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700698 description: 'Name of the Jenkins node to run the job on'
699
700 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700701 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200702 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700703 description: 'Helm flags to pass to ./voltha up'
704
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800705 - bool:
706 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800707 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800708 description: "Run alarm based tests when true"
709
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700710 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700711 name: makeTarget
712 default: '{make-target}'
713 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700714
Andy Bavier4c8b3232019-11-22 16:17:47 -0700715 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800716 name: makeFailtestTarget
717 default: '{make-target-failtest}'
718 description: 'Makefile target to invoke during failure/based test'
719
720 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800721 name: makeMultiOltTarget
722 default: '{make-target-multipleolt}'
723 description: 'Makefile target to invoke during multiple olt test'
724
725 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800726 name: makeErrortestTarget
727 default: '{make-target-errortest}'
728 description: 'Makefile target to invoke during error test'
729
730 - string:
731 name: makeAlarmtestTarget
732 default: '{make-target-alarmtest}'
733 description: 'Makefile target to invoke during alarm test'
734
735 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000736 name: make1t4gemTestTarget
737 default: '{make-target-1t4gemtest}'
738 description: 'Makefile target to invoke during 1t4gem test'
739
740 - string:
741 name: make1t8gemTestTarget
742 default: '{make-target-1t8gemtest}'
743 description: 'Makefile target to invoke during 1t8gem test'
744
745 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000746 name: makeReconcileTestTarget
747 default: '{make-target-reconciletest}'
748 description: 'Makefile target to invoke during reconcile test'
749
750 - string:
751 name: makeReconcileDtTestTarget
752 default: '{make-target-reconciledttest}'
753 description: 'Makefile target to invoke during reconcile dt test'
754
755 - string:
756 name: makeReconcileTtTestTarget
757 default: '{make-target-reconciletttest}'
758 description: 'Makefile target to invoke during reconcile tt test'
759
760 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700761 name: manifestUrl
762 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700763 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700764
765 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700766 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700767 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700768 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700769
Andy Bavier3708d072019-12-10 15:22:18 -0700770 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700771 name: gerritProject
772 default: '{gerrit-project}'
773 description: 'Name of the Gerrit project'
774
775 - string:
776 name: gerritChangeNumber
777 default: ''
778 description: 'Changeset number in Gerrit'
779
780 - string:
781 name: gerritPatchsetNumber
782 default: ''
783 description: 'PatchSet number in Gerrit'
784
785 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700786 name: testRuns
787 default: '{test-runs}'
788 description: 'How many times to repeat the tests'
789
790 - string:
791 name: extraRobotArgs
792 default: '{robot-args}'
793 description: 'Arguments to pass to robot'
794
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700795 - string:
796 name: workFlow
797 default: '{work-flow}'
798 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700799
pierventref48ebc12020-07-17 16:01:32 +0200800 - string:
801 name: karafHome
802 default: '{karaf-home}'
803 description: 'Karaf home'
804
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700805 - string:
806 name: volthaSystemTestsChange
807 default: '{volthaSystemTestsChange}'
808 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
809
810 - string:
811 name: kindVolthaChange
812 default: '{kindVolthaChange}'
813 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
814
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800815 - string:
816 name: olts
817 default: '{olts}'
818 description: 'How many BBSim instances to run'
819
Kailash8b8de742019-07-30 08:54:51 -0700820 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700821 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700822
Zack Williamsb3292082019-10-11 17:15:18 -0700823 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700824
825 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700826 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700827 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700828 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700829
830- job-template:
831 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800832 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700833 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000834 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700835 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700836 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800837 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000838 timeout: 50
839 olts: 1
840 registry: mirror.registry.opennetworking.org
841 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700842 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800843 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700844 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800845 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000846 testTargets: |
847 - target: sanity-kind-att
848 workflow: att
849 flags: ""
850 teardown: true
851 - target: sanity-kind-dt
852 workflow: dt
853 flags: ""
854 teardown: true
855 - target: sanity-kind-tt
856 workflow: tt
857 flags: ""
858 teardown: true
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700859 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700860
861 description: |
862 <!-- Managed by Jenkins Job Builder -->
863 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
864 E2E Validation for Voltha 2.X
865
866 properties:
867 - cord-infra-properties:
868 build-days-to-keep: '{build-days-to-keep}'
869 artifact-num-to-keep: '{artifact-num-to-keep}'
870
871 wrappers:
872 - lf-infra-wrappers:
873 build-timeout: '{build-timeout}'
874 jenkins-ssh-credential: '{jenkins-ssh-credential}'
875
876 parameters:
877 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700878 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200879 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700880 description: 'Name of the Jenkins node to run the job on'
881
882 - string:
hwchiu14f97852019-10-08 10:51:11 -0700883 name: gerritProject
884 default: '$GERRIT_PROJECT'
885 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700886
887 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700888 name: gerritRefspec
889 default: '$GERRIT_REFSPEC'
890 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700891
892 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700893 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700894 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700895 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700896
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700897 - string:
898 name: volthaSystemTestsChange
899 default: '{volthaSystemTestsChange}'
900 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
901
902 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800903 name: volthaHelmChartsChange
904 default: '{volthaHelmChartsChange}'
905 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
906
907 - string:
908 name: branch
909 default: '{override-branch}'
910 description: 'Name of the branch to use'
911
Hardik Windlassec9341b2021-06-07 11:58:29 +0000912 # test configuration
913 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
914 # the provided configuration and then the make target is invoked,
915 # example value (has to be valid YAML):
916 # testTargets: |
917 # - target: 1t1gem-openonu-go-adapter-test
918 # workflow: att
919 # flags: ""
920 # teardown: true
921 - text:
922 name: testTargets
923 default: '{testTargets}'
924 description: 'Test configuration, see the ci-management job definition for more info'
925
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000926 - string:
927 name: timeout
928 default: '{timeout}'
929 description: 'Timeout of pipeline job [minutes]'
930
931 - string:
932 name: olts
933 default: '{olts}'
934 description: 'How many BBSim instances to run'
935
936 - string:
937 name: registry
938 default: '{registry}'
939 description: 'Which registry to use (amazon vs menlo)'
940
941 - string:
942 name: logLevel
943 default: '{logLevel}'
944 description: 'Log level for all the components'
945
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700946 # Used in the 2.7 based pipeline, can be removed after 2.8
947 - string:
948 name: kindVolthaChange
949 default: '{kindVolthaChange}'
950 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1" (only used to test kind-voltha changes in 2.7)'
951
Kailashaad71012019-08-27 10:36:53 -0700952 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700953 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700954
Zack Williamsb3292082019-10-11 17:15:18 -0700955 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700956
957 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700958 - gerrit:
959 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700960 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700961 silent-start: true
962 trigger-on:
963 - patchset-created-event:
964 exclude-drafts: true
965 exclude-trivial-rebase: false
966 exclude-no-code-change: true
967 - draft-published-event
968 - comment-added-contains-event:
969 comment-contains-value: '(?i)^.*recheck$'
970 projects:
971 - project-compare-type: REG_EXP
972 project-pattern: '^{project}$'
973 branches:
974 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800975 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700976 file-paths:
977 - compare-type: REG_EXP
978 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700979
980# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700981# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
982- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
983 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700984 parameters:
985 - string:
986 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700987 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700988 description: 'Pod management node'
989
990 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700991 name: branch
992 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700993 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700994
995 - string:
996 name: gerritProject
997 default: '$GERRIT_PROJECT'
998 description: 'Name of the Gerrit project'
999
1000 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001001 name: gerritRefspec
1002 default: '$GERRIT_REFSPEC'
1003 description: 'RefSpec number in Gerrit'
1004
1005 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001006 name: gerritComment
1007 default: '$GERRIT_EVENT_COMMENT_TEXT'
1008 description: 'RefSpec number in Gerrit'
1009
1010 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001011 name: cordRepoUrl
1012 default: '{gerrit-server-url}'
1013 description: 'The URL of the CORD Project repository'
1014
1015 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001016 name: configBaseDir
1017 default: 'pod-configs'
1018 description: 'The directory inside the POD configs repository'
1019
1020 - string:
1021 name: configDeploymentDir
1022 default: 'deployment-configs'
1023 description: 'The deployment configs folder'
1024
1025 - string:
1026 name: configKubernetesDir
1027 default: 'kubernetes-configs'
1028 description: 'The kubernetes config folder'
1029
1030 - string:
1031 name: configFileName
1032 default: '{config-pod}'
1033 description: 'The config file'
1034
1035 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001036 name: podName
1037 default: '{config-pod}'
1038
1039 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001040 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001041 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001042 description: 'Path of SADIS config to load'
1043
1044 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001045 name: oltDebVersionMaster
1046 default: '{oltDebVersionMaster}'
1047 description: 'OLT Software version to install for master branch builds'
1048
1049 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001050 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001051 default: '{oltDebVersionVoltha23}'
1052 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001053
1054 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001055 name: profile
1056 default: '{profile}'
1057 description: 'Technology Profile pushed to the ETCD'
1058
1059 - string:
1060 name: notificationEmail
1061 default: 'andy@opennetworking.org'
1062 description: ''
1063
1064 - bool:
1065 name: reinstallOlt
1066 default: true
1067 description: "Re-install OLT software"
1068
Zack Williams03ebb272020-03-27 09:42:33 -07001069 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001070 name: extraRobotArgs
1071 default: '{default-test-args}'
1072 description: 'Arguments to pass to robot'
1073
1074 - string:
1075 name: volthaSystemTestsChange
1076 default: '{volthaSystemTestsChange}'
1077 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1078
1079 - string:
1080 name: volthaHelmChartsChange
1081 default: '{volthaHelmChartsChange}'
1082 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1083
1084 - string:
1085 name: workflow
1086 default: '{workflow}'
1087 description: 'Installs and uses the specified work flow on the POD'
1088
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001089 - string:
1090 name: extraHelmFlags
1091 default: '{extraHelmFlags}'
1092 description: 'Helm flags (passed to each helm command)'
1093
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001094 # deprecated parameters, remove after VOLTHA-2.8 is released
1095 - string:
1096 name: deploymentConfigFile
1097 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1098 description: 'Path of deployment config file'
1099
1100 - string:
1101 name: kindVolthaValuesFile
1102 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1103 description: 'Path of kind-voltha values override file'
1104
1105 - string:
1106 name: manifestUrl
1107 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1108 description: 'URL to the repo manifest'
1109
1110 - string:
1111 name: gerritChangeNumber
1112 default: '$GERRIT_CHANGE_NUMBER'
1113 description: 'Changeset number in Gerrit'
1114
1115 - string:
1116 name: gerritPatchsetNumber
1117 default: '$GERRIT_PATCHSET_NUMBER'
1118 description: 'PatchSet number in Gerrit'
1119
1120 - string:
1121 name: localConfigDir
1122 default: null
1123 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1124
1125 - string:
1126 name: configRepo
1127 default: 'pod-configs'
1128 description: 'A repository containing the config files, will be checked out if specified'
1129
1130 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001131 name: manualBranch
1132 default: '{manualBranch}'
1133 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001134
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001135- job-template:
1136 name: '{name}'
1137 id: verify_physical_voltha_patchset_auto
1138 description: |
1139 <!-- Managed by Jenkins Job Builder -->
1140 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1141 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1142 Created by Andy Bavier, andy@opennetworking.org <br />
1143 Copyright (c) 2019 Open Networking Foundation (ONF)
1144 sandbox: true
1145 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001146 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001147 build-node: 'tucson-pod'
1148 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001149 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001150 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001151 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1152 volthaSystemTestsChange: ''
1153 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001154 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001155
1156 properties:
1157 - cord-infra-properties:
1158 build-days-to-keep: '{build-days-to-keep}'
1159 artifact-num-to-keep: '{artifact-num-to-keep}'
1160
1161 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001162
1163 project-type: pipeline
1164 concurrent: true
1165
1166 dsl: !include-raw-escape: pipeline/{pipeline-script}
1167
1168 triggers:
1169 - gerrit:
1170 server-name: '{gerrit-server-name}'
1171 dependency-jobs: '{dependency-jobs}'
1172 silent-start: false
1173 successful-message: "PASSED hardware test"
1174 failure-message: "FAILED hardware test"
1175 unstable-message: "UNSTABLE hardware test"
1176 trigger-on:
1177 - comment-added-event:
1178 approval-category: 'Code-Review'
1179 approval-value: '+2'
1180 projects:
1181 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001182 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001183 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001184 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001185 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001186
Andy Bavier51ba7e82019-12-17 11:01:01 -07001187- job-template:
1188 name: '{name}'
1189 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001190 description: |
1191 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001192 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001193 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001194 Created by Andy Bavier, andy@opennetworking.org <br />
1195 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001196 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001197 build-node: 'tucson-pod'
1198 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001199 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001200 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1201 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001202 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001203 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001204 volthaSystemTestsChange: ''
1205 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001206 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001207 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001208
1209 properties:
1210 - cord-infra-properties:
1211 build-days-to-keep: '{build-days-to-keep}'
1212 artifact-num-to-keep: '{artifact-num-to-keep}'
1213
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001214 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001215
Andy Bavier8c11d462019-12-17 08:19:34 -07001216
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001217 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001218 concurrent: true
1219
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001220 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001221
Andy Bavier1f465592019-11-06 10:03:56 -07001222 triggers:
1223 - gerrit:
1224 server-name: '{gerrit-server-name}'
1225 dependency-jobs: '{dependency-jobs}'
1226 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001227 successful-message: "PASSED {trigger-string}"
1228 failure-message: "FAILED {trigger-string}"
1229 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001230 trigger-on:
1231 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001232 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001233 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001234 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001235 projects:
1236 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001237 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 -07001238 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001239 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001240 branch-pattern: '{branch-pattern}'