Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 1 | --- |
| 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' |
| 12 | build-node: 'qct-pod4-node2' |
| 13 | code-branch: 'master' |
Hardik Windlass | 9dda2de | 2021-04-12 16:44:56 +0530 | [diff] [blame] | 14 | aaa-version: '2.4.0.SNAPSHOT' |
| 15 | aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0-SNAPSHOT/aaa-app-2.4.0-20210330.115023-1.oar' |
| 16 | olt-version: '4.5.0.SNAPSHOT' |
| 17 | olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0-SNAPSHOT/olt-app-4.5.0-20210330.115335-1.oar' |
| 18 | dhcpl2relay-version: '2.5.0.SNAPSHOT' |
| 19 | dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0-SNAPSHOT/dhcpl2relay-app-2.5.0-20210401.173400-2.oar' |
| 20 | igmpproxy-version: '2.3.0.SNAPSHOT' |
| 21 | 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-20210330.123148-1.oar' |
| 22 | sadis-version: '5.4.0.SNAPSHOT' |
| 23 | sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0-SNAPSHOT/sadis-app-5.4.0-20210330.080559-1.oar' |
| 24 | mcast-version: '2.4.0.SNAPSHOT' |
| 25 | mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0-SNAPSHOT/mcast-app-2.4.0-20210330.215302-2.oar' |
| 26 | kafka-version: '2.7.0.SNAPSHOT' |
| 27 | kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0-SNAPSHOT/kafka-2.7.0-20210330.193240-1.oar' |
| 28 | adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.2.1' |
| 29 | adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.2.10' |
| 30 | rw-core-image: 'voltha/voltha-rw-core:2.8.2' |
Hardik Windlass | ae82ab7 | 2021-03-31 14:49:47 +0530 | [diff] [blame] | 31 | ofagent-image: 'voltha/voltha-ofagent-go:1.5.2' |
| 32 | onu-image-name: 'software-image.img' |
| 33 | onu-image-url: 'http://bbsim0:50074/images' |
| 34 | onu-image-version: 'v1.0.0' |
| 35 | onu-image-crc: '0' |
| 36 | onu-image-local-dir: '/tmp' |
| 37 | time-trigger: "H H/23 * * *" |
| 38 | |
| 39 | - 'software-upgrades-test': |
| 40 | name: 'periodic-software-upgrade-test-bbsim-2.7' |
Matteo Scandolo | f593a0f | 2021-04-14 10:16:06 -0700 | [diff] [blame] | 41 | pipeline-script: 'voltha/voltha-2.7/software-upgrades.groovy' |
Hardik Windlass | ae82ab7 | 2021-03-31 14:49:47 +0530 | [diff] [blame] | 42 | build-node: 'qct-pod4-node2' |
| 43 | code-branch: 'voltha-2.7' |
| 44 | aaa-version: '2.3.0' |
| 45 | aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.3.0/aaa-app-2.3.0.oar' |
| 46 | olt-version: '4.4.0' |
| 47 | olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.4.0/olt-app-4.4.0.oar' |
| 48 | dhcpl2relay-version: '2.4.0' |
| 49 | dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.4.0/dhcpl2relay-app-2.4.0.oar' |
| 50 | igmpproxy-version: '2.2.0' |
| 51 | 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' |
| 52 | sadis-version: '5.3.0' |
| 53 | sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.3.0/sadis-app-5.3.0.oar' |
| 54 | mcast-version: '2.3.2' |
| 55 | mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.3.2/mcast-app-2.3.2.oar' |
| 56 | kafka-version: '2.6.0' |
| 57 | kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.6.0/kafka-2.6.0.oar' |
Hardik Windlass | 9dda2de | 2021-04-12 16:44:56 +0530 | [diff] [blame] | 58 | adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.1.8' |
Hardik Windlass | ae82ab7 | 2021-03-31 14:49:47 +0530 | [diff] [blame] | 59 | adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.2.8' |
Hardik Windlass | abd342c | 2021-03-25 12:20:43 +0530 | [diff] [blame] | 60 | rw-core-image: 'voltha/voltha-rw-core:2.7.0' |
Hardik Windlass | 2ba6e66 | 2021-03-19 16:25:14 +0530 | [diff] [blame] | 61 | ofagent-image: 'voltha/voltha-ofagent-go:1.5.2' |
Hardik Windlass | 834afbb | 2021-03-23 11:48:15 +0530 | [diff] [blame] | 62 | onu-image-name: 'software-image.img' |
| 63 | onu-image-url: 'http://bbsim0:50074/images' |
| 64 | onu-image-version: 'v1.0.0' |
| 65 | onu-image-crc: '0' |
| 66 | onu-image-local-dir: '/tmp' |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 67 | time-trigger: "H H/23 * * *" |
| 68 | |
| 69 | - job-template: |
| 70 | id: 'software-upgrades-test' |
| 71 | name: '{name}' |
| 72 | sandbox: true |
| 73 | volthaSystemTestsChange: '' |
| 74 | volthaHelmChartsChange: '' |
| 75 | kindVolthaChange: '' |
| 76 | |
| 77 | description: | |
| 78 | <!-- Managed by Jenkins Job Builder --> |
| 79 | Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br /> |
| 80 | E2E Validation for Voltha 2.X |
| 81 | properties: |
| 82 | - cord-infra-properties: |
| 83 | build-days-to-keep: '{build-days-to-keep}' |
| 84 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 85 | |
| 86 | wrappers: |
| 87 | - lf-infra-wrappers: |
| 88 | build-timeout: '{build-timeout}' |
| 89 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 90 | |
| 91 | parameters: |
| 92 | - string: |
| 93 | name: buildNode |
| 94 | default: '{build-node}' |
| 95 | description: 'Name of the Jenkins node to run the job on' |
| 96 | |
| 97 | - string: |
| 98 | name: extraHelmFlags |
| 99 | default: '' |
| 100 | description: 'Helm flags to pass to ./voltha up' |
| 101 | |
| 102 | - string: |
| 103 | name: volthaSystemTestsChange |
| 104 | default: '' |
| 105 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 106 | |
| 107 | - string: |
| 108 | name: volthaHelmChartsChange |
| 109 | default: '' |
| 110 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 111 | |
| 112 | - string: |
| 113 | name: branch |
| 114 | default: '{code-branch}' |
| 115 | description: 'Name of the branch to use' |
| 116 | |
| 117 | # deprecated params (not used in master, remove after 2.6 support is dropped) |
| 118 | - string: |
| 119 | name: kindVolthaChange |
| 120 | default: '' |
| 121 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 122 | |
| 123 | - string: |
| 124 | name: onosImg |
Hardik Windlass | ae82ab7 | 2021-03-31 14:49:47 +0530 | [diff] [blame] | 125 | default: '' |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 126 | description: 'ONOS Image to use' |
| 127 | |
| 128 | - string: |
| 129 | name: aaaVer |
| 130 | default: '{aaa-version}' |
| 131 | description: 'ONOS AAA App Version to Test Upgrade' |
| 132 | |
| 133 | - string: |
| 134 | name: aaaOarUrl |
| 135 | default: '{aaa-oar-url}' |
| 136 | description: 'ONOS AAA App OAR File Url' |
| 137 | |
Hardik Windlass | 98506e7 | 2021-03-09 14:29:17 +0530 | [diff] [blame] | 138 | - string: |
| 139 | name: oltVer |
| 140 | default: '{olt-version}' |
| 141 | description: 'ONOS OLT App Version to Test Upgrade' |
| 142 | |
| 143 | - string: |
| 144 | name: oltOarUrl |
| 145 | default: '{olt-oar-url}' |
| 146 | description: 'ONOS OLT App OAR File Url' |
| 147 | |
| 148 | - string: |
| 149 | name: dhcpl2relayVer |
| 150 | default: '{dhcpl2relay-version}' |
| 151 | description: 'ONOS DHCP L2 Relay App Version to Test Upgrade' |
| 152 | |
| 153 | - string: |
| 154 | name: dhcpl2relayOarUrl |
| 155 | default: '{dhcpl2relay-oar-url}' |
| 156 | description: 'ONOS DHCP L2 Relay App OAR File Url' |
| 157 | |
| 158 | - string: |
| 159 | name: igmpproxyVer |
| 160 | default: '{igmpproxy-version}' |
| 161 | description: 'ONOS Igmp Proxy App Version to Test Upgrade' |
| 162 | |
| 163 | - string: |
| 164 | name: igmpproxyOarUrl |
| 165 | default: '{igmpproxy-oar-url}' |
| 166 | description: 'ONOS Igmp Proxy App OAR File Url' |
| 167 | |
| 168 | - string: |
| 169 | name: sadisVer |
| 170 | default: '{sadis-version}' |
| 171 | description: 'ONOS Sadis App Version to Test Upgrade' |
| 172 | |
| 173 | - string: |
| 174 | name: sadisOarUrl |
| 175 | default: '{sadis-oar-url}' |
| 176 | description: 'ONOS Sadis App OAR File Url' |
| 177 | |
| 178 | - string: |
| 179 | name: mcastVer |
| 180 | default: '{mcast-version}' |
| 181 | description: 'ONOS MCast App Version to Test Upgrade' |
| 182 | |
| 183 | - string: |
| 184 | name: mcastOarUrl |
| 185 | default: '{mcast-oar-url}' |
| 186 | description: 'ONOS MCast App OAR File Url' |
| 187 | |
| 188 | - string: |
| 189 | name: kafkaVer |
| 190 | default: '{kafka-version}' |
| 191 | description: 'ONOS Kafka App Version to Test Upgrade' |
| 192 | |
| 193 | - string: |
| 194 | name: kafkaOarUrl |
| 195 | default: '{kafka-oar-url}' |
| 196 | description: 'ONOS Kafka App OAR File Url' |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 197 | |
| 198 | - string: |
| 199 | name: adapterOpenOltImage |
| 200 | default: '{adapter-open-olt-image}' |
| 201 | description: 'Voltha Adapter Open OLT Component Image' |
| 202 | |
Hardik Windlass | 98506e7 | 2021-03-09 14:29:17 +0530 | [diff] [blame] | 203 | - string: |
| 204 | name: adapterOpenOnuImage |
| 205 | default: '{adapter-open-onu-image}' |
| 206 | description: 'Voltha Adapter Open ONU Component Image' |
| 207 | |
| 208 | - string: |
| 209 | name: rwCoreImage |
| 210 | default: '{rw-core-image}' |
| 211 | description: 'Voltha RW Core Component Image' |
| 212 | |
| 213 | - string: |
| 214 | name: ofAgentImage |
| 215 | default: '{ofagent-image}' |
| 216 | description: 'Voltha Ofagent Component Image' |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 217 | |
Hardik Windlass | 834afbb | 2021-03-23 11:48:15 +0530 | [diff] [blame] | 218 | - string: |
| 219 | name: onuImageName |
| 220 | default: '{onu-image-name}' |
| 221 | description: 'Name of ONU Image to Upgrade' |
| 222 | |
| 223 | - string: |
| 224 | name: onuImageUrl |
| 225 | default: '{onu-image-url}' |
| 226 | description: 'Url of ONU Image to Upgrade' |
| 227 | |
| 228 | - string: |
| 229 | name: onuImageVersion |
| 230 | default: '{onu-image-version}' |
| 231 | description: 'Version of ONU Image to Upgrade' |
| 232 | |
| 233 | - string: |
| 234 | name: onuImageCrc |
| 235 | default: '{onu-image-crc}' |
| 236 | description: 'CRC of ONU Image to Upgrade' |
| 237 | |
| 238 | - string: |
| 239 | name: onuImageLocalDir |
| 240 | default: '{onu-image-local-dir}' |
| 241 | description: 'Local Dir of ONU Image to Upgrade' |
| 242 | |
Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 243 | project-type: pipeline |
| 244 | concurrent: true |
| 245 | |
| 246 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 247 | |
| 248 | triggers: |
| 249 | - timed: | |
| 250 | TZ=America/Los_Angeles |
| 251 | {time-trigger} |