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