Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 1 | --- |
| 2 | # list of parameters for the VOLTHA Jobs, |
| 3 | # used as anchor so that can be shared across multiple jobs |
| 4 | # to use in a job: `parameters: *voltha-build-job-parameters` |
| 5 | - voltha-build-job-parameters: &voltha-build-job-parameters |
| 6 | name: voltha-build-job-parameters |
Andrea Campanella | 6dfc043 | 2021-01-12 10:43:16 +0100 | [diff] [blame] | 7 | |
| 8 | openoltAdapterChart: onf/voltha-adapter-openolt |
| 9 | |
Andrea Campanella | ce8aa76 | 2021-08-27 09:32:22 +0200 | [diff] [blame] | 10 | oltAdapterReleaseName: open-olt |
| 11 | |
Andrea Campanella | ecefbc8 | 2021-08-27 11:06:31 +0200 | [diff] [blame] | 12 | waitTimerForOltUp: 360 |
| 13 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 14 | parameters: |
| 15 | - string: |
| 16 | name: buildNode |
| 17 | default: '{build-node}' |
| 18 | description: 'Name of the Jenkins executor node to run the job on' |
| 19 | |
| 20 | - string: |
| 21 | name: TestNodeName |
| 22 | default: '{build-node}' |
| 23 | description: 'DEPRECATED - use buildNode instead' |
| 24 | |
| 25 | - string: |
Matteo Scandolo | 982b69d | 2021-05-10 12:01:57 -0700 | [diff] [blame] | 26 | name: logLevel |
| 27 | default: '{logLevel}' |
| 28 | description: 'Log level for all the components' |
| 29 | |
| 30 | - string: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 31 | name: cordRepoUrl |
| 32 | default: '{gerrit-server-url}' |
| 33 | description: 'The URL of the CORD Project repository' |
| 34 | |
| 35 | - string: |
| 36 | name: configBaseDir |
| 37 | default: 'pod-configs' |
| 38 | description: 'The directory inside the POD configs repository' |
| 39 | |
| 40 | - string: |
| 41 | name: configDeploymentDir |
| 42 | default: 'deployment-configs' |
| 43 | description: 'The deployment configs folder' |
| 44 | |
| 45 | - string: |
| 46 | name: configKubernetesDir |
| 47 | default: 'kubernetes-configs' |
| 48 | description: 'The kubernetes config folder' |
| 49 | |
| 50 | - string: |
| 51 | name: configToscaDir |
| 52 | default: 'tosca-configs' |
| 53 | description: 'The tosca config folder' |
| 54 | |
| 55 | - string: |
| 56 | name: configFileName |
| 57 | default: '{config-pod}' |
| 58 | description: 'The config file' |
| 59 | |
| 60 | - string: |
| 61 | name: profile |
| 62 | default: '{profile}' |
| 63 | description: 'Technology Profile pushed to the ETCD' |
| 64 | |
| 65 | - string: |
| 66 | name: helmRepoUrl |
| 67 | default: 'https://charts.opencord.org' |
| 68 | description: 'URL where helm-charts are published' |
| 69 | |
| 70 | - string: |
| 71 | name: branch |
| 72 | default: '{branch}' |
| 73 | |
| 74 | - string: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 75 | name: workFlow |
| 76 | default: '{work-flow}' |
| 77 | description: 'Installs and uses the specified work flow on the POD' |
| 78 | |
Matteo Scandolo | d47bfb2 | 2021-05-24 09:40:05 -0700 | [diff] [blame] | 79 | - string: |
| 80 | name: extraHelmFlags |
| 81 | default: '{extraHelmFlags}' |
| 82 | description: 'Helm flags (passed to each deployment)' |
| 83 | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 84 | # openonu-go only supports a single replica, remove after 2.8 |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 85 | - string: |
| 86 | name: NumOfOpenOnu |
| 87 | default: '{num-of-openonu}' |
| 88 | description: 'Installs the specified Number of OpenOnu Adapters' |
| 89 | |
| 90 | - string: |
| 91 | name: NumOfOnos |
| 92 | default: '{num-of-onos}' |
| 93 | description: 'Installs the specified Number of ONOS instances' |
| 94 | |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 95 | - bool: |
| 96 | name: enableMultiUni |
| 97 | default: '{enableMultiUni}' |
| 98 | description: "Enables the Multi UNI feature" |
| 99 | |
| 100 | - string: |
| 101 | name: uniPortMask |
| 102 | default: '{uniPortMask}' |
| 103 | description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF' |
| 104 | |
Suchitra Vemuri | dddc3ac | 2021-02-11 15:40:43 -0800 | [diff] [blame] | 105 | - string: |
Hardik Windlass | 908533a | 2021-05-24 16:35:58 +0000 | [diff] [blame] | 106 | name: bbsimReplicas |
| 107 | default: '{bbsimReplicas}' |
| 108 | description: 'Installs the specified Number of BBSim Instances' |
| 109 | |
| 110 | - string: |
Suchitra Vemuri | dddc3ac | 2021-02-11 15:40:43 -0800 | [diff] [blame] | 111 | name: onuNumber |
| 112 | default: '{num-of-onus}' |
| 113 | description: "Onus per PonPort" |
| 114 | |
| 115 | - string: |
| 116 | name: ponNumber |
| 117 | default: '{num-of-ponports}' |
| 118 | description: "Number of PON Ports" |
| 119 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 120 | - string: |
| 121 | name: NumOfAtomix |
| 122 | default: '{num-of-atomix}' |
| 123 | description: 'Installs the specified Number of Atomix Instances' |
| 124 | |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 125 | - string: |
| 126 | name: NumOfKafka |
| 127 | default: '{num-of-kafka}' |
| 128 | description: 'Installs the specified Number of Kafka Instances' |
| 129 | |
| 130 | - string: |
| 131 | name: NumOfEtcd |
| 132 | default: '{num-of-etcd}' |
| 133 | description: 'Installs the specified Number of Etcd Instances' |
| 134 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 135 | - bool: |
| 136 | name: configurePod |
| 137 | default: true |
| 138 | description: "Configure POD via TOSCA post build" |
| 139 | |
| 140 | - bool: |
| 141 | name: reinstallOlt |
| 142 | default: '{reinstall-olt}' |
| 143 | description: "Re-install olt software bringing up CORD" |
| 144 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 145 | - string: |
| 146 | name: VolthaEtcdPort |
| 147 | default: '{VolthaEtcdPort}' |
| 148 | description: 'Localhost port that is forwarded to VOLTHA etcd' |
| 149 | |
| 150 | - bool: |
| 151 | name: inBandManagement |
| 152 | default: '{in-band-management}' |
| 153 | description: 'Indicates whether POD is configured for in band management' |
| 154 | |
Matteo Scandolo | 3dce2a1 | 2020-09-15 14:21:14 -0700 | [diff] [blame] | 155 | - string: |
| 156 | name: volthaSystemTestsChange |
| 157 | default: '{volthaSystemTestsChange}' |
| 158 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 159 | |
| 160 | - string: |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 161 | name: volthaHelmChartsChange |
| 162 | default: '{volthaHelmChartsChange}' |
| 163 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"' |
| 164 | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 165 | # NOTE is this needed/used? |
Matteo Scandolo | 3dce2a1 | 2020-09-15 14:21:14 -0700 | [diff] [blame] | 166 | - string: |
| 167 | name: cordTesterChange |
| 168 | default: '{cordTesterChange}' |
| 169 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 170 | |
Matteo Scandolo | 6eb673e | 2021-05-06 11:24:39 -0700 | [diff] [blame] | 171 | # this is used in the Adtran DT job |
Andrea Campanella | 6dfc043 | 2021-01-12 10:43:16 +0100 | [diff] [blame] | 172 | - string: |
| 173 | name: openoltAdapterChart |
| 174 | default: '{openoltAdapterChart}' |
Andrea Campanella | ce8aa76 | 2021-08-27 09:32:22 +0200 | [diff] [blame] | 175 | description: 'Olt adapter chart name (or location on file system)' |
| 176 | |
Andrea Campanella | ecefbc8 | 2021-08-27 11:06:31 +0200 | [diff] [blame] | 177 | # this is used in the Adtran DT job |
Andrea Campanella | ce8aa76 | 2021-08-27 09:32:22 +0200 | [diff] [blame] | 178 | - string: |
| 179 | name: oltAdapterReleaseName |
| 180 | default: '{oltAdapterReleaseName}' |
| 181 | description: 'Olt adapter release name' |
Andrea Campanella | 6dfc043 | 2021-01-12 10:43:16 +0100 | [diff] [blame] | 182 | |
Andrea Campanella | ecefbc8 | 2021-08-27 11:06:31 +0200 | [diff] [blame] | 183 | - string: |
| 184 | name: waitTimerForOltUp |
| 185 | default: '{waitTimerForOltUp}' |
| 186 | description: 'Wait timer for the OLT to come up after reboot' |
| 187 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 188 | # defualt properties for the VOLTHA scale jobs |
| 189 | - voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate |
| 190 | name: voltha-pipe-job-boiler-plate |
| 191 | |
| 192 | project-type: pipeline |
| 193 | |
| 194 | sandbox: true |
| 195 | |
| 196 | properties: |
| 197 | - cord-infra-properties: |
Matteo Scandolo | a0e6f3f | 2020-11-12 17:13:20 -0800 | [diff] [blame] | 198 | build-days-to-keep: '{big-build-days-to-keep}' |
| 199 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 200 | |
| 201 | # VOLTHA Build Jobs |
| 202 | - job-template: |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 203 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual' |
| 204 | id: build_voltha_pod_manual |
| 205 | disabled: '{disable-job}' |
| 206 | description: | |
| 207 | Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br /> |
| 208 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
| 209 | Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br /> |
| 210 | Copyright (c) 2018 Open Networking Foundation (ONF) |
| 211 | |
| 212 | <<: *voltha-pipe-job-boiler-plate |
| 213 | # default values |
| 214 | pipeline-script: 'voltha/master/physical-build.groovy' |
| 215 | VolthaEtcdPort: 2379 |
| 216 | num-of-openonu: 1 |
| 217 | num-of-onos: 1 |
| 218 | num-of-atomix: 0 |
| 219 | num-of-kafka: 1 |
| 220 | num-of-etcd: 1 |
| 221 | test-repo: 'voltha-system-tests' |
| 222 | release: 'master' |
| 223 | name-extension: '' |
| 224 | branch: 'master' |
| 225 | configurePod: true |
| 226 | volthaHelmChartsChange: '' |
| 227 | profile: 'Default' |
| 228 | logLevel: 'DEBUG' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 229 | enableMultiUni: false |
| 230 | uniPortMask: '0x0001' |
Hardik Windlass | 908533a | 2021-05-24 16:35:58 +0000 | [diff] [blame] | 231 | bbsimReplicas: 0 |
Matteo Scandolo | 1c89551 | 2021-05-13 10:30:13 -0700 | [diff] [blame] | 232 | num-of-onus: 0 |
| 233 | num-of-ponports: 0 |
Matteo Scandolo | d47bfb2 | 2021-05-24 09:40:05 -0700 | [diff] [blame] | 234 | extraHelmFlags: '' |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 235 | |
| 236 | <<: *voltha-build-job-parameters |
| 237 | |
| 238 | concurrent: true |
| 239 | project-type: pipeline |
| 240 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 241 | |
| 242 | # VOLTHA Build Jobs |
| 243 | - job-template: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 244 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 245 | id: build_voltha_pod_release_timer |
Suchitra Vemuri | 26fe243 | 2020-09-14 19:51:32 -0700 | [diff] [blame] | 246 | disabled: '{disable-job}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 247 | description: | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 248 | Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br /> |
Matteo Scandolo | 16090cd | 2020-08-12 15:42:42 -0700 | [diff] [blame] | 249 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 250 | Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br /> |
| 251 | Copyright (c) 2018 Open Networking Foundation (ONF) |
| 252 | |
| 253 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 254 | # default values |
| 255 | pipeline-script: 'voltha/master/physical-build.groovy' |
| 256 | VolthaEtcdPort: 2379 |
| 257 | num-of-openonu: 1 |
| 258 | num-of-onos: 3 |
| 259 | num-of-atomix: 3 |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 260 | num-of-kafka: 3 |
| 261 | num-of-etcd: 3 |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 262 | test-repo: 'voltha-system-tests' |
| 263 | release: 'master' |
| 264 | name-extension: '' |
| 265 | branch: 'master' |
| 266 | configurePod: true |
| 267 | volthaHelmChartsChange: '' |
| 268 | profile: 'Default' |
Matteo Scandolo | 6ddb015 | 2021-05-07 11:25:17 -0700 | [diff] [blame] | 269 | logLevel: 'DEBUG' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 270 | enableMultiUni: false |
| 271 | uniPortMask: '0x0001' |
Hardik Windlass | 908533a | 2021-05-24 16:35:58 +0000 | [diff] [blame] | 272 | bbsimReplicas: 0 |
Matteo Scandolo | 1c89551 | 2021-05-13 10:30:13 -0700 | [diff] [blame] | 273 | num-of-onus: 0 |
| 274 | num-of-ponports: 0 |
Matteo Scandolo | d47bfb2 | 2021-05-24 09:40:05 -0700 | [diff] [blame] | 275 | extraHelmFlags: '' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 276 | |
| 277 | <<: *voltha-build-job-parameters |
| 278 | |
| 279 | concurrent: true |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 280 | project-type: pipeline |
| 281 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 282 | |
| 283 | triggers: |
| 284 | - timed: | |
| 285 | TZ=America/Los_Angeles |
| 286 | H {time} * * * |
| 287 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 288 | # VOLTHA Test Job |
| 289 | # This job is automatically triggered after a build job has successfully completed |
| 290 | - job-template: |
| 291 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 292 | id: build_voltha_pod_test |
Matteo Scandolo | 38a00b0 | 2020-09-15 13:27:06 -0700 | [diff] [blame] | 293 | disabled: '{disable-job}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 294 | description: | |
| 295 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
Matteo Scandolo | 16090cd | 2020-08-12 15:42:42 -0700 | [diff] [blame] | 296 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 297 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 298 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 299 | |
| 300 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 301 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 302 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 303 | manifest-branch: 'master' |
| 304 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 305 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 306 | enableMultiUni: false |
Andrea Campanella | 2af4b90 | 2021-11-05 10:40:02 +0100 | [diff] [blame] | 307 | timeout: 300 |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 308 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 309 | parameters: |
| 310 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 311 | name: timeout |
| 312 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 313 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 314 | |
| 315 | - string: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 316 | name: buildNode |
| 317 | default: '{build-node}' |
| 318 | description: 'Name of the Jenkins executor node to run the job on' |
| 319 | |
| 320 | - string: |
| 321 | name: TestNodeName |
| 322 | default: '{build-node}' |
| 323 | description: 'DEPRECATED - use buildNode instead' |
| 324 | |
| 325 | - string: |
| 326 | name: cordRepoUrl |
| 327 | default: '{gerrit-server-url}' |
| 328 | description: 'The URL of the CORD Project repository' |
| 329 | |
| 330 | - string: |
| 331 | name: configBaseDir |
| 332 | default: 'pod-configs' |
| 333 | description: 'The directory inside the POD configs repository' |
| 334 | |
| 335 | - string: |
| 336 | name: configDeploymentDir |
| 337 | default: 'deployment-configs' |
| 338 | description: 'The deployment configs folder' |
| 339 | |
| 340 | - string: |
| 341 | name: configKubernetesDir |
| 342 | default: 'kubernetes-configs' |
| 343 | description: 'The kubernetes config folder' |
| 344 | |
| 345 | - string: |
| 346 | name: configToscaDir |
| 347 | default: 'tosca-configs' |
| 348 | description: 'The tosca config folder' |
| 349 | |
| 350 | - string: |
| 351 | name: configFileName |
| 352 | default: '{config-pod}' |
| 353 | description: 'The config file' |
| 354 | |
| 355 | - string: |
| 356 | name: profile |
| 357 | default: '{profile}' |
| 358 | description: 'Technology Profile pushed to the ETCD' |
| 359 | |
| 360 | - string: |
| 361 | name: branch |
| 362 | default: '{branch}' |
| 363 | description: 'Branch of the test libraries to check out' |
| 364 | |
| 365 | - string: |
| 366 | name: manifestUrl |
| 367 | default: '{manifest-url}' |
| 368 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 369 | |
| 370 | - string: |
| 371 | name: manifestBranch |
| 372 | default: '{manifest-branch}' |
| 373 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 374 | |
| 375 | - string: |
| 376 | name: workFlow |
| 377 | default: '{work-flow}' |
| 378 | description: 'Installs and uses the specified work flow on the POD' |
| 379 | |
| 380 | - bool: |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 381 | name: enableMultiUni |
| 382 | default: '{enableMultiUni}' |
| 383 | description: "Enables the Multi UNI feature" |
| 384 | |
| 385 | - bool: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 386 | name: powerSwitch |
| 387 | default: '{power-switch}' |
| 388 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 389 | |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 390 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 391 | name: oltAdapterAppLabel |
| 392 | default: '{oltAdapterAppLabel}' |
| 393 | description: 'OLT adapter pod name' |
| 394 | |
| 395 | - string: |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 396 | name: volthaSystemTestsChange |
| 397 | default: '{volthaSystemTestsChange}' |
| 398 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 399 | |
| 400 | - string: |
| 401 | name: kindVolthaChange |
| 402 | default: '{kindVolthaChange}' |
| 403 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 404 | |
| 405 | - string: |
| 406 | name: cordTesterChange |
| 407 | default: '{cordTesterChange}' |
| 408 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 409 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 410 | concurrent: true |
| 411 | |
| 412 | project-type: pipeline |
| 413 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 414 | |
| 415 | triggers: |
| 416 | - reverse: |
| 417 | jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 418 | result: 'success' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 419 | |
| 420 | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 421 | # VOLTHA Soak Test Job |
| 422 | # This job is triggered by a timer defined in the job |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 423 | - job-template: |
| 424 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 425 | id: build_voltha_pod_soak_test |
Andrea Campanella | b54cabe | 2020-11-26 14:48:11 +0100 | [diff] [blame] | 426 | disabled: '{disable-job}' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 427 | description: | |
| 428 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 429 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
| 430 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 431 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 432 | |
| 433 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 434 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 435 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 436 | manifest-branch: 'master' |
| 437 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 438 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 439 | timeout: 240 |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 440 | |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 441 | parameters: |
| 442 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 443 | name: timeout |
| 444 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 445 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 446 | |
| 447 | - string: |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 448 | name: buildNode |
| 449 | default: '{build-node}' |
| 450 | description: 'Name of the Jenkins executor node to run the job on' |
| 451 | |
| 452 | - string: |
| 453 | name: TestNodeName |
| 454 | default: '{build-node}' |
| 455 | description: 'DEPRECATED - use buildNode instead' |
| 456 | |
| 457 | - string: |
| 458 | name: cordRepoUrl |
| 459 | default: '{gerrit-server-url}' |
| 460 | description: 'The URL of the CORD Project repository' |
| 461 | |
| 462 | - string: |
| 463 | name: configBaseDir |
| 464 | default: 'pod-configs' |
| 465 | description: 'The directory inside the POD configs repository' |
| 466 | |
| 467 | - string: |
| 468 | name: configDeploymentDir |
| 469 | default: 'deployment-configs' |
| 470 | description: 'The deployment configs folder' |
| 471 | |
| 472 | - string: |
| 473 | name: configKubernetesDir |
| 474 | default: 'kubernetes-configs' |
| 475 | description: 'The kubernetes config folder' |
| 476 | |
| 477 | - string: |
| 478 | name: configToscaDir |
| 479 | default: 'tosca-configs' |
| 480 | description: 'The tosca config folder' |
| 481 | |
| 482 | - string: |
| 483 | name: configFileName |
| 484 | default: '{config-pod}' |
| 485 | description: 'The config file' |
| 486 | |
| 487 | - string: |
| 488 | name: profile |
| 489 | default: '{profile}' |
| 490 | description: 'Technology Profile pushed to the ETCD' |
| 491 | |
| 492 | - string: |
| 493 | name: branch |
| 494 | default: '{branch}' |
| 495 | description: 'Branch of the test libraries to check out' |
| 496 | |
| 497 | - string: |
| 498 | name: manifestUrl |
| 499 | default: '{manifest-url}' |
| 500 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 501 | |
| 502 | - string: |
| 503 | name: manifestBranch |
| 504 | default: '{manifest-branch}' |
| 505 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 506 | |
| 507 | - string: |
| 508 | name: workFlow |
| 509 | default: '{work-flow}' |
| 510 | description: 'Installs and uses the specified work flow on the POD' |
| 511 | |
| 512 | - bool: |
| 513 | name: powerSwitch |
| 514 | default: '{power-switch}' |
| 515 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 516 | |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 517 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 518 | name: oltAdapterAppLabel |
| 519 | default: '{oltAdapterAppLabel}' |
| 520 | description: 'OLT adapter pod name' |
| 521 | |
| 522 | - string: |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 523 | name: testType |
| 524 | default: '{test-type}' |
| 525 | description: 'Passes the required test category to the groovy script' |
| 526 | |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 527 | - string: |
| 528 | name: volthaSystemTestsChange |
| 529 | default: '{volthaSystemTestsChange}' |
| 530 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 531 | |
| 532 | - string: |
| 533 | name: kindVolthaChange |
| 534 | default: '{kindVolthaChange}' |
| 535 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 536 | |
| 537 | - string: |
| 538 | name: cordTesterChange |
| 539 | default: '{cordTesterChange}' |
| 540 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 541 | concurrent: true |
| 542 | |
| 543 | project-type: pipeline |
| 544 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 545 | |
| 546 | triggers: |
| 547 | - timed: | |
| 548 | TZ=America/Los_Angeles |
| 549 | {time-trigger} |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 550 | |
| 551 | |
| 552 | # VOLTHA Manual Test Job |
| 553 | # This job is triggered manually |
| 554 | - job-template: |
| 555 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test' |
| 556 | id: build_voltha_pod_manual_test |
| 557 | disabled: '{disable-job}' |
| 558 | description: | |
| 559 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 560 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
| 561 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 562 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 563 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 564 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 565 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 566 | manifest-branch: 'master' |
| 567 | |
| 568 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 569 | enableMultiUni: false |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 570 | timeout: 240 |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 571 | |
| 572 | parameters: |
| 573 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 574 | name: timeout |
| 575 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 576 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 577 | |
| 578 | - string: |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 579 | name: buildNode |
| 580 | default: '{build-node}' |
| 581 | description: 'Name of the Jenkins executor node to run the job on' |
| 582 | |
| 583 | - string: |
| 584 | name: TestNodeName |
| 585 | default: '{build-node}' |
| 586 | description: 'DEPRECATED - use buildNode instead' |
| 587 | |
| 588 | - string: |
| 589 | name: cordRepoUrl |
| 590 | default: '{gerrit-server-url}' |
| 591 | description: 'The URL of the CORD Project repository' |
| 592 | |
| 593 | - string: |
| 594 | name: configBaseDir |
| 595 | default: 'pod-configs' |
| 596 | description: 'The directory inside the POD configs repository' |
| 597 | |
| 598 | - string: |
| 599 | name: configDeploymentDir |
| 600 | default: 'deployment-configs' |
| 601 | description: 'The deployment configs folder' |
| 602 | |
| 603 | - string: |
| 604 | name: configKubernetesDir |
| 605 | default: 'kubernetes-configs' |
| 606 | description: 'The kubernetes config folder' |
| 607 | |
| 608 | - string: |
| 609 | name: configToscaDir |
| 610 | default: 'tosca-configs' |
| 611 | description: 'The tosca config folder' |
| 612 | |
| 613 | - string: |
| 614 | name: configFileName |
| 615 | default: '{config-pod}' |
| 616 | description: 'The config file' |
| 617 | |
| 618 | - string: |
| 619 | name: profile |
| 620 | default: '{profile}' |
| 621 | description: 'Technology Profile pushed to the ETCD' |
| 622 | |
| 623 | - string: |
| 624 | name: branch |
| 625 | default: '{branch}' |
| 626 | description: 'Branch of the test libraries to check out' |
| 627 | |
| 628 | - string: |
| 629 | name: manifestUrl |
| 630 | default: '{manifest-url}' |
| 631 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 632 | |
| 633 | - string: |
| 634 | name: manifestBranch |
| 635 | default: '{manifest-branch}' |
| 636 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 637 | |
| 638 | - string: |
| 639 | name: workFlow |
| 640 | default: '{work-flow}' |
| 641 | description: 'Installs and uses the specified work flow on the POD' |
| 642 | |
| 643 | - bool: |
| 644 | name: powerSwitch |
| 645 | default: '{power-switch}' |
| 646 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 647 | |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 648 | - bool: |
| 649 | name: enableMultiUni |
| 650 | default: '{enableMultiUni}' |
| 651 | description: "Enables the Multi UNI feature" |
| 652 | |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 653 | - string: |
| 654 | name: oltAdapterAppLabel |
| 655 | default: '{oltAdapterAppLabel}' |
| 656 | description: 'OLT adapter pod name' |
| 657 | |
| 658 | - string: |
| 659 | name: testType |
| 660 | default: '{test-type}' |
| 661 | description: 'Passes the required test category to the groovy script' |
| 662 | |
| 663 | - string: |
| 664 | name: volthaSystemTestsChange |
| 665 | default: '{volthaSystemTestsChange}' |
| 666 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 667 | |
| 668 | - string: |
| 669 | name: kindVolthaChange |
| 670 | default: '{kindVolthaChange}' |
| 671 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 672 | |
| 673 | - string: |
| 674 | name: cordTesterChange |
| 675 | default: '{cordTesterChange}' |
| 676 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 677 | concurrent: true |
| 678 | |
| 679 | project-type: pipeline |
| 680 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |