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 | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 307 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 308 | parameters: |
| 309 | - string: |
| 310 | name: buildNode |
| 311 | default: '{build-node}' |
| 312 | description: 'Name of the Jenkins executor node to run the job on' |
| 313 | |
| 314 | - string: |
| 315 | name: TestNodeName |
| 316 | default: '{build-node}' |
| 317 | description: 'DEPRECATED - use buildNode instead' |
| 318 | |
| 319 | - string: |
| 320 | name: cordRepoUrl |
| 321 | default: '{gerrit-server-url}' |
| 322 | description: 'The URL of the CORD Project repository' |
| 323 | |
| 324 | - string: |
| 325 | name: configBaseDir |
| 326 | default: 'pod-configs' |
| 327 | description: 'The directory inside the POD configs repository' |
| 328 | |
| 329 | - string: |
| 330 | name: configDeploymentDir |
| 331 | default: 'deployment-configs' |
| 332 | description: 'The deployment configs folder' |
| 333 | |
| 334 | - string: |
| 335 | name: configKubernetesDir |
| 336 | default: 'kubernetes-configs' |
| 337 | description: 'The kubernetes config folder' |
| 338 | |
| 339 | - string: |
| 340 | name: configToscaDir |
| 341 | default: 'tosca-configs' |
| 342 | description: 'The tosca config folder' |
| 343 | |
| 344 | - string: |
| 345 | name: configFileName |
| 346 | default: '{config-pod}' |
| 347 | description: 'The config file' |
| 348 | |
| 349 | - string: |
| 350 | name: profile |
| 351 | default: '{profile}' |
| 352 | description: 'Technology Profile pushed to the ETCD' |
| 353 | |
| 354 | - string: |
| 355 | name: branch |
| 356 | default: '{branch}' |
| 357 | description: 'Branch of the test libraries to check out' |
| 358 | |
| 359 | - string: |
| 360 | name: manifestUrl |
| 361 | default: '{manifest-url}' |
| 362 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 363 | |
| 364 | - string: |
| 365 | name: manifestBranch |
| 366 | default: '{manifest-branch}' |
| 367 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 368 | |
| 369 | - string: |
| 370 | name: workFlow |
| 371 | default: '{work-flow}' |
| 372 | description: 'Installs and uses the specified work flow on the POD' |
| 373 | |
| 374 | - bool: |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 375 | name: enableMultiUni |
| 376 | default: '{enableMultiUni}' |
| 377 | description: "Enables the Multi UNI feature" |
| 378 | |
| 379 | - bool: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 380 | name: powerSwitch |
| 381 | default: '{power-switch}' |
| 382 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 383 | |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 384 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 385 | name: oltAdapterAppLabel |
| 386 | default: '{oltAdapterAppLabel}' |
| 387 | description: 'OLT adapter pod name' |
| 388 | |
| 389 | - string: |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 390 | name: volthaSystemTestsChange |
| 391 | default: '{volthaSystemTestsChange}' |
| 392 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 393 | |
| 394 | - string: |
| 395 | name: kindVolthaChange |
| 396 | default: '{kindVolthaChange}' |
| 397 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 398 | |
| 399 | - string: |
| 400 | name: cordTesterChange |
| 401 | default: '{cordTesterChange}' |
| 402 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 403 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 404 | concurrent: true |
| 405 | |
| 406 | project-type: pipeline |
| 407 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 408 | |
| 409 | triggers: |
| 410 | - reverse: |
| 411 | jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 412 | result: 'success' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 413 | |
| 414 | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 415 | # VOLTHA Soak Test Job |
| 416 | # This job is triggered by a timer defined in the job |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 417 | - job-template: |
| 418 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 419 | id: build_voltha_pod_soak_test |
Andrea Campanella | b54cabe | 2020-11-26 14:48:11 +0100 | [diff] [blame] | 420 | disabled: '{disable-job}' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 421 | description: | |
| 422 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 423 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
| 424 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 425 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 426 | |
| 427 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 428 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 429 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 430 | manifest-branch: 'master' |
| 431 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 432 | oltAdapterAppLabel: 'adapter-open-olt' |
| 433 | |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 434 | parameters: |
| 435 | - string: |
| 436 | name: buildNode |
| 437 | default: '{build-node}' |
| 438 | description: 'Name of the Jenkins executor node to run the job on' |
| 439 | |
| 440 | - string: |
| 441 | name: TestNodeName |
| 442 | default: '{build-node}' |
| 443 | description: 'DEPRECATED - use buildNode instead' |
| 444 | |
| 445 | - string: |
| 446 | name: cordRepoUrl |
| 447 | default: '{gerrit-server-url}' |
| 448 | description: 'The URL of the CORD Project repository' |
| 449 | |
| 450 | - string: |
| 451 | name: configBaseDir |
| 452 | default: 'pod-configs' |
| 453 | description: 'The directory inside the POD configs repository' |
| 454 | |
| 455 | - string: |
| 456 | name: configDeploymentDir |
| 457 | default: 'deployment-configs' |
| 458 | description: 'The deployment configs folder' |
| 459 | |
| 460 | - string: |
| 461 | name: configKubernetesDir |
| 462 | default: 'kubernetes-configs' |
| 463 | description: 'The kubernetes config folder' |
| 464 | |
| 465 | - string: |
| 466 | name: configToscaDir |
| 467 | default: 'tosca-configs' |
| 468 | description: 'The tosca config folder' |
| 469 | |
| 470 | - string: |
| 471 | name: configFileName |
| 472 | default: '{config-pod}' |
| 473 | description: 'The config file' |
| 474 | |
| 475 | - string: |
| 476 | name: profile |
| 477 | default: '{profile}' |
| 478 | description: 'Technology Profile pushed to the ETCD' |
| 479 | |
| 480 | - string: |
| 481 | name: branch |
| 482 | default: '{branch}' |
| 483 | description: 'Branch of the test libraries to check out' |
| 484 | |
| 485 | - string: |
| 486 | name: manifestUrl |
| 487 | default: '{manifest-url}' |
| 488 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 489 | |
| 490 | - string: |
| 491 | name: manifestBranch |
| 492 | default: '{manifest-branch}' |
| 493 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 494 | |
| 495 | - string: |
| 496 | name: workFlow |
| 497 | default: '{work-flow}' |
| 498 | description: 'Installs and uses the specified work flow on the POD' |
| 499 | |
| 500 | - bool: |
| 501 | name: powerSwitch |
| 502 | default: '{power-switch}' |
| 503 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 504 | |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 505 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 506 | name: oltAdapterAppLabel |
| 507 | default: '{oltAdapterAppLabel}' |
| 508 | description: 'OLT adapter pod name' |
| 509 | |
| 510 | - string: |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 511 | name: testType |
| 512 | default: '{test-type}' |
| 513 | description: 'Passes the required test category to the groovy script' |
| 514 | |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 515 | - string: |
| 516 | name: volthaSystemTestsChange |
| 517 | default: '{volthaSystemTestsChange}' |
| 518 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 519 | |
| 520 | - string: |
| 521 | name: kindVolthaChange |
| 522 | default: '{kindVolthaChange}' |
| 523 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 524 | |
| 525 | - string: |
| 526 | name: cordTesterChange |
| 527 | default: '{cordTesterChange}' |
| 528 | 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] | 529 | concurrent: true |
| 530 | |
| 531 | project-type: pipeline |
| 532 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 533 | |
| 534 | triggers: |
| 535 | - timed: | |
| 536 | TZ=America/Los_Angeles |
| 537 | {time-trigger} |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 538 | |
| 539 | |
| 540 | # VOLTHA Manual Test Job |
| 541 | # This job is triggered manually |
| 542 | - job-template: |
| 543 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test' |
| 544 | id: build_voltha_pod_manual_test |
| 545 | disabled: '{disable-job}' |
| 546 | description: | |
| 547 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 548 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
| 549 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 550 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 551 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 552 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 553 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 554 | manifest-branch: 'master' |
| 555 | |
| 556 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 557 | enableMultiUni: false |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 558 | |
| 559 | parameters: |
| 560 | - string: |
| 561 | name: buildNode |
| 562 | default: '{build-node}' |
| 563 | description: 'Name of the Jenkins executor node to run the job on' |
| 564 | |
| 565 | - string: |
| 566 | name: TestNodeName |
| 567 | default: '{build-node}' |
| 568 | description: 'DEPRECATED - use buildNode instead' |
| 569 | |
| 570 | - string: |
| 571 | name: cordRepoUrl |
| 572 | default: '{gerrit-server-url}' |
| 573 | description: 'The URL of the CORD Project repository' |
| 574 | |
| 575 | - string: |
| 576 | name: configBaseDir |
| 577 | default: 'pod-configs' |
| 578 | description: 'The directory inside the POD configs repository' |
| 579 | |
| 580 | - string: |
| 581 | name: configDeploymentDir |
| 582 | default: 'deployment-configs' |
| 583 | description: 'The deployment configs folder' |
| 584 | |
| 585 | - string: |
| 586 | name: configKubernetesDir |
| 587 | default: 'kubernetes-configs' |
| 588 | description: 'The kubernetes config folder' |
| 589 | |
| 590 | - string: |
| 591 | name: configToscaDir |
| 592 | default: 'tosca-configs' |
| 593 | description: 'The tosca config folder' |
| 594 | |
| 595 | - string: |
| 596 | name: configFileName |
| 597 | default: '{config-pod}' |
| 598 | description: 'The config file' |
| 599 | |
| 600 | - string: |
| 601 | name: profile |
| 602 | default: '{profile}' |
| 603 | description: 'Technology Profile pushed to the ETCD' |
| 604 | |
| 605 | - string: |
| 606 | name: branch |
| 607 | default: '{branch}' |
| 608 | description: 'Branch of the test libraries to check out' |
| 609 | |
| 610 | - string: |
| 611 | name: manifestUrl |
| 612 | default: '{manifest-url}' |
| 613 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 614 | |
| 615 | - string: |
| 616 | name: manifestBranch |
| 617 | default: '{manifest-branch}' |
| 618 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 619 | |
| 620 | - string: |
| 621 | name: workFlow |
| 622 | default: '{work-flow}' |
| 623 | description: 'Installs and uses the specified work flow on the POD' |
| 624 | |
| 625 | - bool: |
| 626 | name: powerSwitch |
| 627 | default: '{power-switch}' |
| 628 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 629 | |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 630 | - bool: |
| 631 | name: enableMultiUni |
| 632 | default: '{enableMultiUni}' |
| 633 | description: "Enables the Multi UNI feature" |
| 634 | |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 635 | - string: |
| 636 | name: oltAdapterAppLabel |
| 637 | default: '{oltAdapterAppLabel}' |
| 638 | description: 'OLT adapter pod name' |
| 639 | |
| 640 | - string: |
| 641 | name: testType |
| 642 | default: '{test-type}' |
| 643 | description: 'Passes the required test category to the groovy script' |
| 644 | |
| 645 | - string: |
| 646 | name: volthaSystemTestsChange |
| 647 | default: '{volthaSystemTestsChange}' |
| 648 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 649 | |
| 650 | - string: |
| 651 | name: kindVolthaChange |
| 652 | default: '{kindVolthaChange}' |
| 653 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 654 | |
| 655 | - string: |
| 656 | name: cordTesterChange |
| 657 | default: '{cordTesterChange}' |
| 658 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 659 | concurrent: true |
| 660 | |
| 661 | project-type: pipeline |
| 662 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |