blob: b06a377d14e1f73c1a8250b867a1b78e0217e306 [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 Windlass6cac6592021-03-22 17:30:43 +053012 onos-image: 'andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053013 build-node: 'qct-pod4-node2'
14 code-branch: 'master'
15 aaa-version: '2.3.0.SNAPSHOT'
Hardik Windlass5e9daf52021-03-23 08:52:39 +053016 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.3.0-SNAPSHOT/aaa-app-2.3.0-20210322.191830-3.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053017 olt-version: '4.4.0.SNAPSHOT'
Hardik Windlass4f592592021-03-22 11:29:49 +053018 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.4.0-SNAPSHOT/olt-app-4.4.0-20210319.122447-8.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053019 dhcpl2relay-version: '2.4.0.SNAPSHOT'
20 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.4.0-SNAPSHOT/dhcpl2relay-app-2.4.0-20210311.091154-2.oar'
21 igmpproxy-version: '2.2.0.SNAPSHOT'
Hardik Windlass4f592592021-03-22 11:29:49 +053022 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.2.0-SNAPSHOT/onos-app-igmpproxy-app-2.2.0-20210312.105254-9.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053023 sadis-version: '5.3.0.SNAPSHOT'
24 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.3.0-SNAPSHOT/sadis-app-5.3.0-20210311.085841-3.oar'
25 mcast-version: '2.2.0.SNAPSHOT'
Hardik Windlass4f592592021-03-22 11:29:49 +053026 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.2.0-SNAPSHOT/mcast-app-2.2.0-20210316.083454-5.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053027 kafka-version: '2.6.0.SNAPSHOT'
28 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.6.0-SNAPSHOT/kafka-2.6.0-20210311.093145-2.oar'
Hardik Windlassabd342c2021-03-25 12:20:43 +053029 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.2.0'
Hardik Windlass20a305f2021-03-17 09:55:59 +053030 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.2.6'
Hardik Windlassabd342c2021-03-25 12:20:43 +053031 rw-core-image: 'voltha/voltha-rw-core:2.7.0'
Hardik Windlass2ba6e662021-03-19 16:25:14 +053032 ofagent-image: 'voltha/voltha-ofagent-go:1.5.2'
Hardik Windlass834afbb2021-03-23 11:48:15 +053033 onu-image-name: 'software-image.img'
34 onu-image-url: 'http://bbsim0:50074/images'
35 onu-image-version: 'v1.0.0'
36 onu-image-crc: '0'
37 onu-image-local-dir: '/tmp'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053038 time-trigger: "H H/23 * * *"
39
40- job-template:
41 id: 'software-upgrades-test'
42 name: '{name}'
43 sandbox: true
44 volthaSystemTestsChange: ''
45 volthaHelmChartsChange: ''
46 kindVolthaChange: ''
47
48 description: |
49 <!-- Managed by Jenkins Job Builder -->
50 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
51 E2E Validation for Voltha 2.X
52 properties:
53 - cord-infra-properties:
54 build-days-to-keep: '{build-days-to-keep}'
55 artifact-num-to-keep: '{artifact-num-to-keep}'
56
57 wrappers:
58 - lf-infra-wrappers:
59 build-timeout: '{build-timeout}'
60 jenkins-ssh-credential: '{jenkins-ssh-credential}'
61
62 parameters:
63 - string:
64 name: buildNode
65 default: '{build-node}'
66 description: 'Name of the Jenkins node to run the job on'
67
68 - string:
69 name: extraHelmFlags
70 default: ''
71 description: 'Helm flags to pass to ./voltha up'
72
73 - string:
74 name: volthaSystemTestsChange
75 default: ''
76 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
77
78 - string:
79 name: volthaHelmChartsChange
80 default: ''
81 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
82
83 - string:
84 name: branch
85 default: '{code-branch}'
86 description: 'Name of the branch to use'
87
88 # deprecated params (not used in master, remove after 2.6 support is dropped)
89 - string:
90 name: kindVolthaChange
91 default: ''
92 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
93
94 - string:
95 name: onosImg
Hardik Windlass6cac6592021-03-22 17:30:43 +053096 default: '{onos-image}'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053097 description: 'ONOS Image to use'
98
99 - string:
100 name: aaaVer
101 default: '{aaa-version}'
102 description: 'ONOS AAA App Version to Test Upgrade'
103
104 - string:
105 name: aaaOarUrl
106 default: '{aaa-oar-url}'
107 description: 'ONOS AAA App OAR File Url'
108
Hardik Windlass98506e72021-03-09 14:29:17 +0530109 - string:
110 name: oltVer
111 default: '{olt-version}'
112 description: 'ONOS OLT App Version to Test Upgrade'
113
114 - string:
115 name: oltOarUrl
116 default: '{olt-oar-url}'
117 description: 'ONOS OLT App OAR File Url'
118
119 - string:
120 name: dhcpl2relayVer
121 default: '{dhcpl2relay-version}'
122 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
123
124 - string:
125 name: dhcpl2relayOarUrl
126 default: '{dhcpl2relay-oar-url}'
127 description: 'ONOS DHCP L2 Relay App OAR File Url'
128
129 - string:
130 name: igmpproxyVer
131 default: '{igmpproxy-version}'
132 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
133
134 - string:
135 name: igmpproxyOarUrl
136 default: '{igmpproxy-oar-url}'
137 description: 'ONOS Igmp Proxy App OAR File Url'
138
139 - string:
140 name: sadisVer
141 default: '{sadis-version}'
142 description: 'ONOS Sadis App Version to Test Upgrade'
143
144 - string:
145 name: sadisOarUrl
146 default: '{sadis-oar-url}'
147 description: 'ONOS Sadis App OAR File Url'
148
149 - string:
150 name: mcastVer
151 default: '{mcast-version}'
152 description: 'ONOS MCast App Version to Test Upgrade'
153
154 - string:
155 name: mcastOarUrl
156 default: '{mcast-oar-url}'
157 description: 'ONOS MCast App OAR File Url'
158
159 - string:
160 name: kafkaVer
161 default: '{kafka-version}'
162 description: 'ONOS Kafka App Version to Test Upgrade'
163
164 - string:
165 name: kafkaOarUrl
166 default: '{kafka-oar-url}'
167 description: 'ONOS Kafka App OAR File Url'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530168
169 - string:
170 name: adapterOpenOltImage
171 default: '{adapter-open-olt-image}'
172 description: 'Voltha Adapter Open OLT Component Image'
173
Hardik Windlass98506e72021-03-09 14:29:17 +0530174 - string:
175 name: adapterOpenOnuImage
176 default: '{adapter-open-onu-image}'
177 description: 'Voltha Adapter Open ONU Component Image'
178
179 - string:
180 name: rwCoreImage
181 default: '{rw-core-image}'
182 description: 'Voltha RW Core Component Image'
183
184 - string:
185 name: ofAgentImage
186 default: '{ofagent-image}'
187 description: 'Voltha Ofagent Component Image'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530188
Hardik Windlass834afbb2021-03-23 11:48:15 +0530189 - string:
190 name: onuImageName
191 default: '{onu-image-name}'
192 description: 'Name of ONU Image to Upgrade'
193
194 - string:
195 name: onuImageUrl
196 default: '{onu-image-url}'
197 description: 'Url of ONU Image to Upgrade'
198
199 - string:
200 name: onuImageVersion
201 default: '{onu-image-version}'
202 description: 'Version of ONU Image to Upgrade'
203
204 - string:
205 name: onuImageCrc
206 default: '{onu-image-crc}'
207 description: 'CRC of ONU Image to Upgrade'
208
209 - string:
210 name: onuImageLocalDir
211 default: '{onu-image-local-dir}'
212 description: 'Local Dir of ONU Image to Upgrade'
213
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530214 project-type: pipeline
215 concurrent: true
216
217 dsl: !include-raw-escape: pipeline/{pipeline-script}
218
219 triggers:
220 - timed: |
221 TZ=America/Los_Angeles
222 {time-trigger}
223