blob: 4a83bccb20509331fb16324e5e2807b0bba02f13 [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# - 'software-upgrades-test-2.8':
137# name: 'periodic-software-upgrade-test-bbsim-2.8'
138# pipeline-script: 'voltha/voltha-2.8/software-upgrades.groovy'
139# build-node: 'ubuntu18.04-basebuild-8c-15g'
140# code-branch: 'voltha-2.8'
141# aaa-version: '2.4.0'
142# aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
143# olt-version: '4.5.0'
144# olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
145# dhcpl2relay-version: '2.5.0'
146# dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
147# igmpproxy-version: '2.3.0'
148# 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'
149# sadis-version: '5.4.0'
150# sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
151# mcast-version: '2.4.0'
152# mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
153# kafka-version: '2.7.0'
154# kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0/kafka-2.7.0.oar'
155# adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.5.12'
156# adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.28'
157# rw-core-image: 'voltha/voltha-rw-core:2.9.6'
158# ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
159# onu-image-version: 'BBSM_IMG_00002'
160# onu-image-url: 'http://bbsim0:50074/images/software-image.img'
161# onu-image-vendor: 'BBSM'
162# onu-image-activate-on-success: 'false'
163# onu-image-commit-on-success: 'false'
164# onu-image-crc: '0'
165# time-trigger: "H H/23 * * *"
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530166
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400167# -----------------------------------------------------------------------
Hardik Windlass317ad022022-02-21 11:18:18 +0000168# to be used for voltha releases 2.9 onwards
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400169# -----------------------------------------------------------------------
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530170- job-template:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400171 id: 'software-upgrades-test-master'
Hardik Windlass317ad022022-02-21 11:18:18 +0000172 name: '{name}'
173 sandbox: true
174 volthaSystemTestsChange: ''
175 volthaHelmChartsChange: ''
176 kindVolthaChange: ''
177 logLevel: 'DEBUG'
178 logging: true
179
180 description: |
181 <!-- Managed by Jenkins Job Builder -->
182 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
Mahir Gunyeldaa38a32024-01-04 12:50:20 -0800183 E2E Validation for Voltha master
Hardik Windlass317ad022022-02-21 11:18:18 +0000184 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -0400185 - onf-infra-volthadevs-permissions
Hardik Windlass317ad022022-02-21 11:18:18 +0000186 - cord-infra-properties:
187 build-days-to-keep: '{build-days-to-keep}'
188 artifact-num-to-keep: '{artifact-num-to-keep}'
189
190 wrappers:
191 - lf-infra-wrappers:
192 build-timeout: '{build-timeout}'
193 jenkins-ssh-credential: '{jenkins-ssh-credential}'
194
195 parameters:
196 - string:
197 name: buildNode
198 default: '{build-node}'
199 description: 'Name of the Jenkins node to run the job on'
200
201 - string:
202 name: extraHelmFlags
203 default: ''
204 description: 'Helm flags to pass to every helm install command'
205
206 - string:
207 name: volthaSystemTestsChange
208 default: ''
209 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
210
211 - string:
212 name: volthaHelmChartsChange
213 default: ''
214 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
215
216 - string:
217 name: branch
218 default: '{code-branch}'
219 description: 'Name of the branch to use'
220
221 - string:
222 name: onosImg
223 default: ''
224 description: 'ONOS Image to use'
225
226 - string:
227 name: aaaVer
228 default: '{aaa-version}'
229 description: 'ONOS AAA App Version to Test Upgrade'
230
231 - string:
232 name: aaaOarUrl
233 default: '{aaa-oar-url}'
234 description: 'ONOS AAA App OAR File Url'
235
236 - string:
237 name: oltVer
238 default: '{olt-version}'
239 description: 'ONOS OLT App Version to Test Upgrade'
240
241 - string:
242 name: oltOarUrl
243 default: '{olt-oar-url}'
244 description: 'ONOS OLT App OAR File Url'
245
246 - string:
247 name: dhcpl2relayVer
248 default: '{dhcpl2relay-version}'
249 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
250
251 - string:
252 name: dhcpl2relayOarUrl
253 default: '{dhcpl2relay-oar-url}'
254 description: 'ONOS DHCP L2 Relay App OAR File Url'
255
256 - string:
257 name: igmpproxyVer
258 default: '{igmpproxy-version}'
259 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
260
261 - string:
262 name: igmpproxyOarUrl
263 default: '{igmpproxy-oar-url}'
264 description: 'ONOS Igmp Proxy App OAR File Url'
265
266 - string:
267 name: sadisVer
268 default: '{sadis-version}'
269 description: 'ONOS Sadis App Version to Test Upgrade'
270
271 - string:
272 name: sadisOarUrl
273 default: '{sadis-oar-url}'
274 description: 'ONOS Sadis App OAR File Url'
275
276 - string:
277 name: mcastVer
278 default: '{mcast-version}'
279 description: 'ONOS MCast App Version to Test Upgrade'
280
281 - string:
282 name: mcastOarUrl
283 default: '{mcast-oar-url}'
284 description: 'ONOS MCast App OAR File Url'
285
286 - string:
287 name: kafkaVer
288 default: '{kafka-version}'
289 description: 'ONOS Kafka App Version to Test Upgrade'
290
291 - string:
292 name: kafkaOarUrl
293 default: '{kafka-oar-url}'
294 description: 'ONOS Kafka App OAR File Url'
295
296 - string:
Hardik Windlass8e264492022-03-25 16:15:45 +0000297 name: openoltAdapterDeployBaseTag
298 default: '{openolt-adapter-deploy-base-tag}'
299 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
300
301 - string:
302 name: openonuAdapterDeployBaseTag
303 default: '{openonu-adapter-deploy-base-tag}'
304 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
305
306 - string:
307 name: rwCoreDeployBaseTag
308 default: '{rw-core-deploy-base-tag}'
309 description: 'Minimum Version of RW Core to be used for Deployment'
310
311 - string:
312 name: ofagentDeployBaseTag
313 default: '{ofagent-deploy-base-tag}'
314 description: 'Minimum Version of Ofagent to be used for Deployment'
315
316 - string:
Hardik Windlass317ad022022-02-21 11:18:18 +0000317 name: onuImageVersion
318 default: '{onu-image-version}'
319 description: 'Version of ONU Image to Upgrade'
320
321 - string:
322 name: onuImageUrl
323 default: '{onu-image-url}'
324 description: 'Url of ONU Image to Upgrade'
325
326 - string:
327 name: onuImageVendor
328 default: '{onu-image-vendor}'
329 description: 'Vendor of ONU Image to Upgrade'
330
331 - string:
332 name: onuImageActivateOnSuccess
333 default: '{onu-image-activate-on-success}'
334 description: 'Activate ONU Image'
335
336 - string:
337 name: onuImageCommitOnSuccess
338 default: '{onu-image-commit-on-success}'
339 description: 'Commit ONU Image'
340
341 - string:
342 name: onuImageCrc
343 default: '{onu-image-crc}'
344 description: 'CRC of ONU Image to Upgrade'
345
346 - string:
347 name: logLevel
348 default: '{logLevel}'
349 description: 'Log level for all the components'
350
351 - bool:
352 name: logging
353 default: '{logging}'
354 description: 'Option to collect voltha components logs per test case'
355
356 project-type: pipeline
357 concurrent: true
358
Jan Klare8b7b3df2023-09-15 11:27:15 +0200359 pipeline-scm:
360 scm:
361 - git:
362 url: https://gerrit.opencord.org/ci-management
363 branches:
364 - origin/{pipeline-branch}
365 script-path: jjb/pipeline/{pipeline-script}
Hardik Windlass317ad022022-02-21 11:18:18 +0000366
367 triggers:
368 - timed: |
369 TZ=America/Los_Angeles
370 {time-trigger}
371
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400372# -----------------------------------------------------------------------
373# -----------------------------------------------------------------------
374- job-template:
375 id: 'software-upgrades-test-voltha-2.12'
376 name: '{name}'
377 sandbox: true
378 volthaSystemTestsChange: ''
379 volthaHelmChartsChange: ''
380 kindVolthaChange: ''
381 logLevel: 'DEBUG'
382 logging: true
383
384 description: |
385 <!-- Managed by Jenkins Job Builder -->
386 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
387 E2E Validation for Voltha 2.X
388 properties:
389 - onf-infra-volthadevs-permissions
390 - cord-infra-properties:
391 build-days-to-keep: '{build-days-to-keep}'
392 artifact-num-to-keep: '{artifact-num-to-keep}'
393
394 wrappers:
395 - lf-infra-wrappers:
396 build-timeout: '{build-timeout}'
397 jenkins-ssh-credential: '{jenkins-ssh-credential}'
398
399 parameters:
400 - string:
401 name: buildNode
402 default: '{build-node}'
403 description: 'Name of the Jenkins node to run the job on'
404
405 - string:
406 name: extraHelmFlags
407 default: ''
408 description: 'Helm flags to pass to every helm install command'
409
410 - string:
411 name: volthaSystemTestsChange
412 default: ''
413 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
414
415 - string:
416 name: volthaHelmChartsChange
417 default: ''
418 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
419
420 - string:
421 name: branch
422 default: '{code-branch}'
423 description: 'Name of the branch to use'
424
425 - string:
426 name: onosImg
427 default: ''
428 description: 'ONOS Image to use'
429
430 - string:
431 name: aaaVer
432 default: '{aaa-version}'
433 description: 'ONOS AAA App Version to Test Upgrade'
434
435 - string:
436 name: aaaOarUrl
437 default: '{aaa-oar-url}'
438 description: 'ONOS AAA App OAR File Url'
439
440 - string:
441 name: oltVer
442 default: '{olt-version}'
443 description: 'ONOS OLT App Version to Test Upgrade'
444
445 - string:
446 name: oltOarUrl
447 default: '{olt-oar-url}'
448 description: 'ONOS OLT App OAR File Url'
449
450 - string:
451 name: dhcpl2relayVer
452 default: '{dhcpl2relay-version}'
453 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
454
455 - string:
456 name: dhcpl2relayOarUrl
457 default: '{dhcpl2relay-oar-url}'
458 description: 'ONOS DHCP L2 Relay App OAR File Url'
459
460 - string:
461 name: igmpproxyVer
462 default: '{igmpproxy-version}'
463 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
464
465 - string:
466 name: igmpproxyOarUrl
467 default: '{igmpproxy-oar-url}'
468 description: 'ONOS Igmp Proxy App OAR File Url'
469
470 - string:
471 name: sadisVer
472 default: '{sadis-version}'
473 description: 'ONOS Sadis App Version to Test Upgrade'
474
475 - string:
476 name: sadisOarUrl
477 default: '{sadis-oar-url}'
478 description: 'ONOS Sadis App OAR File Url'
479
480 - string:
481 name: mcastVer
482 default: '{mcast-version}'
483 description: 'ONOS MCast App Version to Test Upgrade'
484
485 - string:
486 name: mcastOarUrl
487 default: '{mcast-oar-url}'
488 description: 'ONOS MCast App OAR File Url'
489
490 - string:
491 name: kafkaVer
492 default: '{kafka-version}'
493 description: 'ONOS Kafka App Version to Test Upgrade'
494
495 - string:
496 name: kafkaOarUrl
497 default: '{kafka-oar-url}'
498 description: 'ONOS Kafka App OAR File Url'
499
500 - string:
501 name: openoltAdapterDeployBaseTag
502 default: '{openolt-adapter-deploy-base-tag}'
503 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
504
505 - string:
506 name: openonuAdapterDeployBaseTag
507 default: '{openonu-adapter-deploy-base-tag}'
508 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
509
510 - string:
511 name: rwCoreDeployBaseTag
512 default: '{rw-core-deploy-base-tag}'
513 description: 'Minimum Version of RW Core to be used for Deployment'
514
515 - string:
516 name: ofagentDeployBaseTag
517 default: '{ofagent-deploy-base-tag}'
518 description: 'Minimum Version of Ofagent to be used for Deployment'
519
520 - string:
521 name: onuImageVersion
522 default: '{onu-image-version}'
523 description: 'Version of ONU Image to Upgrade'
524
525 - string:
526 name: onuImageUrl
527 default: '{onu-image-url}'
528 description: 'Url of ONU Image to Upgrade'
529
530 - string:
531 name: onuImageVendor
532 default: '{onu-image-vendor}'
533 description: 'Vendor of ONU Image to Upgrade'
534
535 - string:
536 name: onuImageActivateOnSuccess
537 default: '{onu-image-activate-on-success}'
538 description: 'Activate ONU Image'
539
540 - string:
541 name: onuImageCommitOnSuccess
542 default: '{onu-image-commit-on-success}'
543 description: 'Commit ONU Image'
544
545 - string:
546 name: onuImageCrc
547 default: '{onu-image-crc}'
548 description: 'CRC of ONU Image to Upgrade'
549
550 - string:
551 name: logLevel
552 default: '{logLevel}'
553 description: 'Log level for all the components'
554
555 - bool:
556 name: logging
557 default: '{logging}'
558 description: 'Option to collect voltha components logs per test case'
559
560 project-type: pipeline
561 concurrent: true
562
Jan Klare8b7b3df2023-09-15 11:27:15 +0200563 pipeline-scm:
564 scm:
565 - git:
566 url: https://gerrit.opencord.org/ci-management
567 branches:
568 - origin/{pipeline-branch}
569 script-path: jjb/pipeline/{pipeline-script}
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400570
571 triggers:
572 - timed: |
573 TZ=America/Los_Angeles
574 {time-trigger}
575
576# -----------------------------------------------------------------------
Joey Armstronged6c46e2023-02-03 11:08:42 -0500577# to be used for voltha releases 2.9 onwards
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400578# -----------------------------------------------------------------------
Joey Armstronged6c46e2023-02-03 11:08:42 -0500579- job-template:
580 id: 'software-upgrades-test-voltha-2.11'
581 name: '{name}'
582 sandbox: true
583 volthaSystemTestsChange: ''
584 volthaHelmChartsChange: ''
585 kindVolthaChange: ''
586 logLevel: 'DEBUG'
587 logging: true
588
589 description: |
590 <!-- Managed by Jenkins Job Builder -->
591 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
592 E2E Validation for Voltha 2.X
593 properties:
594 - onf-infra-volthadevs-permissions
595 - cord-infra-properties:
596 build-days-to-keep: '{build-days-to-keep}'
597 artifact-num-to-keep: '{artifact-num-to-keep}'
598
599 wrappers:
600 - lf-infra-wrappers:
601 build-timeout: '{build-timeout}'
602 jenkins-ssh-credential: '{jenkins-ssh-credential}'
603
604 parameters:
605 - string:
606 name: buildNode
607 default: '{build-node}'
608 description: 'Name of the Jenkins node to run the job on'
609
610 - string:
611 name: extraHelmFlags
612 default: ''
613 description: 'Helm flags to pass to every helm install command'
614
615 - string:
616 name: volthaSystemTestsChange
617 default: ''
618 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
619
620 - string:
621 name: volthaHelmChartsChange
622 default: ''
623 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
624
625 - string:
626 name: branch
627 default: '{code-branch}'
628 description: 'Name of the branch to use'
629
630 - string:
631 name: onosImg
632 default: ''
633 description: 'ONOS Image to use'
634
635 - string:
636 name: aaaVer
637 default: '{aaa-version}'
638 description: 'ONOS AAA App Version to Test Upgrade'
639
640 - string:
641 name: aaaOarUrl
642 default: '{aaa-oar-url}'
643 description: 'ONOS AAA App OAR File Url'
644
645 - string:
646 name: oltVer
647 default: '{olt-version}'
648 description: 'ONOS OLT App Version to Test Upgrade'
649
650 - string:
651 name: oltOarUrl
652 default: '{olt-oar-url}'
653 description: 'ONOS OLT App OAR File Url'
654
655 - string:
656 name: dhcpl2relayVer
657 default: '{dhcpl2relay-version}'
658 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
659
660 - string:
661 name: dhcpl2relayOarUrl
662 default: '{dhcpl2relay-oar-url}'
663 description: 'ONOS DHCP L2 Relay App OAR File Url'
664
665 - string:
666 name: igmpproxyVer
667 default: '{igmpproxy-version}'
668 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
669
670 - string:
671 name: igmpproxyOarUrl
672 default: '{igmpproxy-oar-url}'
673 description: 'ONOS Igmp Proxy App OAR File Url'
674
675 - string:
676 name: sadisVer
677 default: '{sadis-version}'
678 description: 'ONOS Sadis App Version to Test Upgrade'
679
680 - string:
681 name: sadisOarUrl
682 default: '{sadis-oar-url}'
683 description: 'ONOS Sadis App OAR File Url'
684
685 - string:
686 name: mcastVer
687 default: '{mcast-version}'
688 description: 'ONOS MCast App Version to Test Upgrade'
689
690 - string:
691 name: mcastOarUrl
692 default: '{mcast-oar-url}'
693 description: 'ONOS MCast App OAR File Url'
694
695 - string:
696 name: kafkaVer
697 default: '{kafka-version}'
698 description: 'ONOS Kafka App Version to Test Upgrade'
699
700 - string:
701 name: kafkaOarUrl
702 default: '{kafka-oar-url}'
703 description: 'ONOS Kafka App OAR File Url'
704
705 - string:
706 name: openoltAdapterDeployBaseTag
707 default: '{openolt-adapter-deploy-base-tag}'
708 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
709
710 - string:
711 name: openonuAdapterDeployBaseTag
712 default: '{openonu-adapter-deploy-base-tag}'
713 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
714
715 - string:
716 name: rwCoreDeployBaseTag
717 default: '{rw-core-deploy-base-tag}'
718 description: 'Minimum Version of RW Core to be used for Deployment'
719
720 - string:
721 name: ofagentDeployBaseTag
722 default: '{ofagent-deploy-base-tag}'
723 description: 'Minimum Version of Ofagent to be used for Deployment'
724
725 - string:
726 name: onuImageVersion
727 default: '{onu-image-version}'
728 description: 'Version of ONU Image to Upgrade'
729
730 - string:
731 name: onuImageUrl
732 default: '{onu-image-url}'
733 description: 'Url of ONU Image to Upgrade'
734
735 - string:
736 name: onuImageVendor
737 default: '{onu-image-vendor}'
738 description: 'Vendor of ONU Image to Upgrade'
739
740 - string:
741 name: onuImageActivateOnSuccess
742 default: '{onu-image-activate-on-success}'
743 description: 'Activate ONU Image'
744
745 - string:
746 name: onuImageCommitOnSuccess
747 default: '{onu-image-commit-on-success}'
748 description: 'Commit ONU Image'
749
750 - string:
751 name: onuImageCrc
752 default: '{onu-image-crc}'
753 description: 'CRC of ONU Image to Upgrade'
754
755 - string:
756 name: logLevel
757 default: '{logLevel}'
758 description: 'Log level for all the components'
759
760 - bool:
761 name: logging
762 default: '{logging}'
763 description: 'Option to collect voltha components logs per test case'
764
765 project-type: pipeline
766 concurrent: true
767
Jan Klare8b7b3df2023-09-15 11:27:15 +0200768 pipeline-scm:
769 scm:
770 - git:
771 url: https://gerrit.opencord.org/ci-management
772 branches:
773 - origin/{pipeline-branch}
774 script-path: jjb/pipeline/{pipeline-script}
Joey Armstronged6c46e2023-02-03 11:08:42 -0500775
776 triggers:
777 - timed: |
778 TZ=America/Los_Angeles
779 {time-trigger}
780
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400781# -----------------------------------------------------------------------
Hardik Windlass317ad022022-02-21 11:18:18 +0000782# to be used for voltha release 2.8
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400783# -----------------------------------------------------------------------
784# - job-template:
785# id: 'software-upgrades-test-2.8'
786# name: '{name}'
787# sandbox: true
788# volthaSystemTestsChange: ''
789# volthaHelmChartsChange: ''
790# kindVolthaChange: ''
791# logLevel: 'DEBUG'
792# logging: true
793#
794# description: |
795# <!-- Managed by Jenkins Job Builder -->
796# Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
797# E2E Validation for Voltha 2.X
798# properties:
799# - onf-infra-volthadevs-permissions
800# - cord-infra-properties:
801# build-days-to-keep: '{build-days-to-keep}'
802# artifact-num-to-keep: '{artifact-num-to-keep}'
803#
804# wrappers:
805# - lf-infra-wrappers:
806# build-timeout: '{build-timeout}'
807# jenkins-ssh-credential: '{jenkins-ssh-credential}'
808#
809# parameters:
810# - string:
811# name: buildNode
812# default: '{build-node}'
813# description: 'Name of the Jenkins node to run the job on'
814#
815# - string:
816# name: extraHelmFlags
817# default: ''
818# description: 'Helm flags to pass to every helm install command'
819#
820# - string:
821# name: volthaSystemTestsChange
822# default: ''
823# description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
824#
825# - string:
826# name: volthaHelmChartsChange
827# default: ''
828# description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
829#
830# - string:
831# name: branch
832# default: '{code-branch}'
833# description: 'Name of the branch to use'
834#
835# # deprecated params (not used in master, remove after 2.6 support is dropped)
836# - string:
837# name: kindVolthaChange
838# default: ''
839# description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
840#
841# - string:
842# name: onosImg
843# default: ''
844# description: 'ONOS Image to use'
845#
846# - string:
847# name: aaaVer
848# default: '{aaa-version}'
849# description: 'ONOS AAA App Version to Test Upgrade'
850#
851# - string:
852# name: aaaOarUrl
853# default: '{aaa-oar-url}'
854# description: 'ONOS AAA App OAR File Url'
855#
856# - string:
857# name: oltVer
858# default: '{olt-version}'
859# description: 'ONOS OLT App Version to Test Upgrade'
860#
861# - string:
862# name: oltOarUrl
863# default: '{olt-oar-url}'
864# description: 'ONOS OLT App OAR File Url'
865#
866# - string:
867# name: dhcpl2relayVer
868# default: '{dhcpl2relay-version}'
869# description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
870#
871# - string:
872# name: dhcpl2relayOarUrl
873# default: '{dhcpl2relay-oar-url}'
874# description: 'ONOS DHCP L2 Relay App OAR File Url'
875#
876# - string:
877# name: igmpproxyVer
878# default: '{igmpproxy-version}'
879# description: 'ONOS Igmp Proxy App Version to Test Upgrade'
880#
881# - string:
882# name: igmpproxyOarUrl
883# default: '{igmpproxy-oar-url}'
884# description: 'ONOS Igmp Proxy App OAR File Url'
885#
886# - string:
887# name: sadisVer
888# default: '{sadis-version}'
889# description: 'ONOS Sadis App Version to Test Upgrade'
890#
891# - string:
892# name: sadisOarUrl
893# default: '{sadis-oar-url}'
894# description: 'ONOS Sadis App OAR File Url'
895#
896# - string:
897# name: mcastVer
898# default: '{mcast-version}'
899# description: 'ONOS MCast App Version to Test Upgrade'
900#
901# - string:
902# name: mcastOarUrl
903# default: '{mcast-oar-url}'
904# description: 'ONOS MCast App OAR File Url'
905#
906# - string:
907# name: kafkaVer
908# default: '{kafka-version}'
909# description: 'ONOS Kafka App Version to Test Upgrade'
910#
911# - string:
912# name: kafkaOarUrl
913# default: '{kafka-oar-url}'
914# description: 'ONOS Kafka App OAR File Url'
915#
916# - string:
917# name: adapterOpenOltImage
918# default: '{adapter-open-olt-image}'
919# description: 'Voltha Adapter Open OLT Component Image'
920#
921# - string:
922# name: adapterOpenOnuImage
923# default: '{adapter-open-onu-image}'
924# description: 'Voltha Adapter Open ONU Component Image'
925#
926# - string:
927# name: rwCoreImage
928# default: '{rw-core-image}'
929# description: 'Voltha RW Core Component Image'
930#
931# - string:
932# name: ofAgentImage
933# default: '{ofagent-image}'
934# description: 'Voltha Ofagent Component Image'
935#
936# - string:
937# name: onuImageVersion
938# default: '{onu-image-version}'
939# description: 'Version of ONU Image to Upgrade'
940#
941# - string:
942# name: onuImageUrl
943# default: '{onu-image-url}'
944# description: 'Url of ONU Image to Upgrade'
945#
946# - string:
947# name: onuImageVendor
948# default: '{onu-image-vendor}'
949# description: 'Vendor of ONU Image to Upgrade'
950#
951# - string:
952# name: onuImageActivateOnSuccess
953# default: '{onu-image-activate-on-success}'
954# description: 'Activate ONU Image'
955#
956# - string:
957# name: onuImageCommitOnSuccess
958# default: '{onu-image-commit-on-success}'
959# description: 'Commit ONU Image'
960#
961# - string:
962# name: onuImageCrc
963# default: '{onu-image-crc}'
964# description: 'CRC of ONU Image to Upgrade'
965#
966# - string:
967# name: logLevel
968# default: '{logLevel}'
969# description: 'Log level for all the components'
970#
971# - bool:
972# name: logging
973# default: '{logging}'
974# description: 'Option to collect voltha components logs per test case'
975#
976# project-type: pipeline
977# concurrent: true
978#
979# dsl: !include-raw-escape: pipeline/{pipeline-script}
980#
981# triggers:
982# - timed: |
983# TZ=America/Los_Angeles
984# {time-trigger}
Joey Armstrongaf679da2023-01-31 14:22:41 -0500985
986# [EOF]