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