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