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