blob: 9632554137e39ab7c3b4384d3a79f98a276c8688 [file] [log] [blame]
Hardik Windlass0f9621d2021-02-24 21:23:19 +05301---
2# voltha 2.X tests
3
4- project:
5 name: software-upgrades
6 project-name: '{name}'
7
8 jobs:
9 - 'software-upgrades-test':
10 name: 'periodic-software-upgrade-test-bbsim'
11 pipeline-script: 'voltha/master/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000012 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053013 code-branch: 'master'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053014 aaa-version: '2.4.0.SNAPSHOT'
Andrea Campanella2e3bc872021-06-07 15:40:38 +020015 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0-SNAPSHOT/aaa-app-2.4.0-20210604.083415-3.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053016 olt-version: '4.5.0.SNAPSHOT'
Hardik Windlassdae41ff2021-06-17 05:05:25 +000017 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0-SNAPSHOT/olt-app-4.5.0-20210611.153915-7.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053018 dhcpl2relay-version: '2.5.0.SNAPSHOT'
Andrea Campanella2e3bc872021-06-07 15:40:38 +020019 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0-SNAPSHOT/dhcpl2relay-app-2.5.0-20210604.083423-6.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053020 igmpproxy-version: '2.3.0.SNAPSHOT'
Andrea Campanella2e3bc872021-06-07 15:40:38 +020021 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.3.0-SNAPSHOT/onos-app-igmpproxy-app-2.3.0-20210604.083403-4.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053022 sadis-version: '5.4.0.SNAPSHOT'
Andrea Campanella2e3bc872021-06-07 15:40:38 +020023 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0-SNAPSHOT/sadis-app-5.4.0-20210604.081907-6.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053024 mcast-version: '2.4.0.SNAPSHOT'
Andrea Campanella2e3bc872021-06-07 15:40:38 +020025 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0-SNAPSHOT/mcast-app-2.4.0-20210604.083722-5.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053026 kafka-version: '2.7.0.SNAPSHOT'
Andrea Campanella2e3bc872021-06-07 15:40:38 +020027 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0-SNAPSHOT/kafka-2.7.0-20210604.093616-4.oar'
Hardik Windlassdae41ff2021-06-17 05:05:25 +000028 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.4.2'
29 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.1'
30 rw-core-image: 'voltha/voltha-rw-core:2.9.2'
Hardik Windlass4e2a80c2021-05-31 11:19:51 +000031 ofagent-image: 'voltha/voltha-ofagent-go:1.6.3'
Hardik Windlass88814542021-06-22 09:43:46 +000032 onu-image-version: 'BBSM_IMG_00002'
33 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
34 onu-image-vendor: 'BBSM'
35 onu-image-activate-on-success: 'false'
36 onu-image-commit-on-success: 'false'
Hardik Windlassae82ab72021-03-31 14:49:47 +053037 onu-image-crc: '0'
Hardik Windlassae82ab72021-03-31 14:49:47 +053038 time-trigger: "H H/23 * * *"
39
Hardik Windlass88814542021-06-22 09:43:46 +000040 - 'software-upgrades-test-legacy':
Hardik Windlassae82ab72021-03-31 14:49:47 +053041 name: 'periodic-software-upgrade-test-bbsim-2.7'
Matteo Scandolof593a0f2021-04-14 10:16:06 -070042 pipeline-script: 'voltha/voltha-2.7/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000043 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlassae82ab72021-03-31 14:49:47 +053044 code-branch: 'voltha-2.7'
45 aaa-version: '2.3.0'
46 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.3.0/aaa-app-2.3.0.oar'
47 olt-version: '4.4.0'
48 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.4.0/olt-app-4.4.0.oar'
49 dhcpl2relay-version: '2.4.0'
50 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.4.0/dhcpl2relay-app-2.4.0.oar'
51 igmpproxy-version: '2.2.0'
52 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.2.0/onos-app-igmpproxy-app-2.2.0.oar'
53 sadis-version: '5.3.0'
54 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.3.0/sadis-app-5.3.0.oar'
55 mcast-version: '2.3.2'
56 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.3.2/mcast-app-2.3.2.oar'
57 kafka-version: '2.6.0'
58 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.6.0/kafka-2.6.0.oar'
Hardik Windlass9dda2de2021-04-12 16:44:56 +053059 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.1.8'
Hardik Windlass4e2a80c2021-05-31 11:19:51 +000060 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.2.14'
Hardik Windlassabd342c2021-03-25 12:20:43 +053061 rw-core-image: 'voltha/voltha-rw-core:2.7.0'
Hardik Windlass2ba6e662021-03-19 16:25:14 +053062 ofagent-image: 'voltha/voltha-ofagent-go:1.5.2'
Hardik Windlass834afbb2021-03-23 11:48:15 +053063 onu-image-name: 'software-image.img'
64 onu-image-url: 'http://bbsim0:50074/images'
65 onu-image-version: 'v1.0.0'
66 onu-image-crc: '0'
67 onu-image-local-dir: '/tmp'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053068 time-trigger: "H H/23 * * *"
69
70- job-template:
Hardik Windlass88814542021-06-22 09:43:46 +000071 id: 'software-upgrades-test-legacy'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053072 name: '{name}'
73 sandbox: true
74 volthaSystemTestsChange: ''
75 volthaHelmChartsChange: ''
76 kindVolthaChange: ''
77
78 description: |
79 <!-- Managed by Jenkins Job Builder -->
80 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
81 E2E Validation for Voltha 2.X
82 properties:
83 - cord-infra-properties:
84 build-days-to-keep: '{build-days-to-keep}'
85 artifact-num-to-keep: '{artifact-num-to-keep}'
86
87 wrappers:
88 - lf-infra-wrappers:
89 build-timeout: '{build-timeout}'
90 jenkins-ssh-credential: '{jenkins-ssh-credential}'
91
92 parameters:
93 - string:
94 name: buildNode
95 default: '{build-node}'
96 description: 'Name of the Jenkins node to run the job on'
97
98 - string:
99 name: extraHelmFlags
100 default: ''
Matteo Scandoloaf402982021-05-07 11:19:06 -0700101 description: 'Helm flags to pass to every helm install command'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530102
103 - string:
104 name: volthaSystemTestsChange
105 default: ''
106 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
107
108 - string:
109 name: volthaHelmChartsChange
110 default: ''
111 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
112
113 - string:
114 name: branch
115 default: '{code-branch}'
116 description: 'Name of the branch to use'
117
118 # deprecated params (not used in master, remove after 2.6 support is dropped)
119 - string:
120 name: kindVolthaChange
121 default: ''
122 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
123
124 - string:
125 name: onosImg
Hardik Windlassae82ab72021-03-31 14:49:47 +0530126 default: ''
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530127 description: 'ONOS Image to use'
128
129 - string:
130 name: aaaVer
131 default: '{aaa-version}'
132 description: 'ONOS AAA App Version to Test Upgrade'
133
134 - string:
135 name: aaaOarUrl
136 default: '{aaa-oar-url}'
137 description: 'ONOS AAA App OAR File Url'
138
Hardik Windlass98506e72021-03-09 14:29:17 +0530139 - string:
140 name: oltVer
141 default: '{olt-version}'
142 description: 'ONOS OLT App Version to Test Upgrade'
143
144 - string:
145 name: oltOarUrl
146 default: '{olt-oar-url}'
147 description: 'ONOS OLT App OAR File Url'
148
149 - string:
150 name: dhcpl2relayVer
151 default: '{dhcpl2relay-version}'
152 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
153
154 - string:
155 name: dhcpl2relayOarUrl
156 default: '{dhcpl2relay-oar-url}'
157 description: 'ONOS DHCP L2 Relay App OAR File Url'
158
159 - string:
160 name: igmpproxyVer
161 default: '{igmpproxy-version}'
162 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
163
164 - string:
165 name: igmpproxyOarUrl
166 default: '{igmpproxy-oar-url}'
167 description: 'ONOS Igmp Proxy App OAR File Url'
168
169 - string:
170 name: sadisVer
171 default: '{sadis-version}'
172 description: 'ONOS Sadis App Version to Test Upgrade'
173
174 - string:
175 name: sadisOarUrl
176 default: '{sadis-oar-url}'
177 description: 'ONOS Sadis App OAR File Url'
178
179 - string:
180 name: mcastVer
181 default: '{mcast-version}'
182 description: 'ONOS MCast App Version to Test Upgrade'
183
184 - string:
185 name: mcastOarUrl
186 default: '{mcast-oar-url}'
187 description: 'ONOS MCast App OAR File Url'
188
189 - string:
190 name: kafkaVer
191 default: '{kafka-version}'
192 description: 'ONOS Kafka App Version to Test Upgrade'
193
194 - string:
195 name: kafkaOarUrl
196 default: '{kafka-oar-url}'
197 description: 'ONOS Kafka App OAR File Url'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530198
199 - string:
200 name: adapterOpenOltImage
201 default: '{adapter-open-olt-image}'
202 description: 'Voltha Adapter Open OLT Component Image'
203
Hardik Windlass98506e72021-03-09 14:29:17 +0530204 - string:
205 name: adapterOpenOnuImage
206 default: '{adapter-open-onu-image}'
207 description: 'Voltha Adapter Open ONU Component Image'
208
209 - string:
210 name: rwCoreImage
211 default: '{rw-core-image}'
212 description: 'Voltha RW Core Component Image'
213
214 - string:
215 name: ofAgentImage
216 default: '{ofagent-image}'
217 description: 'Voltha Ofagent Component Image'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530218
Hardik Windlass834afbb2021-03-23 11:48:15 +0530219 - string:
220 name: onuImageName
221 default: '{onu-image-name}'
222 description: 'Name of ONU Image to Upgrade'
223
224 - string:
225 name: onuImageUrl
226 default: '{onu-image-url}'
227 description: 'Url of ONU Image to Upgrade'
228
229 - string:
230 name: onuImageVersion
231 default: '{onu-image-version}'
232 description: 'Version of ONU Image to Upgrade'
233
234 - string:
235 name: onuImageCrc
236 default: '{onu-image-crc}'
237 description: 'CRC of ONU Image to Upgrade'
238
239 - string:
240 name: onuImageLocalDir
241 default: '{onu-image-local-dir}'
242 description: 'Local Dir of ONU Image to Upgrade'
243
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530244 project-type: pipeline
245 concurrent: true
246
247 dsl: !include-raw-escape: pipeline/{pipeline-script}
248
249 triggers:
250 - timed: |
251 TZ=America/Los_Angeles
252 {time-trigger}
Hardik Windlass88814542021-06-22 09:43:46 +0000253
254- job-template:
255 id: 'software-upgrades-test'
256 name: '{name}'
257 sandbox: true
258 volthaSystemTestsChange: ''
259 volthaHelmChartsChange: ''
260 kindVolthaChange: ''
261
262 description: |
263 <!-- Managed by Jenkins Job Builder -->
264 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
265 E2E Validation for Voltha 2.X
266 properties:
267 - cord-infra-properties:
268 build-days-to-keep: '{build-days-to-keep}'
269 artifact-num-to-keep: '{artifact-num-to-keep}'
270
271 wrappers:
272 - lf-infra-wrappers:
273 build-timeout: '{build-timeout}'
274 jenkins-ssh-credential: '{jenkins-ssh-credential}'
275
276 parameters:
277 - string:
278 name: buildNode
279 default: '{build-node}'
280 description: 'Name of the Jenkins node to run the job on'
281
282 - string:
283 name: extraHelmFlags
284 default: ''
285 description: 'Helm flags to pass to every helm install command'
286
287 - string:
288 name: volthaSystemTestsChange
289 default: ''
290 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
291
292 - string:
293 name: volthaHelmChartsChange
294 default: ''
295 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
296
297 - string:
298 name: branch
299 default: '{code-branch}'
300 description: 'Name of the branch to use'
301
302 # deprecated params (not used in master, remove after 2.6 support is dropped)
303 - string:
304 name: kindVolthaChange
305 default: ''
306 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
307
308 - string:
309 name: onosImg
310 default: ''
311 description: 'ONOS Image to use'
312
313 - string:
314 name: aaaVer
315 default: '{aaa-version}'
316 description: 'ONOS AAA App Version to Test Upgrade'
317
318 - string:
319 name: aaaOarUrl
320 default: '{aaa-oar-url}'
321 description: 'ONOS AAA App OAR File Url'
322
323 - string:
324 name: oltVer
325 default: '{olt-version}'
326 description: 'ONOS OLT App Version to Test Upgrade'
327
328 - string:
329 name: oltOarUrl
330 default: '{olt-oar-url}'
331 description: 'ONOS OLT App OAR File Url'
332
333 - string:
334 name: dhcpl2relayVer
335 default: '{dhcpl2relay-version}'
336 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
337
338 - string:
339 name: dhcpl2relayOarUrl
340 default: '{dhcpl2relay-oar-url}'
341 description: 'ONOS DHCP L2 Relay App OAR File Url'
342
343 - string:
344 name: igmpproxyVer
345 default: '{igmpproxy-version}'
346 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
347
348 - string:
349 name: igmpproxyOarUrl
350 default: '{igmpproxy-oar-url}'
351 description: 'ONOS Igmp Proxy App OAR File Url'
352
353 - string:
354 name: sadisVer
355 default: '{sadis-version}'
356 description: 'ONOS Sadis App Version to Test Upgrade'
357
358 - string:
359 name: sadisOarUrl
360 default: '{sadis-oar-url}'
361 description: 'ONOS Sadis App OAR File Url'
362
363 - string:
364 name: mcastVer
365 default: '{mcast-version}'
366 description: 'ONOS MCast App Version to Test Upgrade'
367
368 - string:
369 name: mcastOarUrl
370 default: '{mcast-oar-url}'
371 description: 'ONOS MCast App OAR File Url'
372
373 - string:
374 name: kafkaVer
375 default: '{kafka-version}'
376 description: 'ONOS Kafka App Version to Test Upgrade'
377
378 - string:
379 name: kafkaOarUrl
380 default: '{kafka-oar-url}'
381 description: 'ONOS Kafka App OAR File Url'
382
383 - string:
384 name: adapterOpenOltImage
385 default: '{adapter-open-olt-image}'
386 description: 'Voltha Adapter Open OLT Component Image'
387
388 - string:
389 name: adapterOpenOnuImage
390 default: '{adapter-open-onu-image}'
391 description: 'Voltha Adapter Open ONU Component Image'
392
393 - string:
394 name: rwCoreImage
395 default: '{rw-core-image}'
396 description: 'Voltha RW Core Component Image'
397
398 - string:
399 name: ofAgentImage
400 default: '{ofagent-image}'
401 description: 'Voltha Ofagent Component Image'
402
403 - string:
404 name: onuImageVersion
405 default: '{onu-image-version}'
406 description: 'Version of ONU Image to Upgrade'
407
408 - string:
409 name: onuImageUrl
410 default: '{onu-image-url}'
411 description: 'Url of ONU Image to Upgrade'
412
413 - string:
414 name: onuImageVendor
415 default: '{onu-image-vendor}'
416 description: 'Vendor of ONU Image to Upgrade'
417
418 - string:
419 name: onuImageActivateOnSuccess
420 default: '{onu-image-activate-on-success}'
421 description: 'Activate ONU Image'
422
423 - string:
424 name: onuImageCommitOnSuccess
425 default: '{onu-image-commit-on-success}'
426 description: 'Commit ONU Image'
427
428 - string:
429 name: onuImageCrc
430 default: '{onu-image-crc}'
431 description: 'CRC of ONU Image to Upgrade'
432
433 project-type: pipeline
434 concurrent: true
435
436 dsl: !include-raw-escape: pipeline/{pipeline-script}
437
438 triggers:
439 - timed: |
440 TZ=America/Los_Angeles
441 {time-trigger}