blob: 7f2dd34efa3111bace46762cfafb0ba692681644 [file] [log] [blame]
Hardik Windlass0f9621d2021-02-24 21:23:19 +05301---
Joey Armstrong5c135fe2024-03-25 16:45:55 -04002
3# -----------------------------------------------------------------------
4# Copyright 2021-2024 Open Networking Foundation Contributors
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http:#www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# -----------------------------------------------------------------------
18# SPDX-FileCopyrightText: 2021-2024 Open Networking Foundation Contributors
19# SPDX-License-Identifier: Apache-2.0
20# -----------------------------------------------------------------------
21# Entropy: 0fcb5ffa-d1a4-11ee-be5e-9f44b7181764
22# -----------------------------------------------------------------------
23# Intent: voltha 2.X tests
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050024# oar image URLs that redirect away from oss to maven-central (?)
25# olt, dhcpl2relay, igmpproxy, kafka
Joey Armstrong5c135fe2024-03-25 16:45:55 -040026# -----------------------------------------------------------------------
Hardik Windlass0f9621d2021-02-24 21:23:19 +053027
28- project:
29 name: software-upgrades
30 project-name: '{name}'
31
32 jobs:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040033 - 'software-upgrades-test-master':
Hardik Windlass0f9621d2021-02-24 21:23:19 +053034 name: 'periodic-software-upgrade-test-bbsim'
Jan Klare8846dea2023-09-15 14:31:56 +020035 pipeline-script: 'voltha/software-upgrades.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +020036 pipeline-branch: 'master'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000037 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053038 code-branch: 'master'
Mahir Gunyela492d9d2024-01-03 21:46:53 -080039 aaa-version: '2.10.3'
40 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.10.3/aaa-app-2.10.3.oar'
41 olt-version: '5.2.4'
42 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.4/olt-app-5.2.4.oar'
43 dhcpl2relay-version: '2.10.0'
44 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.10.0/dhcpl2relay-app-2.10.0.oar'
45 igmpproxy-version: '2.8.0'
46 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'
47 sadis-version: '5.11.1'
48 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.11.1/sadis-app-5.11.1.oar'
49 mcast-version: '2.9.0'
50 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.9.0/mcast-app-2.9.0.oar'
51 kafka-version: '2.12.0'
52 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.12.0/kafka-2.12.0.oar'
53 openolt-adapter-deploy-base-tag: '4.4.9'
54 openonu-adapter-deploy-base-tag: '2.11.8'
55 rw-core-deploy-base-tag: '3.5.2'
56 ofagent-deploy-base-tag: '2.12.0'
Hardik Windlass88814542021-06-22 09:43:46 +000057 onu-image-version: 'BBSM_IMG_00002'
58 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
59 onu-image-vendor: 'BBSM'
60 onu-image-activate-on-success: 'false'
61 onu-image-commit-on-success: 'false'
Hardik Windlassae82ab72021-03-31 14:49:47 +053062 onu-image-crc: '0'
Hardik Windlassae82ab72021-03-31 14:49:47 +053063 time-trigger: "H H/23 * * *"
64
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040065# -----------------------------------------------------------------------
66# https://docs.voltha.org/master/release_notes/voltha_2.12.html#id7
67# https://wiki.opennetworking.org/display/VOLTHA/v2.12+Deployments
68# -----------------------------------------------------------------------
69 - 'software-upgrades-test-voltha-2.12':
70 name: 'periodic-software-upgrade-test-bbsim-2.12'
71 pipeline-script: 'voltha/voltha-2.12/software-upgrades.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +020072 pipeline-branch: 'voltha-2.12'
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040073 build-node: 'ubuntu18.04-basebuild-8c-15g'
74 code-branch: 'voltha-2.12'
75 aaa-version: '2.10.3'
76 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.10.3/aaa-app-2.10.3.oar'
77 olt-version: '5.2.4'
78 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.4/olt-app-5.2.4.oar'
79 dhcpl2relay-version: '2.10.0'
80 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.10.0/dhcpl2relay-app-2.10.0.oar'
81 igmpproxy-version: '2.8.0'
82 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'
83 sadis-version: '5.11.1'
84 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.11.1/sadis-app-5.11.1.oar'
85 mcast-version: '2.9.0'
86 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.9.0/mcast-app-2.9.0.oar'
87 kafka-version: '2.12.0'
88 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.12.0/kafka-2.12.0.oar'
89 openolt-adapter-deploy-base-tag: '4.2.6'
90 openonu-adapter-deploy-base-tag: '2.2.8'
91 rw-core-deploy-base-tag: '3.1.8'
92 ofagent-deploy-base-tag: '2.1.2'
93 onu-image-version: 'BBSM_IMG_00002'
94 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
95 onu-image-vendor: 'BBSM'
96 onu-image-activate-on-success: 'false'
97 onu-image-commit-on-success: 'false'
98 onu-image-crc: '0'
99 time-trigger: "H H/23 * * *"
100
Joey Armstrongdaa1f0a2024-04-03 18:07:59 -0400101# -----------------------------------------------------------------------
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400102# https://docs.voltha.org/master/release_notes/voltha_2.11.html#onos-apps
Joey Armstrongdaa1f0a2024-04-03 18:07:59 -0400103# -----------------------------------------------------------------------
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -0500104 - 'software-upgrades-test-voltha-2.11':
105 name: 'periodic-software-upgrade-test-bbsim-2.11'
106 pipeline-script: 'voltha/voltha-2.11/software-upgrades.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +0200107 pipeline-branch: 'voltha-2.11'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -0500108 build-node: 'ubuntu18.04-basebuild-8c-15g'
109 code-branch: 'voltha-2.11'
110 aaa-version: '2.9.0'
111 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.9.0/aaa-app-2.9.0.oar'
112 olt-version: '5.2.3'
113 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.3/olt-app-5.2.3.oar'
114 dhcpl2relay-version: '2.9.0'
115 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.9.0/dhcpl2relay-app-2.9.0.oar'
116 igmpproxy-version: '2.7.0'
117 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'
118 sadis-version: '5.10.0'
119 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.10.0/sadis-app-5.10.0.oar'
120 mcast-version: '2.8.0'
121 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.8.0.oar'
122 kafka-version: '2.11.1'
123 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 -0500124 openolt-adapter-deploy-base-tag: '4.2.6'
125 openonu-adapter-deploy-base-tag: '2.2.8'
126 rw-core-deploy-base-tag: '3.1.8'
127 ofagent-deploy-base-tag: '2.1.2'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -0500128 onu-image-version: 'BBSM_IMG_00002'
129 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
130 onu-image-vendor: 'BBSM'
131 onu-image-activate-on-success: 'false'
132 onu-image-commit-on-success: 'false'
133 onu-image-crc: '0'
134 time-trigger: "H H/23 * * *"
135
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400136# -----------------------------------------------------------------------
Hardik Windlass317ad022022-02-21 11:18:18 +0000137# to be used for voltha releases 2.9 onwards
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400138# -----------------------------------------------------------------------
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530139- job-template:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400140 id: 'software-upgrades-test-master'
Hardik Windlass317ad022022-02-21 11:18:18 +0000141 name: '{name}'
142 sandbox: true
143 volthaSystemTestsChange: ''
144 volthaHelmChartsChange: ''
145 kindVolthaChange: ''
146 logLevel: 'DEBUG'
147 logging: true
148
149 description: |
150 <!-- Managed by Jenkins Job Builder -->
151 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
Mahir Gunyeldaa38a32024-01-04 12:50:20 -0800152 E2E Validation for Voltha master
Hardik Windlass317ad022022-02-21 11:18:18 +0000153 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -0400154 - onf-infra-volthadevs-permissions
Hardik Windlass317ad022022-02-21 11:18:18 +0000155 - cord-infra-properties:
156 build-days-to-keep: '{build-days-to-keep}'
157 artifact-num-to-keep: '{artifact-num-to-keep}'
158
159 wrappers:
160 - lf-infra-wrappers:
161 build-timeout: '{build-timeout}'
162 jenkins-ssh-credential: '{jenkins-ssh-credential}'
163
164 parameters:
165 - string:
166 name: buildNode
167 default: '{build-node}'
168 description: 'Name of the Jenkins node to run the job on'
169
170 - string:
171 name: extraHelmFlags
172 default: ''
173 description: 'Helm flags to pass to every helm install command'
174
175 - string:
176 name: volthaSystemTestsChange
177 default: ''
178 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
179
180 - string:
181 name: volthaHelmChartsChange
182 default: ''
183 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
184
185 - string:
186 name: branch
187 default: '{code-branch}'
188 description: 'Name of the branch to use'
189
190 - string:
191 name: onosImg
192 default: ''
193 description: 'ONOS Image to use'
194
195 - string:
196 name: aaaVer
197 default: '{aaa-version}'
198 description: 'ONOS AAA App Version to Test Upgrade'
199
200 - string:
201 name: aaaOarUrl
202 default: '{aaa-oar-url}'
203 description: 'ONOS AAA App OAR File Url'
204
205 - string:
206 name: oltVer
207 default: '{olt-version}'
208 description: 'ONOS OLT App Version to Test Upgrade'
209
210 - string:
211 name: oltOarUrl
212 default: '{olt-oar-url}'
213 description: 'ONOS OLT App OAR File Url'
214
215 - string:
216 name: dhcpl2relayVer
217 default: '{dhcpl2relay-version}'
218 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
219
220 - string:
221 name: dhcpl2relayOarUrl
222 default: '{dhcpl2relay-oar-url}'
223 description: 'ONOS DHCP L2 Relay App OAR File Url'
224
225 - string:
226 name: igmpproxyVer
227 default: '{igmpproxy-version}'
228 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
229
230 - string:
231 name: igmpproxyOarUrl
232 default: '{igmpproxy-oar-url}'
233 description: 'ONOS Igmp Proxy App OAR File Url'
234
235 - string:
236 name: sadisVer
237 default: '{sadis-version}'
238 description: 'ONOS Sadis App Version to Test Upgrade'
239
240 - string:
241 name: sadisOarUrl
242 default: '{sadis-oar-url}'
243 description: 'ONOS Sadis App OAR File Url'
244
245 - string:
246 name: mcastVer
247 default: '{mcast-version}'
248 description: 'ONOS MCast App Version to Test Upgrade'
249
250 - string:
251 name: mcastOarUrl
252 default: '{mcast-oar-url}'
253 description: 'ONOS MCast App OAR File Url'
254
255 - string:
256 name: kafkaVer
257 default: '{kafka-version}'
258 description: 'ONOS Kafka App Version to Test Upgrade'
259
260 - string:
261 name: kafkaOarUrl
262 default: '{kafka-oar-url}'
263 description: 'ONOS Kafka App OAR File Url'
264
265 - string:
Hardik Windlass8e264492022-03-25 16:15:45 +0000266 name: openoltAdapterDeployBaseTag
267 default: '{openolt-adapter-deploy-base-tag}'
268 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
269
270 - string:
271 name: openonuAdapterDeployBaseTag
272 default: '{openonu-adapter-deploy-base-tag}'
273 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
274
275 - string:
276 name: rwCoreDeployBaseTag
277 default: '{rw-core-deploy-base-tag}'
278 description: 'Minimum Version of RW Core to be used for Deployment'
279
280 - string:
281 name: ofagentDeployBaseTag
282 default: '{ofagent-deploy-base-tag}'
283 description: 'Minimum Version of Ofagent to be used for Deployment'
284
285 - string:
Hardik Windlass317ad022022-02-21 11:18:18 +0000286 name: onuImageVersion
287 default: '{onu-image-version}'
288 description: 'Version of ONU Image to Upgrade'
289
290 - string:
291 name: onuImageUrl
292 default: '{onu-image-url}'
293 description: 'Url of ONU Image to Upgrade'
294
295 - string:
296 name: onuImageVendor
297 default: '{onu-image-vendor}'
298 description: 'Vendor of ONU Image to Upgrade'
299
300 - string:
301 name: onuImageActivateOnSuccess
302 default: '{onu-image-activate-on-success}'
303 description: 'Activate ONU Image'
304
305 - string:
306 name: onuImageCommitOnSuccess
307 default: '{onu-image-commit-on-success}'
308 description: 'Commit ONU Image'
309
310 - string:
311 name: onuImageCrc
312 default: '{onu-image-crc}'
313 description: 'CRC of ONU Image to Upgrade'
314
315 - string:
316 name: logLevel
317 default: '{logLevel}'
318 description: 'Log level for all the components'
319
320 - bool:
321 name: logging
322 default: '{logging}'
323 description: 'Option to collect voltha components logs per test case'
324
325 project-type: pipeline
326 concurrent: true
327
Jan Klare8b7b3df2023-09-15 11:27:15 +0200328 pipeline-scm:
329 scm:
330 - git:
331 url: https://gerrit.opencord.org/ci-management
332 branches:
333 - origin/{pipeline-branch}
334 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass317ad022022-02-21 11:18:18 +0000335
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
Jan Klare8b7b3df2023-09-15 11:27:15 +0200532 pipeline-scm:
533 scm:
534 - git:
535 url: https://gerrit.opencord.org/ci-management
536 branches:
537 - origin/{pipeline-branch}
538 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400539
540 triggers:
541 - timed: |
542 TZ=America/Los_Angeles
543 {time-trigger}
544
545# -----------------------------------------------------------------------
Joey Armstronged6c46e2023-02-03 11:08:42 -0500546# to be used for voltha releases 2.9 onwards
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400547# -----------------------------------------------------------------------
Joey Armstronged6c46e2023-02-03 11:08:42 -0500548- job-template:
549 id: 'software-upgrades-test-voltha-2.11'
550 name: '{name}'
551 sandbox: true
552 volthaSystemTestsChange: ''
553 volthaHelmChartsChange: ''
554 kindVolthaChange: ''
555 logLevel: 'DEBUG'
556 logging: true
557
558 description: |
559 <!-- Managed by Jenkins Job Builder -->
560 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
561 E2E Validation for Voltha 2.X
562 properties:
563 - onf-infra-volthadevs-permissions
564 - cord-infra-properties:
565 build-days-to-keep: '{build-days-to-keep}'
566 artifact-num-to-keep: '{artifact-num-to-keep}'
567
568 wrappers:
569 - lf-infra-wrappers:
570 build-timeout: '{build-timeout}'
571 jenkins-ssh-credential: '{jenkins-ssh-credential}'
572
573 parameters:
574 - string:
575 name: buildNode
576 default: '{build-node}'
577 description: 'Name of the Jenkins node to run the job on'
578
579 - string:
580 name: extraHelmFlags
581 default: ''
582 description: 'Helm flags to pass to every helm install command'
583
584 - string:
585 name: volthaSystemTestsChange
586 default: ''
587 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
588
589 - string:
590 name: volthaHelmChartsChange
591 default: ''
592 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
593
594 - string:
595 name: branch
596 default: '{code-branch}'
597 description: 'Name of the branch to use'
598
599 - string:
600 name: onosImg
601 default: ''
602 description: 'ONOS Image to use'
603
604 - string:
605 name: aaaVer
606 default: '{aaa-version}'
607 description: 'ONOS AAA App Version to Test Upgrade'
608
609 - string:
610 name: aaaOarUrl
611 default: '{aaa-oar-url}'
612 description: 'ONOS AAA App OAR File Url'
613
614 - string:
615 name: oltVer
616 default: '{olt-version}'
617 description: 'ONOS OLT App Version to Test Upgrade'
618
619 - string:
620 name: oltOarUrl
621 default: '{olt-oar-url}'
622 description: 'ONOS OLT App OAR File Url'
623
624 - string:
625 name: dhcpl2relayVer
626 default: '{dhcpl2relay-version}'
627 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
628
629 - string:
630 name: dhcpl2relayOarUrl
631 default: '{dhcpl2relay-oar-url}'
632 description: 'ONOS DHCP L2 Relay App OAR File Url'
633
634 - string:
635 name: igmpproxyVer
636 default: '{igmpproxy-version}'
637 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
638
639 - string:
640 name: igmpproxyOarUrl
641 default: '{igmpproxy-oar-url}'
642 description: 'ONOS Igmp Proxy App OAR File Url'
643
644 - string:
645 name: sadisVer
646 default: '{sadis-version}'
647 description: 'ONOS Sadis App Version to Test Upgrade'
648
649 - string:
650 name: sadisOarUrl
651 default: '{sadis-oar-url}'
652 description: 'ONOS Sadis App OAR File Url'
653
654 - string:
655 name: mcastVer
656 default: '{mcast-version}'
657 description: 'ONOS MCast App Version to Test Upgrade'
658
659 - string:
660 name: mcastOarUrl
661 default: '{mcast-oar-url}'
662 description: 'ONOS MCast App OAR File Url'
663
664 - string:
665 name: kafkaVer
666 default: '{kafka-version}'
667 description: 'ONOS Kafka App Version to Test Upgrade'
668
669 - string:
670 name: kafkaOarUrl
671 default: '{kafka-oar-url}'
672 description: 'ONOS Kafka App OAR File Url'
673
674 - string:
675 name: openoltAdapterDeployBaseTag
676 default: '{openolt-adapter-deploy-base-tag}'
677 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
678
679 - string:
680 name: openonuAdapterDeployBaseTag
681 default: '{openonu-adapter-deploy-base-tag}'
682 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
683
684 - string:
685 name: rwCoreDeployBaseTag
686 default: '{rw-core-deploy-base-tag}'
687 description: 'Minimum Version of RW Core to be used for Deployment'
688
689 - string:
690 name: ofagentDeployBaseTag
691 default: '{ofagent-deploy-base-tag}'
692 description: 'Minimum Version of Ofagent to be used for Deployment'
693
694 - string:
695 name: onuImageVersion
696 default: '{onu-image-version}'
697 description: 'Version of ONU Image to Upgrade'
698
699 - string:
700 name: onuImageUrl
701 default: '{onu-image-url}'
702 description: 'Url of ONU Image to Upgrade'
703
704 - string:
705 name: onuImageVendor
706 default: '{onu-image-vendor}'
707 description: 'Vendor of ONU Image to Upgrade'
708
709 - string:
710 name: onuImageActivateOnSuccess
711 default: '{onu-image-activate-on-success}'
712 description: 'Activate ONU Image'
713
714 - string:
715 name: onuImageCommitOnSuccess
716 default: '{onu-image-commit-on-success}'
717 description: 'Commit ONU Image'
718
719 - string:
720 name: onuImageCrc
721 default: '{onu-image-crc}'
722 description: 'CRC of ONU Image to Upgrade'
723
724 - string:
725 name: logLevel
726 default: '{logLevel}'
727 description: 'Log level for all the components'
728
729 - bool:
730 name: logging
731 default: '{logging}'
732 description: 'Option to collect voltha components logs per test case'
733
734 project-type: pipeline
735 concurrent: true
736
Jan Klare8b7b3df2023-09-15 11:27:15 +0200737 pipeline-scm:
738 scm:
739 - git:
740 url: https://gerrit.opencord.org/ci-management
741 branches:
742 - origin/{pipeline-branch}
743 script-path: jjb/pipeline/{pipeline-script}
Joey Armstronged6c46e2023-02-03 11:08:42 -0500744
745 triggers:
746 - timed: |
747 TZ=America/Los_Angeles
748 {time-trigger}
749
Joey Armstrongaf679da2023-01-31 14:22:41 -0500750# [EOF]