blob: 15a147462580d33fcc8f1186244d2aa28c055f99 [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 Windlass6d9a82e2021-07-08 16:23:21 +000014 aaa-version: '2.4.0'
15 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
16 olt-version: '4.5.0'
17 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
18 dhcpl2relay-version: '2.5.0'
19 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
20 igmpproxy-version: '2.3.0'
21 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'
22 sadis-version: '5.4.0'
23 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
24 mcast-version: '2.4.0'
25 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
26 kafka-version: '2.7.0'
27 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0/kafka-2.7.0.oar'
Hardik Windlass6769f242021-10-07 11:05:30 +000028 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:4.0.0'
29 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:2.0.1'
30 rw-core-image: 'voltha/voltha-rw-core:3.0.0'
31 ofagent-image: 'voltha/voltha-ofagent-go:2.0.0'
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 Windlass6d9a82e2021-07-08 16:23:21 +000040 - 'software-upgrades-test':
41 name: 'periodic-software-upgrade-test-bbsim-2.8'
42 pipeline-script: 'voltha/voltha-2.8/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000043 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000044 code-branch: 'voltha-2.8'
45 aaa-version: '2.4.0'
46 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
47 olt-version: '4.5.0'
48 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
49 dhcpl2relay-version: '2.5.0'
50 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
51 igmpproxy-version: '2.3.0'
52 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'
53 sadis-version: '5.4.0'
54 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
55 mcast-version: '2.4.0'
56 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
57 kafka-version: '2.7.0'
58 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0/kafka-2.7.0.oar'
Hardik Windlass2cf4a932021-09-16 18:14:07 +053059 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.5.5'
Hardik Windlass6769f242021-10-07 11:05:30 +000060 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.13'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000061 rw-core-image: 'voltha/voltha-rw-core:2.9.3'
62 ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
63 onu-image-version: 'BBSM_IMG_00002'
64 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
65 onu-image-vendor: 'BBSM'
66 onu-image-activate-on-success: 'false'
67 onu-image-commit-on-success: 'false'
Hardik Windlass834afbb2021-03-23 11:48:15 +053068 onu-image-crc: '0'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053069 time-trigger: "H H/23 * * *"
70
71- job-template:
Hardik Windlass88814542021-06-22 09:43:46 +000072 id: 'software-upgrades-test'
73 name: '{name}'
74 sandbox: true
75 volthaSystemTestsChange: ''
76 volthaHelmChartsChange: ''
77 kindVolthaChange: ''
Hardik Windlasscb955822021-10-21 14:59:11 +000078 logLevel: 'DEBUG'
79 logging: true
Hardik Windlass88814542021-06-22 09:43:46 +000080
81 description: |
82 <!-- Managed by Jenkins Job Builder -->
83 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
84 E2E Validation for Voltha 2.X
85 properties:
86 - cord-infra-properties:
87 build-days-to-keep: '{build-days-to-keep}'
88 artifact-num-to-keep: '{artifact-num-to-keep}'
89
90 wrappers:
91 - lf-infra-wrappers:
92 build-timeout: '{build-timeout}'
93 jenkins-ssh-credential: '{jenkins-ssh-credential}'
94
95 parameters:
96 - string:
97 name: buildNode
98 default: '{build-node}'
99 description: 'Name of the Jenkins node to run the job on'
100
101 - string:
102 name: extraHelmFlags
103 default: ''
104 description: 'Helm flags to pass to every helm install command'
105
106 - string:
107 name: volthaSystemTestsChange
108 default: ''
109 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
110
111 - string:
112 name: volthaHelmChartsChange
113 default: ''
114 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
115
116 - string:
117 name: branch
118 default: '{code-branch}'
119 description: 'Name of the branch to use'
120
121 # deprecated params (not used in master, remove after 2.6 support is dropped)
122 - string:
123 name: kindVolthaChange
124 default: ''
125 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
126
127 - string:
128 name: onosImg
129 default: ''
130 description: 'ONOS Image to use'
131
132 - string:
133 name: aaaVer
134 default: '{aaa-version}'
135 description: 'ONOS AAA App Version to Test Upgrade'
136
137 - string:
138 name: aaaOarUrl
139 default: '{aaa-oar-url}'
140 description: 'ONOS AAA App OAR File Url'
141
142 - string:
143 name: oltVer
144 default: '{olt-version}'
145 description: 'ONOS OLT App Version to Test Upgrade'
146
147 - string:
148 name: oltOarUrl
149 default: '{olt-oar-url}'
150 description: 'ONOS OLT App OAR File Url'
151
152 - string:
153 name: dhcpl2relayVer
154 default: '{dhcpl2relay-version}'
155 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
156
157 - string:
158 name: dhcpl2relayOarUrl
159 default: '{dhcpl2relay-oar-url}'
160 description: 'ONOS DHCP L2 Relay App OAR File Url'
161
162 - string:
163 name: igmpproxyVer
164 default: '{igmpproxy-version}'
165 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
166
167 - string:
168 name: igmpproxyOarUrl
169 default: '{igmpproxy-oar-url}'
170 description: 'ONOS Igmp Proxy App OAR File Url'
171
172 - string:
173 name: sadisVer
174 default: '{sadis-version}'
175 description: 'ONOS Sadis App Version to Test Upgrade'
176
177 - string:
178 name: sadisOarUrl
179 default: '{sadis-oar-url}'
180 description: 'ONOS Sadis App OAR File Url'
181
182 - string:
183 name: mcastVer
184 default: '{mcast-version}'
185 description: 'ONOS MCast App Version to Test Upgrade'
186
187 - string:
188 name: mcastOarUrl
189 default: '{mcast-oar-url}'
190 description: 'ONOS MCast App OAR File Url'
191
192 - string:
193 name: kafkaVer
194 default: '{kafka-version}'
195 description: 'ONOS Kafka App Version to Test Upgrade'
196
197 - string:
198 name: kafkaOarUrl
199 default: '{kafka-oar-url}'
200 description: 'ONOS Kafka App OAR File Url'
201
202 - string:
203 name: adapterOpenOltImage
204 default: '{adapter-open-olt-image}'
205 description: 'Voltha Adapter Open OLT Component Image'
206
207 - string:
208 name: adapterOpenOnuImage
209 default: '{adapter-open-onu-image}'
210 description: 'Voltha Adapter Open ONU Component Image'
211
212 - string:
213 name: rwCoreImage
214 default: '{rw-core-image}'
215 description: 'Voltha RW Core Component Image'
216
217 - string:
218 name: ofAgentImage
219 default: '{ofagent-image}'
220 description: 'Voltha Ofagent Component Image'
221
222 - string:
223 name: onuImageVersion
224 default: '{onu-image-version}'
225 description: 'Version of ONU Image to Upgrade'
226
227 - string:
228 name: onuImageUrl
229 default: '{onu-image-url}'
230 description: 'Url of ONU Image to Upgrade'
231
232 - string:
233 name: onuImageVendor
234 default: '{onu-image-vendor}'
235 description: 'Vendor of ONU Image to Upgrade'
236
237 - string:
238 name: onuImageActivateOnSuccess
239 default: '{onu-image-activate-on-success}'
240 description: 'Activate ONU Image'
241
242 - string:
243 name: onuImageCommitOnSuccess
244 default: '{onu-image-commit-on-success}'
245 description: 'Commit ONU Image'
246
247 - string:
248 name: onuImageCrc
249 default: '{onu-image-crc}'
250 description: 'CRC of ONU Image to Upgrade'
251
Hardik Windlasscb955822021-10-21 14:59:11 +0000252 - string:
253 name: logLevel
254 default: '{logLevel}'
255 description: 'Log level for all the components'
256
257 - bool:
258 name: logging
259 default: '{logging}'
260 description: 'Option to collect voltha components logs per test case'
261
Hardik Windlass88814542021-06-22 09:43:46 +0000262 project-type: pipeline
263 concurrent: true
264
265 dsl: !include-raw-escape: pipeline/{pipeline-script}
266
267 triggers:
268 - timed: |
269 TZ=America/Los_Angeles
270 {time-trigger}