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