blob: 1ee9f9f35b38617141d5b3dfa267dfe348392fee [file] [log] [blame]
Hardik Windlass0f9621d2021-02-24 21:23:19 +05301---
2# voltha 2.X tests
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -05003# oar image URLs that redirect away from oss to maven-central (?)
4# olt, dhcpl2relay, igmpproxy, kafka
Hardik Windlass0f9621d2021-02-24 21:23:19 +05305
6- project:
7 name: software-upgrades
8 project-name: '{name}'
9
10 jobs:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040011 - 'software-upgrades-test-master':
Hardik Windlass0f9621d2021-02-24 21:23:19 +053012 name: 'periodic-software-upgrade-test-bbsim'
Jan Klare8846dea2023-09-15 14:31:56 +020013 pipeline-script: 'voltha/software-upgrades.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +020014 pipeline-branch: 'master'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000015 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053016 code-branch: 'master'
Mahir Gunyela492d9d2024-01-03 21:46:53 -080017 aaa-version: '2.10.3'
18 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.10.3/aaa-app-2.10.3.oar'
19 olt-version: '5.2.4'
20 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.4/olt-app-5.2.4.oar'
21 dhcpl2relay-version: '2.10.0'
22 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.10.0/dhcpl2relay-app-2.10.0.oar'
23 igmpproxy-version: '2.8.0'
24 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.8.0/onos-app-igmpproxy-app-2.8.0.oar'
25 sadis-version: '5.11.1'
26 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.11.1/sadis-app-5.11.1.oar'
27 mcast-version: '2.9.0'
28 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.9.0/mcast-app-2.9.0.oar'
29 kafka-version: '2.12.0'
30 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.12.0/kafka-2.12.0.oar'
31 openolt-adapter-deploy-base-tag: '4.4.9'
32 openonu-adapter-deploy-base-tag: '2.11.8'
33 rw-core-deploy-base-tag: '3.5.2'
34 ofagent-deploy-base-tag: '2.12.0'
Hardik Windlass88814542021-06-22 09:43:46 +000035 onu-image-version: 'BBSM_IMG_00002'
36 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
37 onu-image-vendor: 'BBSM'
38 onu-image-activate-on-success: 'false'
39 onu-image-commit-on-success: 'false'
Hardik Windlassae82ab72021-03-31 14:49:47 +053040 onu-image-crc: '0'
Hardik Windlassae82ab72021-03-31 14:49:47 +053041 time-trigger: "H H/23 * * *"
42
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040043# -----------------------------------------------------------------------
44# https://docs.voltha.org/master/release_notes/voltha_2.12.html#id7
45# https://wiki.opennetworking.org/display/VOLTHA/v2.12+Deployments
46# -----------------------------------------------------------------------
47 - 'software-upgrades-test-voltha-2.12':
48 name: 'periodic-software-upgrade-test-bbsim-2.12'
49 pipeline-script: 'voltha/voltha-2.12/software-upgrades.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +020050 pipeline-branch: 'voltha-2.12'
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040051 build-node: 'ubuntu18.04-basebuild-8c-15g'
52 code-branch: 'voltha-2.12'
53 aaa-version: '2.10.3'
54 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.10.3/aaa-app-2.10.3.oar'
55 olt-version: '5.2.4'
56 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.4/olt-app-5.2.4.oar'
57 dhcpl2relay-version: '2.10.0'
58 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.10.0/dhcpl2relay-app-2.10.0.oar'
59 igmpproxy-version: '2.8.0'
60 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.8.0/onos-app-igmpproxy-app-2.8.0.oar'
61 sadis-version: '5.11.1'
62 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.11.1/sadis-app-5.11.1.oar'
63 mcast-version: '2.9.0'
64 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.9.0/mcast-app-2.9.0.oar'
65 kafka-version: '2.12.0'
66 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.12.0/kafka-2.12.0.oar'
67 openolt-adapter-deploy-base-tag: '4.2.6'
68 openonu-adapter-deploy-base-tag: '2.2.8'
69 rw-core-deploy-base-tag: '3.1.8'
70 ofagent-deploy-base-tag: '2.1.2'
71 onu-image-version: 'BBSM_IMG_00002'
72 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
73 onu-image-vendor: 'BBSM'
74 onu-image-activate-on-success: 'false'
75 onu-image-commit-on-success: 'false'
76 onu-image-crc: '0'
77 time-trigger: "H H/23 * * *"
78
79# -----------------------------------------------------------------------
80# https://docs.voltha.org/master/release_notes/voltha_2.11.html#onos-apps
81# -----------------------------------------------------------------------
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050082 - 'software-upgrades-test-voltha-2.11':
83 name: 'periodic-software-upgrade-test-bbsim-2.11'
84 pipeline-script: 'voltha/voltha-2.11/software-upgrades.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +020085 pipeline-branch: 'voltha-2.11'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050086 build-node: 'ubuntu18.04-basebuild-8c-15g'
87 code-branch: 'voltha-2.11'
88 aaa-version: '2.9.0'
89 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.9.0/aaa-app-2.9.0.oar'
90 olt-version: '5.2.3'
91 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.3/olt-app-5.2.3.oar'
92 dhcpl2relay-version: '2.9.0'
93 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.9.0/dhcpl2relay-app-2.9.0.oar'
94 igmpproxy-version: '2.7.0'
95 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.7.0/onos-app-igmpproxy-app-2.7.0.oar'
96 sadis-version: '5.10.0'
97 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.10.0/sadis-app-5.10.0.oar'
98 mcast-version: '2.8.0'
99 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.8.0.oar'
100 kafka-version: '2.11.1'
101 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.11.1/kafka-2.11.1.oar'
Joey Armstronged6c46e2023-02-03 11:08:42 -0500102 openolt-adapter-deploy-base-tag: '4.2.6'
103 openonu-adapter-deploy-base-tag: '2.2.8'
104 rw-core-deploy-base-tag: '3.1.8'
105 ofagent-deploy-base-tag: '2.1.2'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -0500106 onu-image-version: 'BBSM_IMG_00002'
107 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
108 onu-image-vendor: 'BBSM'
109 onu-image-activate-on-success: 'false'
110 onu-image-commit-on-success: 'false'
111 onu-image-crc: '0'
112 time-trigger: "H H/23 * * *"
113
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400114# - 'software-upgrades-test-2.8':
115# name: 'periodic-software-upgrade-test-bbsim-2.8'
116# pipeline-script: 'voltha/voltha-2.8/software-upgrades.groovy'
117# build-node: 'ubuntu18.04-basebuild-8c-15g'
118# code-branch: 'voltha-2.8'
119# aaa-version: '2.4.0'
120# aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
121# olt-version: '4.5.0'
122# olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
123# dhcpl2relay-version: '2.5.0'
124# dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
125# igmpproxy-version: '2.3.0'
126# igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.3.0/onos-app-igmpproxy-app-2.3.0.oar'
127# sadis-version: '5.4.0'
128# sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
129# mcast-version: '2.4.0'
130# mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
131# kafka-version: '2.7.0'
132# kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0/kafka-2.7.0.oar'
133# adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.5.12'
134# adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.28'
135# rw-core-image: 'voltha/voltha-rw-core:2.9.6'
136# ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
137# onu-image-version: 'BBSM_IMG_00002'
138# onu-image-url: 'http://bbsim0:50074/images/software-image.img'
139# onu-image-vendor: 'BBSM'
140# onu-image-activate-on-success: 'false'
141# onu-image-commit-on-success: 'false'
142# onu-image-crc: '0'
143# time-trigger: "H H/23 * * *"
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530144
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400145# -----------------------------------------------------------------------
Hardik Windlass317ad022022-02-21 11:18:18 +0000146# to be used for voltha releases 2.9 onwards
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400147# -----------------------------------------------------------------------
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530148- job-template:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400149 id: 'software-upgrades-test-master'
Hardik Windlass317ad022022-02-21 11:18:18 +0000150 name: '{name}'
151 sandbox: true
152 volthaSystemTestsChange: ''
153 volthaHelmChartsChange: ''
154 kindVolthaChange: ''
155 logLevel: 'DEBUG'
156 logging: true
157
158 description: |
159 <!-- Managed by Jenkins Job Builder -->
160 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
Mahir Gunyeldaa38a32024-01-04 12:50:20 -0800161 E2E Validation for Voltha master
Hardik Windlass317ad022022-02-21 11:18:18 +0000162 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -0400163 - onf-infra-volthadevs-permissions
Hardik Windlass317ad022022-02-21 11:18:18 +0000164 - cord-infra-properties:
165 build-days-to-keep: '{build-days-to-keep}'
166 artifact-num-to-keep: '{artifact-num-to-keep}'
167
168 wrappers:
169 - lf-infra-wrappers:
170 build-timeout: '{build-timeout}'
171 jenkins-ssh-credential: '{jenkins-ssh-credential}'
172
173 parameters:
174 - string:
175 name: buildNode
176 default: '{build-node}'
177 description: 'Name of the Jenkins node to run the job on'
178
179 - string:
180 name: extraHelmFlags
181 default: ''
182 description: 'Helm flags to pass to every helm install command'
183
184 - string:
185 name: volthaSystemTestsChange
186 default: ''
187 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
188
189 - string:
190 name: volthaHelmChartsChange
191 default: ''
192 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
193
194 - string:
195 name: branch
196 default: '{code-branch}'
197 description: 'Name of the branch to use'
198
199 - string:
200 name: onosImg
201 default: ''
202 description: 'ONOS Image to use'
203
204 - string:
205 name: aaaVer
206 default: '{aaa-version}'
207 description: 'ONOS AAA App Version to Test Upgrade'
208
209 - string:
210 name: aaaOarUrl
211 default: '{aaa-oar-url}'
212 description: 'ONOS AAA App OAR File Url'
213
214 - string:
215 name: oltVer
216 default: '{olt-version}'
217 description: 'ONOS OLT App Version to Test Upgrade'
218
219 - string:
220 name: oltOarUrl
221 default: '{olt-oar-url}'
222 description: 'ONOS OLT App OAR File Url'
223
224 - string:
225 name: dhcpl2relayVer
226 default: '{dhcpl2relay-version}'
227 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
228
229 - string:
230 name: dhcpl2relayOarUrl
231 default: '{dhcpl2relay-oar-url}'
232 description: 'ONOS DHCP L2 Relay App OAR File Url'
233
234 - string:
235 name: igmpproxyVer
236 default: '{igmpproxy-version}'
237 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
238
239 - string:
240 name: igmpproxyOarUrl
241 default: '{igmpproxy-oar-url}'
242 description: 'ONOS Igmp Proxy App OAR File Url'
243
244 - string:
245 name: sadisVer
246 default: '{sadis-version}'
247 description: 'ONOS Sadis App Version to Test Upgrade'
248
249 - string:
250 name: sadisOarUrl
251 default: '{sadis-oar-url}'
252 description: 'ONOS Sadis App OAR File Url'
253
254 - string:
255 name: mcastVer
256 default: '{mcast-version}'
257 description: 'ONOS MCast App Version to Test Upgrade'
258
259 - string:
260 name: mcastOarUrl
261 default: '{mcast-oar-url}'
262 description: 'ONOS MCast App OAR File Url'
263
264 - string:
265 name: kafkaVer
266 default: '{kafka-version}'
267 description: 'ONOS Kafka App Version to Test Upgrade'
268
269 - string:
270 name: kafkaOarUrl
271 default: '{kafka-oar-url}'
272 description: 'ONOS Kafka App OAR File Url'
273
274 - string:
Hardik Windlass8e264492022-03-25 16:15:45 +0000275 name: openoltAdapterDeployBaseTag
276 default: '{openolt-adapter-deploy-base-tag}'
277 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
278
279 - string:
280 name: openonuAdapterDeployBaseTag
281 default: '{openonu-adapter-deploy-base-tag}'
282 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
283
284 - string:
285 name: rwCoreDeployBaseTag
286 default: '{rw-core-deploy-base-tag}'
287 description: 'Minimum Version of RW Core to be used for Deployment'
288
289 - string:
290 name: ofagentDeployBaseTag
291 default: '{ofagent-deploy-base-tag}'
292 description: 'Minimum Version of Ofagent to be used for Deployment'
293
294 - string:
Hardik Windlass317ad022022-02-21 11:18:18 +0000295 name: onuImageVersion
296 default: '{onu-image-version}'
297 description: 'Version of ONU Image to Upgrade'
298
299 - string:
300 name: onuImageUrl
301 default: '{onu-image-url}'
302 description: 'Url of ONU Image to Upgrade'
303
304 - string:
305 name: onuImageVendor
306 default: '{onu-image-vendor}'
307 description: 'Vendor of ONU Image to Upgrade'
308
309 - string:
310 name: onuImageActivateOnSuccess
311 default: '{onu-image-activate-on-success}'
312 description: 'Activate ONU Image'
313
314 - string:
315 name: onuImageCommitOnSuccess
316 default: '{onu-image-commit-on-success}'
317 description: 'Commit ONU Image'
318
319 - string:
320 name: onuImageCrc
321 default: '{onu-image-crc}'
322 description: 'CRC of ONU Image to Upgrade'
323
324 - string:
325 name: logLevel
326 default: '{logLevel}'
327 description: 'Log level for all the components'
328
329 - bool:
330 name: logging
331 default: '{logging}'
332 description: 'Option to collect voltha components logs per test case'
333
334 project-type: pipeline
335 concurrent: true
336
Jan Klare8b7b3df2023-09-15 11:27:15 +0200337 pipeline-scm:
338 scm:
339 - git:
340 url: https://gerrit.opencord.org/ci-management
341 branches:
342 - origin/{pipeline-branch}
343 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass317ad022022-02-21 11:18:18 +0000344
345 triggers:
346 - timed: |
347 TZ=America/Los_Angeles
348 {time-trigger}
349
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400350# -----------------------------------------------------------------------
351# -----------------------------------------------------------------------
352- job-template:
353 id: 'software-upgrades-test-voltha-2.12'
354 name: '{name}'
355 sandbox: true
356 volthaSystemTestsChange: ''
357 volthaHelmChartsChange: ''
358 kindVolthaChange: ''
359 logLevel: 'DEBUG'
360 logging: true
361
362 description: |
363 <!-- Managed by Jenkins Job Builder -->
364 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
365 E2E Validation for Voltha 2.X
366 properties:
367 - onf-infra-volthadevs-permissions
368 - cord-infra-properties:
369 build-days-to-keep: '{build-days-to-keep}'
370 artifact-num-to-keep: '{artifact-num-to-keep}'
371
372 wrappers:
373 - lf-infra-wrappers:
374 build-timeout: '{build-timeout}'
375 jenkins-ssh-credential: '{jenkins-ssh-credential}'
376
377 parameters:
378 - string:
379 name: buildNode
380 default: '{build-node}'
381 description: 'Name of the Jenkins node to run the job on'
382
383 - string:
384 name: extraHelmFlags
385 default: ''
386 description: 'Helm flags to pass to every helm install command'
387
388 - string:
389 name: volthaSystemTestsChange
390 default: ''
391 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
392
393 - string:
394 name: volthaHelmChartsChange
395 default: ''
396 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
397
398 - string:
399 name: branch
400 default: '{code-branch}'
401 description: 'Name of the branch to use'
402
403 - string:
404 name: onosImg
405 default: ''
406 description: 'ONOS Image to use'
407
408 - string:
409 name: aaaVer
410 default: '{aaa-version}'
411 description: 'ONOS AAA App Version to Test Upgrade'
412
413 - string:
414 name: aaaOarUrl
415 default: '{aaa-oar-url}'
416 description: 'ONOS AAA App OAR File Url'
417
418 - string:
419 name: oltVer
420 default: '{olt-version}'
421 description: 'ONOS OLT App Version to Test Upgrade'
422
423 - string:
424 name: oltOarUrl
425 default: '{olt-oar-url}'
426 description: 'ONOS OLT App OAR File Url'
427
428 - string:
429 name: dhcpl2relayVer
430 default: '{dhcpl2relay-version}'
431 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
432
433 - string:
434 name: dhcpl2relayOarUrl
435 default: '{dhcpl2relay-oar-url}'
436 description: 'ONOS DHCP L2 Relay App OAR File Url'
437
438 - string:
439 name: igmpproxyVer
440 default: '{igmpproxy-version}'
441 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
442
443 - string:
444 name: igmpproxyOarUrl
445 default: '{igmpproxy-oar-url}'
446 description: 'ONOS Igmp Proxy App OAR File Url'
447
448 - string:
449 name: sadisVer
450 default: '{sadis-version}'
451 description: 'ONOS Sadis App Version to Test Upgrade'
452
453 - string:
454 name: sadisOarUrl
455 default: '{sadis-oar-url}'
456 description: 'ONOS Sadis App OAR File Url'
457
458 - string:
459 name: mcastVer
460 default: '{mcast-version}'
461 description: 'ONOS MCast App Version to Test Upgrade'
462
463 - string:
464 name: mcastOarUrl
465 default: '{mcast-oar-url}'
466 description: 'ONOS MCast App OAR File Url'
467
468 - string:
469 name: kafkaVer
470 default: '{kafka-version}'
471 description: 'ONOS Kafka App Version to Test Upgrade'
472
473 - string:
474 name: kafkaOarUrl
475 default: '{kafka-oar-url}'
476 description: 'ONOS Kafka App OAR File Url'
477
478 - string:
479 name: openoltAdapterDeployBaseTag
480 default: '{openolt-adapter-deploy-base-tag}'
481 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
482
483 - string:
484 name: openonuAdapterDeployBaseTag
485 default: '{openonu-adapter-deploy-base-tag}'
486 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
487
488 - string:
489 name: rwCoreDeployBaseTag
490 default: '{rw-core-deploy-base-tag}'
491 description: 'Minimum Version of RW Core to be used for Deployment'
492
493 - string:
494 name: ofagentDeployBaseTag
495 default: '{ofagent-deploy-base-tag}'
496 description: 'Minimum Version of Ofagent to be used for Deployment'
497
498 - string:
499 name: onuImageVersion
500 default: '{onu-image-version}'
501 description: 'Version of ONU Image to Upgrade'
502
503 - string:
504 name: onuImageUrl
505 default: '{onu-image-url}'
506 description: 'Url of ONU Image to Upgrade'
507
508 - string:
509 name: onuImageVendor
510 default: '{onu-image-vendor}'
511 description: 'Vendor of ONU Image to Upgrade'
512
513 - string:
514 name: onuImageActivateOnSuccess
515 default: '{onu-image-activate-on-success}'
516 description: 'Activate ONU Image'
517
518 - string:
519 name: onuImageCommitOnSuccess
520 default: '{onu-image-commit-on-success}'
521 description: 'Commit ONU Image'
522
523 - string:
524 name: onuImageCrc
525 default: '{onu-image-crc}'
526 description: 'CRC of ONU Image to Upgrade'
527
528 - string:
529 name: logLevel
530 default: '{logLevel}'
531 description: 'Log level for all the components'
532
533 - bool:
534 name: logging
535 default: '{logging}'
536 description: 'Option to collect voltha components logs per test case'
537
538 project-type: pipeline
539 concurrent: true
540
Jan Klare8b7b3df2023-09-15 11:27:15 +0200541 pipeline-scm:
542 scm:
543 - git:
544 url: https://gerrit.opencord.org/ci-management
545 branches:
546 - origin/{pipeline-branch}
547 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400548
549 triggers:
550 - timed: |
551 TZ=America/Los_Angeles
552 {time-trigger}
553
554# -----------------------------------------------------------------------
Joey Armstronged6c46e2023-02-03 11:08:42 -0500555# to be used for voltha releases 2.9 onwards
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400556# -----------------------------------------------------------------------
Joey Armstronged6c46e2023-02-03 11:08:42 -0500557- job-template:
558 id: 'software-upgrades-test-voltha-2.11'
559 name: '{name}'
560 sandbox: true
561 volthaSystemTestsChange: ''
562 volthaHelmChartsChange: ''
563 kindVolthaChange: ''
564 logLevel: 'DEBUG'
565 logging: true
566
567 description: |
568 <!-- Managed by Jenkins Job Builder -->
569 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
570 E2E Validation for Voltha 2.X
571 properties:
572 - onf-infra-volthadevs-permissions
573 - cord-infra-properties:
574 build-days-to-keep: '{build-days-to-keep}'
575 artifact-num-to-keep: '{artifact-num-to-keep}'
576
577 wrappers:
578 - lf-infra-wrappers:
579 build-timeout: '{build-timeout}'
580 jenkins-ssh-credential: '{jenkins-ssh-credential}'
581
582 parameters:
583 - string:
584 name: buildNode
585 default: '{build-node}'
586 description: 'Name of the Jenkins node to run the job on'
587
588 - string:
589 name: extraHelmFlags
590 default: ''
591 description: 'Helm flags to pass to every helm install command'
592
593 - string:
594 name: volthaSystemTestsChange
595 default: ''
596 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
597
598 - string:
599 name: volthaHelmChartsChange
600 default: ''
601 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
602
603 - string:
604 name: branch
605 default: '{code-branch}'
606 description: 'Name of the branch to use'
607
608 - string:
609 name: onosImg
610 default: ''
611 description: 'ONOS Image to use'
612
613 - string:
614 name: aaaVer
615 default: '{aaa-version}'
616 description: 'ONOS AAA App Version to Test Upgrade'
617
618 - string:
619 name: aaaOarUrl
620 default: '{aaa-oar-url}'
621 description: 'ONOS AAA App OAR File Url'
622
623 - string:
624 name: oltVer
625 default: '{olt-version}'
626 description: 'ONOS OLT App Version to Test Upgrade'
627
628 - string:
629 name: oltOarUrl
630 default: '{olt-oar-url}'
631 description: 'ONOS OLT App OAR File Url'
632
633 - string:
634 name: dhcpl2relayVer
635 default: '{dhcpl2relay-version}'
636 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
637
638 - string:
639 name: dhcpl2relayOarUrl
640 default: '{dhcpl2relay-oar-url}'
641 description: 'ONOS DHCP L2 Relay App OAR File Url'
642
643 - string:
644 name: igmpproxyVer
645 default: '{igmpproxy-version}'
646 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
647
648 - string:
649 name: igmpproxyOarUrl
650 default: '{igmpproxy-oar-url}'
651 description: 'ONOS Igmp Proxy App OAR File Url'
652
653 - string:
654 name: sadisVer
655 default: '{sadis-version}'
656 description: 'ONOS Sadis App Version to Test Upgrade'
657
658 - string:
659 name: sadisOarUrl
660 default: '{sadis-oar-url}'
661 description: 'ONOS Sadis App OAR File Url'
662
663 - string:
664 name: mcastVer
665 default: '{mcast-version}'
666 description: 'ONOS MCast App Version to Test Upgrade'
667
668 - string:
669 name: mcastOarUrl
670 default: '{mcast-oar-url}'
671 description: 'ONOS MCast App OAR File Url'
672
673 - string:
674 name: kafkaVer
675 default: '{kafka-version}'
676 description: 'ONOS Kafka App Version to Test Upgrade'
677
678 - string:
679 name: kafkaOarUrl
680 default: '{kafka-oar-url}'
681 description: 'ONOS Kafka App OAR File Url'
682
683 - string:
684 name: openoltAdapterDeployBaseTag
685 default: '{openolt-adapter-deploy-base-tag}'
686 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
687
688 - string:
689 name: openonuAdapterDeployBaseTag
690 default: '{openonu-adapter-deploy-base-tag}'
691 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
692
693 - string:
694 name: rwCoreDeployBaseTag
695 default: '{rw-core-deploy-base-tag}'
696 description: 'Minimum Version of RW Core to be used for Deployment'
697
698 - string:
699 name: ofagentDeployBaseTag
700 default: '{ofagent-deploy-base-tag}'
701 description: 'Minimum Version of Ofagent to be used for Deployment'
702
703 - string:
704 name: onuImageVersion
705 default: '{onu-image-version}'
706 description: 'Version of ONU Image to Upgrade'
707
708 - string:
709 name: onuImageUrl
710 default: '{onu-image-url}'
711 description: 'Url of ONU Image to Upgrade'
712
713 - string:
714 name: onuImageVendor
715 default: '{onu-image-vendor}'
716 description: 'Vendor of ONU Image to Upgrade'
717
718 - string:
719 name: onuImageActivateOnSuccess
720 default: '{onu-image-activate-on-success}'
721 description: 'Activate ONU Image'
722
723 - string:
724 name: onuImageCommitOnSuccess
725 default: '{onu-image-commit-on-success}'
726 description: 'Commit ONU Image'
727
728 - string:
729 name: onuImageCrc
730 default: '{onu-image-crc}'
731 description: 'CRC of ONU Image to Upgrade'
732
733 - string:
734 name: logLevel
735 default: '{logLevel}'
736 description: 'Log level for all the components'
737
738 - bool:
739 name: logging
740 default: '{logging}'
741 description: 'Option to collect voltha components logs per test case'
742
743 project-type: pipeline
744 concurrent: true
745
Jan Klare8b7b3df2023-09-15 11:27:15 +0200746 pipeline-scm:
747 scm:
748 - git:
749 url: https://gerrit.opencord.org/ci-management
750 branches:
751 - origin/{pipeline-branch}
752 script-path: jjb/pipeline/{pipeline-script}
Joey Armstronged6c46e2023-02-03 11:08:42 -0500753
754 triggers:
755 - timed: |
756 TZ=America/Los_Angeles
757 {time-trigger}
758
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400759# -----------------------------------------------------------------------
Hardik Windlass317ad022022-02-21 11:18:18 +0000760# to be used for voltha release 2.8
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400761# -----------------------------------------------------------------------
762# - job-template:
763# id: 'software-upgrades-test-2.8'
764# name: '{name}'
765# sandbox: true
766# volthaSystemTestsChange: ''
767# volthaHelmChartsChange: ''
768# kindVolthaChange: ''
769# logLevel: 'DEBUG'
770# logging: true
771#
772# description: |
773# <!-- Managed by Jenkins Job Builder -->
774# Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
775# E2E Validation for Voltha 2.X
776# properties:
777# - onf-infra-volthadevs-permissions
778# - cord-infra-properties:
779# build-days-to-keep: '{build-days-to-keep}'
780# artifact-num-to-keep: '{artifact-num-to-keep}'
781#
782# wrappers:
783# - lf-infra-wrappers:
784# build-timeout: '{build-timeout}'
785# jenkins-ssh-credential: '{jenkins-ssh-credential}'
786#
787# parameters:
788# - string:
789# name: buildNode
790# default: '{build-node}'
791# description: 'Name of the Jenkins node to run the job on'
792#
793# - string:
794# name: extraHelmFlags
795# default: ''
796# description: 'Helm flags to pass to every helm install command'
797#
798# - string:
799# name: volthaSystemTestsChange
800# default: ''
801# description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
802#
803# - string:
804# name: volthaHelmChartsChange
805# default: ''
806# description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
807#
808# - string:
809# name: branch
810# default: '{code-branch}'
811# description: 'Name of the branch to use'
812#
813# # deprecated params (not used in master, remove after 2.6 support is dropped)
814# - string:
815# name: kindVolthaChange
816# default: ''
817# description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
818#
819# - string:
820# name: onosImg
821# default: ''
822# description: 'ONOS Image to use'
823#
824# - string:
825# name: aaaVer
826# default: '{aaa-version}'
827# description: 'ONOS AAA App Version to Test Upgrade'
828#
829# - string:
830# name: aaaOarUrl
831# default: '{aaa-oar-url}'
832# description: 'ONOS AAA App OAR File Url'
833#
834# - string:
835# name: oltVer
836# default: '{olt-version}'
837# description: 'ONOS OLT App Version to Test Upgrade'
838#
839# - string:
840# name: oltOarUrl
841# default: '{olt-oar-url}'
842# description: 'ONOS OLT App OAR File Url'
843#
844# - string:
845# name: dhcpl2relayVer
846# default: '{dhcpl2relay-version}'
847# description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
848#
849# - string:
850# name: dhcpl2relayOarUrl
851# default: '{dhcpl2relay-oar-url}'
852# description: 'ONOS DHCP L2 Relay App OAR File Url'
853#
854# - string:
855# name: igmpproxyVer
856# default: '{igmpproxy-version}'
857# description: 'ONOS Igmp Proxy App Version to Test Upgrade'
858#
859# - string:
860# name: igmpproxyOarUrl
861# default: '{igmpproxy-oar-url}'
862# description: 'ONOS Igmp Proxy App OAR File Url'
863#
864# - string:
865# name: sadisVer
866# default: '{sadis-version}'
867# description: 'ONOS Sadis App Version to Test Upgrade'
868#
869# - string:
870# name: sadisOarUrl
871# default: '{sadis-oar-url}'
872# description: 'ONOS Sadis App OAR File Url'
873#
874# - string:
875# name: mcastVer
876# default: '{mcast-version}'
877# description: 'ONOS MCast App Version to Test Upgrade'
878#
879# - string:
880# name: mcastOarUrl
881# default: '{mcast-oar-url}'
882# description: 'ONOS MCast App OAR File Url'
883#
884# - string:
885# name: kafkaVer
886# default: '{kafka-version}'
887# description: 'ONOS Kafka App Version to Test Upgrade'
888#
889# - string:
890# name: kafkaOarUrl
891# default: '{kafka-oar-url}'
892# description: 'ONOS Kafka App OAR File Url'
893#
894# - string:
895# name: adapterOpenOltImage
896# default: '{adapter-open-olt-image}'
897# description: 'Voltha Adapter Open OLT Component Image'
898#
899# - string:
900# name: adapterOpenOnuImage
901# default: '{adapter-open-onu-image}'
902# description: 'Voltha Adapter Open ONU Component Image'
903#
904# - string:
905# name: rwCoreImage
906# default: '{rw-core-image}'
907# description: 'Voltha RW Core Component Image'
908#
909# - string:
910# name: ofAgentImage
911# default: '{ofagent-image}'
912# description: 'Voltha Ofagent Component Image'
913#
914# - string:
915# name: onuImageVersion
916# default: '{onu-image-version}'
917# description: 'Version of ONU Image to Upgrade'
918#
919# - string:
920# name: onuImageUrl
921# default: '{onu-image-url}'
922# description: 'Url of ONU Image to Upgrade'
923#
924# - string:
925# name: onuImageVendor
926# default: '{onu-image-vendor}'
927# description: 'Vendor of ONU Image to Upgrade'
928#
929# - string:
930# name: onuImageActivateOnSuccess
931# default: '{onu-image-activate-on-success}'
932# description: 'Activate ONU Image'
933#
934# - string:
935# name: onuImageCommitOnSuccess
936# default: '{onu-image-commit-on-success}'
937# description: 'Commit ONU Image'
938#
939# - string:
940# name: onuImageCrc
941# default: '{onu-image-crc}'
942# description: 'CRC of ONU Image to Upgrade'
943#
944# - string:
945# name: logLevel
946# default: '{logLevel}'
947# description: 'Log level for all the components'
948#
949# - bool:
950# name: logging
951# default: '{logging}'
952# description: 'Option to collect voltha components logs per test case'
953#
954# project-type: pipeline
955# concurrent: true
956#
957# dsl: !include-raw-escape: pipeline/{pipeline-script}
958#
959# triggers:
960# - timed: |
961# TZ=America/Los_Angeles
962# {time-trigger}
Joey Armstrongaf679da2023-01-31 14:22:41 -0500963
964# [EOF]