blob: 61a4711d64c438ab72bad601333435562e31a2d7 [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 Windlass2cf4a932021-09-16 18:14:07 +053028 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.6.2'
Hardik Windlassda9b2d32021-08-09 08:03:11 +000029 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.4.0'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000030 rw-core-image: 'voltha/voltha-rw-core:2.9.3'
31 ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
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'
60 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.12'
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: ''
78
79 description: |
80 <!-- Managed by Jenkins Job Builder -->
81 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
82 E2E Validation for Voltha 2.X
83 properties:
84 - cord-infra-properties:
85 build-days-to-keep: '{build-days-to-keep}'
86 artifact-num-to-keep: '{artifact-num-to-keep}'
87
88 wrappers:
89 - lf-infra-wrappers:
90 build-timeout: '{build-timeout}'
91 jenkins-ssh-credential: '{jenkins-ssh-credential}'
92
93 parameters:
94 - string:
95 name: buildNode
96 default: '{build-node}'
97 description: 'Name of the Jenkins node to run the job on'
98
99 - string:
100 name: extraHelmFlags
101 default: ''
102 description: 'Helm flags to pass to every helm install command'
103
104 - string:
105 name: volthaSystemTestsChange
106 default: ''
107 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
108
109 - string:
110 name: volthaHelmChartsChange
111 default: ''
112 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
113
114 - string:
115 name: branch
116 default: '{code-branch}'
117 description: 'Name of the branch to use'
118
119 # deprecated params (not used in master, remove after 2.6 support is dropped)
120 - string:
121 name: kindVolthaChange
122 default: ''
123 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
124
125 - string:
126 name: onosImg
127 default: ''
128 description: 'ONOS Image to use'
129
130 - string:
131 name: aaaVer
132 default: '{aaa-version}'
133 description: 'ONOS AAA App Version to Test Upgrade'
134
135 - string:
136 name: aaaOarUrl
137 default: '{aaa-oar-url}'
138 description: 'ONOS AAA App OAR File Url'
139
140 - string:
141 name: oltVer
142 default: '{olt-version}'
143 description: 'ONOS OLT App Version to Test Upgrade'
144
145 - string:
146 name: oltOarUrl
147 default: '{olt-oar-url}'
148 description: 'ONOS OLT App OAR File Url'
149
150 - string:
151 name: dhcpl2relayVer
152 default: '{dhcpl2relay-version}'
153 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
154
155 - string:
156 name: dhcpl2relayOarUrl
157 default: '{dhcpl2relay-oar-url}'
158 description: 'ONOS DHCP L2 Relay App OAR File Url'
159
160 - string:
161 name: igmpproxyVer
162 default: '{igmpproxy-version}'
163 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
164
165 - string:
166 name: igmpproxyOarUrl
167 default: '{igmpproxy-oar-url}'
168 description: 'ONOS Igmp Proxy App OAR File Url'
169
170 - string:
171 name: sadisVer
172 default: '{sadis-version}'
173 description: 'ONOS Sadis App Version to Test Upgrade'
174
175 - string:
176 name: sadisOarUrl
177 default: '{sadis-oar-url}'
178 description: 'ONOS Sadis App OAR File Url'
179
180 - string:
181 name: mcastVer
182 default: '{mcast-version}'
183 description: 'ONOS MCast App Version to Test Upgrade'
184
185 - string:
186 name: mcastOarUrl
187 default: '{mcast-oar-url}'
188 description: 'ONOS MCast App OAR File Url'
189
190 - string:
191 name: kafkaVer
192 default: '{kafka-version}'
193 description: 'ONOS Kafka App Version to Test Upgrade'
194
195 - string:
196 name: kafkaOarUrl
197 default: '{kafka-oar-url}'
198 description: 'ONOS Kafka App OAR File Url'
199
200 - string:
201 name: adapterOpenOltImage
202 default: '{adapter-open-olt-image}'
203 description: 'Voltha Adapter Open OLT Component Image'
204
205 - string:
206 name: adapterOpenOnuImage
207 default: '{adapter-open-onu-image}'
208 description: 'Voltha Adapter Open ONU Component Image'
209
210 - string:
211 name: rwCoreImage
212 default: '{rw-core-image}'
213 description: 'Voltha RW Core Component Image'
214
215 - string:
216 name: ofAgentImage
217 default: '{ofagent-image}'
218 description: 'Voltha Ofagent Component Image'
219
220 - string:
221 name: onuImageVersion
222 default: '{onu-image-version}'
223 description: 'Version of ONU Image to Upgrade'
224
225 - string:
226 name: onuImageUrl
227 default: '{onu-image-url}'
228 description: 'Url of ONU Image to Upgrade'
229
230 - string:
231 name: onuImageVendor
232 default: '{onu-image-vendor}'
233 description: 'Vendor of ONU Image to Upgrade'
234
235 - string:
236 name: onuImageActivateOnSuccess
237 default: '{onu-image-activate-on-success}'
238 description: 'Activate ONU Image'
239
240 - string:
241 name: onuImageCommitOnSuccess
242 default: '{onu-image-commit-on-success}'
243 description: 'Commit ONU Image'
244
245 - string:
246 name: onuImageCrc
247 default: '{onu-image-crc}'
248 description: 'CRC of ONU Image to Upgrade'
249
250 project-type: pipeline
251 concurrent: true
252
253 dsl: !include-raw-escape: pipeline/{pipeline-script}
254
255 triggers:
256 - timed: |
257 TZ=America/Los_Angeles
258 {time-trigger}