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