Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 1 | --- |
Joey Armstrong | 5c135fe | 2024-03-25 16:45:55 -0400 | [diff] [blame] | 2 | |
| 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 Armstrong | 2f8a5fa | 2023-01-29 14:06:30 -0500 | [diff] [blame] | 24 | # oar image URLs that redirect away from oss to maven-central (?) |
| 25 | # olt, dhcpl2relay, igmpproxy, kafka |
Joey Armstrong | 5c135fe | 2024-03-25 16:45:55 -0400 | [diff] [blame] | 26 | # ----------------------------------------------------------------------- |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 27 | |
| 28 | - project: |
| 29 | name: software-upgrades |
| 30 | project-name: '{name}' |
| 31 | |
| 32 | jobs: |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 33 | - 'software-upgrades-test': |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 34 | name: 'periodic-software-upgrade-test-bbsim' |
Jan Klare | 8846dea | 2023-09-15 14:31:56 +0200 | [diff] [blame] | 35 | pipeline-script: 'voltha/software-upgrades.groovy' |
Jan Klare | 8b7b3df | 2023-09-15 11:27:15 +0200 | [diff] [blame] | 36 | pipeline-branch: 'master' |
Hardik Windlass | 9f5bee1 | 2021-05-07 06:47:21 +0000 | [diff] [blame] | 37 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 38 | code-branch: 'master' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 39 | aaa-version: '2.11.2' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 40 | aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.10.3/aaa-app-2.10.3.oar' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 41 | olt-version: '5.2.8' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 42 | olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.4/olt-app-5.2.4.oar' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 43 | dhcpl2relay-version: '2.11.2' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 44 | dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.10.0/dhcpl2relay-app-2.10.0.oar' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 45 | igmpproxy-version: '2.9.1' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 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' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 47 | sadis-version: '5.12.3' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 48 | sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.11.1/sadis-app-5.11.1.oar' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 49 | mcast-version: '2.9.3' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 50 | mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.9.0/mcast-app-2.9.0.oar' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 51 | kafka-version: '2.13.3' |
Mahir Gunyel | a492d9d | 2024-01-03 21:46:53 -0800 | [diff] [blame] | 52 | kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.12.0/kafka-2.12.0.oar' |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 53 | openolt-adapter-deploy-base-tag: '4.5.6' |
| 54 | openonu-adapter-deploy-base-tag: '2.12.14' |
| 55 | rw-core-deploy-base-tag: '3.6.6' |
| 56 | ofagent-deploy-base-tag: '2.13.0' |
| 57 | 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' |
| 62 | onu-image-crc: '0' |
| 63 | time-trigger: "H H/23 * * *" |
| 64 | |
| 65 | # ----------------------------------------------------------------------- |
| 66 | # voltha 2.13 release |
| 67 | # ----------------------------------------------------------------------- |
| 68 | |
| 69 | - 'software-upgrades-test': |
| 70 | name: 'periodic-software-upgrade-test-bbsim-2.13' |
| 71 | pipeline-script: 'voltha/voltha-2.13/software-upgrades.groovy' |
| 72 | pipeline-branch: 'voltha-2.13' |
| 73 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
| 74 | code-branch: 'voltha-2.13' |
| 75 | aaa-version: '2.11.2' |
| 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.8' |
| 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.11.2' |
| 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.9.1' |
| 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.12.3' |
| 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.3' |
| 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.13.3' |
| 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.5.6' |
| 90 | openonu-adapter-deploy-base-tag: '2.12.14' |
| 91 | rw-core-deploy-base-tag: '3.6.6' |
| 92 | ofagent-deploy-base-tag: '2.13.0' |
Hardik Windlass | 8881454 | 2021-06-22 09:43:46 +0000 | [diff] [blame] | 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' |
Hardik Windlass | ae82ab7 | 2021-03-31 14:49:47 +0530 | [diff] [blame] | 98 | onu-image-crc: '0' |
Hardik Windlass | ae82ab7 | 2021-03-31 14:49:47 +0530 | [diff] [blame] | 99 | time-trigger: "H H/23 * * *" |
| 100 | |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 101 | # ----------------------------------------------------------------------- |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 102 | # https://docs.voltha.org/master/release_notes/voltha_2.11.html#onos-apps |
Joey Armstrong | daa1f0a | 2024-04-03 18:07:59 -0400 | [diff] [blame] | 103 | # ----------------------------------------------------------------------- |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 104 | - 'software-upgrades-test': |
Joey Armstrong | 2f8a5fa | 2023-01-29 14:06:30 -0500 | [diff] [blame] | 105 | name: 'periodic-software-upgrade-test-bbsim-2.11' |
| 106 | pipeline-script: 'voltha/voltha-2.11/software-upgrades.groovy' |
Jan Klare | 8b7b3df | 2023-09-15 11:27:15 +0200 | [diff] [blame] | 107 | pipeline-branch: 'voltha-2.11' |
Joey Armstrong | 2f8a5fa | 2023-01-29 14:06:30 -0500 | [diff] [blame] | 108 | 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 Armstrong | ed6c46e | 2023-02-03 11:08:42 -0500 | [diff] [blame] | 124 | 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 Armstrong | 2f8a5fa | 2023-01-29 14:06:30 -0500 | [diff] [blame] | 128 | 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 Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 136 | # ----------------------------------------------------------------------- |
Hardik Windlass | 317ad02 | 2022-02-21 11:18:18 +0000 | [diff] [blame] | 137 | # to be used for voltha releases 2.9 onwards |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 138 | # ----------------------------------------------------------------------- |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 139 | - job-template: |
Eric Ball | 0d5a51a | 2025-01-22 16:55:16 -0800 | [diff] [blame] | 140 | id: 'software-upgrades-test' |
Hardik Windlass | 317ad02 | 2022-02-21 11:18:18 +0000 | [diff] [blame] | 141 | name: '{name}' |
| 142 | sandbox: true |
| 143 | volthaSystemTestsChange: '' |
| 144 | volthaHelmChartsChange: '' |
| 145 | kindVolthaChange: '' |
| 146 | logLevel: 'DEBUG' |
| 147 | logging: true |
| 148 | |
| 149 | description: | |
| 150 | <!-- Managed by Jenkins Job Builder --> |
| 151 | Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br /> |
Mahir Gunyel | daa38a3 | 2024-01-04 12:50:20 -0800 | [diff] [blame] | 152 | E2E Validation for Voltha master |
Hardik Windlass | 317ad02 | 2022-02-21 11:18:18 +0000 | [diff] [blame] | 153 | properties: |
Joey Armstrong | 8e1de65 | 2022-09-02 12:09:52 -0400 | [diff] [blame] | 154 | - onf-infra-volthadevs-permissions |
Hardik Windlass | 317ad02 | 2022-02-21 11:18:18 +0000 | [diff] [blame] | 155 | - cord-infra-properties: |
| 156 | build-days-to-keep: '{build-days-to-keep}' |
| 157 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 158 | |
| 159 | wrappers: |
| 160 | - lf-infra-wrappers: |
| 161 | build-timeout: '{build-timeout}' |
| 162 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 163 | |
| 164 | parameters: |
| 165 | - string: |
| 166 | name: buildNode |
| 167 | default: '{build-node}' |
| 168 | description: 'Name of the Jenkins node to run the job on' |
| 169 | |
| 170 | - string: |
| 171 | name: extraHelmFlags |
| 172 | default: '' |
| 173 | description: 'Helm flags to pass to every helm install command' |
| 174 | |
| 175 | - string: |
| 176 | name: volthaSystemTestsChange |
| 177 | default: '' |
| 178 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 179 | |
| 180 | - string: |
| 181 | name: volthaHelmChartsChange |
| 182 | default: '' |
| 183 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 184 | |
| 185 | - string: |
| 186 | name: branch |
| 187 | default: '{code-branch}' |
| 188 | description: 'Name of the branch to use' |
| 189 | |
| 190 | - string: |
| 191 | name: onosImg |
| 192 | default: '' |
| 193 | description: 'ONOS Image to use' |
| 194 | |
| 195 | - string: |
| 196 | name: aaaVer |
| 197 | default: '{aaa-version}' |
| 198 | description: 'ONOS AAA App Version to Test Upgrade' |
| 199 | |
| 200 | - string: |
| 201 | name: aaaOarUrl |
| 202 | default: '{aaa-oar-url}' |
| 203 | description: 'ONOS AAA App OAR File Url' |
| 204 | |
| 205 | - string: |
| 206 | name: oltVer |
| 207 | default: '{olt-version}' |
| 208 | description: 'ONOS OLT App Version to Test Upgrade' |
| 209 | |
| 210 | - string: |
| 211 | name: oltOarUrl |
| 212 | default: '{olt-oar-url}' |
| 213 | description: 'ONOS OLT App OAR File Url' |
| 214 | |
| 215 | - string: |
| 216 | name: dhcpl2relayVer |
| 217 | default: '{dhcpl2relay-version}' |
| 218 | description: 'ONOS DHCP L2 Relay App Version to Test Upgrade' |
| 219 | |
| 220 | - string: |
| 221 | name: dhcpl2relayOarUrl |
| 222 | default: '{dhcpl2relay-oar-url}' |
| 223 | description: 'ONOS DHCP L2 Relay App OAR File Url' |
| 224 | |
| 225 | - string: |
| 226 | name: igmpproxyVer |
| 227 | default: '{igmpproxy-version}' |
| 228 | description: 'ONOS Igmp Proxy App Version to Test Upgrade' |
| 229 | |
| 230 | - string: |
| 231 | name: igmpproxyOarUrl |
| 232 | default: '{igmpproxy-oar-url}' |
| 233 | description: 'ONOS Igmp Proxy App OAR File Url' |
| 234 | |
| 235 | - string: |
| 236 | name: sadisVer |
| 237 | default: '{sadis-version}' |
| 238 | description: 'ONOS Sadis App Version to Test Upgrade' |
| 239 | |
| 240 | - string: |
| 241 | name: sadisOarUrl |
| 242 | default: '{sadis-oar-url}' |
| 243 | description: 'ONOS Sadis App OAR File Url' |
| 244 | |
| 245 | - string: |
| 246 | name: mcastVer |
| 247 | default: '{mcast-version}' |
| 248 | description: 'ONOS MCast App Version to Test Upgrade' |
| 249 | |
| 250 | - string: |
| 251 | name: mcastOarUrl |
| 252 | default: '{mcast-oar-url}' |
| 253 | description: 'ONOS MCast App OAR File Url' |
| 254 | |
| 255 | - string: |
| 256 | name: kafkaVer |
| 257 | default: '{kafka-version}' |
| 258 | description: 'ONOS Kafka App Version to Test Upgrade' |
| 259 | |
| 260 | - string: |
| 261 | name: kafkaOarUrl |
| 262 | default: '{kafka-oar-url}' |
| 263 | description: 'ONOS Kafka App OAR File Url' |
| 264 | |
| 265 | - string: |
Hardik Windlass | 8e26449 | 2022-03-25 16:15:45 +0000 | [diff] [blame] | 266 | name: openoltAdapterDeployBaseTag |
| 267 | default: '{openolt-adapter-deploy-base-tag}' |
| 268 | description: 'Minimum Version of OpenOLT Adapter to be used for Deployment' |
| 269 | |
| 270 | - string: |
| 271 | name: openonuAdapterDeployBaseTag |
| 272 | default: '{openonu-adapter-deploy-base-tag}' |
| 273 | description: 'Minimum Version of OpenONU Adapter to be used for Deployment' |
| 274 | |
| 275 | - string: |
| 276 | name: rwCoreDeployBaseTag |
| 277 | default: '{rw-core-deploy-base-tag}' |
| 278 | description: 'Minimum Version of RW Core to be used for Deployment' |
| 279 | |
| 280 | - string: |
| 281 | name: ofagentDeployBaseTag |
| 282 | default: '{ofagent-deploy-base-tag}' |
| 283 | description: 'Minimum Version of Ofagent to be used for Deployment' |
| 284 | |
| 285 | - string: |
Hardik Windlass | 317ad02 | 2022-02-21 11:18:18 +0000 | [diff] [blame] | 286 | name: onuImageVersion |
| 287 | default: '{onu-image-version}' |
| 288 | description: 'Version of ONU Image to Upgrade' |
| 289 | |
| 290 | - string: |
| 291 | name: onuImageUrl |
| 292 | default: '{onu-image-url}' |
| 293 | description: 'Url of ONU Image to Upgrade' |
| 294 | |
| 295 | - string: |
| 296 | name: onuImageVendor |
| 297 | default: '{onu-image-vendor}' |
| 298 | description: 'Vendor of ONU Image to Upgrade' |
| 299 | |
| 300 | - string: |
| 301 | name: onuImageActivateOnSuccess |
| 302 | default: '{onu-image-activate-on-success}' |
| 303 | description: 'Activate ONU Image' |
| 304 | |
| 305 | - string: |
| 306 | name: onuImageCommitOnSuccess |
| 307 | default: '{onu-image-commit-on-success}' |
| 308 | description: 'Commit ONU Image' |
| 309 | |
| 310 | - string: |
| 311 | name: onuImageCrc |
| 312 | default: '{onu-image-crc}' |
| 313 | description: 'CRC of ONU Image to Upgrade' |
| 314 | |
| 315 | - string: |
| 316 | name: logLevel |
| 317 | default: '{logLevel}' |
| 318 | description: 'Log level for all the components' |
| 319 | |
| 320 | - bool: |
| 321 | name: logging |
| 322 | default: '{logging}' |
| 323 | description: 'Option to collect voltha components logs per test case' |
| 324 | |
| 325 | project-type: pipeline |
| 326 | concurrent: true |
| 327 | |
Jan Klare | 8b7b3df | 2023-09-15 11:27:15 +0200 | [diff] [blame] | 328 | pipeline-scm: |
| 329 | scm: |
| 330 | - git: |
| 331 | url: https://gerrit.opencord.org/ci-management |
| 332 | branches: |
| 333 | - origin/{pipeline-branch} |
| 334 | script-path: jjb/pipeline/{pipeline-script} |
Hardik Windlass | 317ad02 | 2022-02-21 11:18:18 +0000 | [diff] [blame] | 335 | |
| 336 | triggers: |
| 337 | - timed: | |
| 338 | TZ=America/Los_Angeles |
| 339 | {time-trigger} |
| 340 | |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 341 | # [EOF] |