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 | |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 100 | - bool: |
| 101 | name: withFttb |
| 102 | default: '{withFttb}' |
| 103 | description: "Deploy with FTTB" |
| 104 | |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 105 | - string: |
| 106 | name: uniPortMask |
| 107 | default: '{uniPortMask}' |
| 108 | description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF' |
| 109 | |
Suchitra Vemuri | dddc3ac | 2021-02-11 15:40:43 -0800 | [diff] [blame] | 110 | - string: |
Hardik Windlass | 908533a | 2021-05-24 16:35:58 +0000 | [diff] [blame] | 111 | name: bbsimReplicas |
| 112 | default: '{bbsimReplicas}' |
| 113 | description: 'Installs the specified Number of BBSim Instances' |
| 114 | |
| 115 | - string: |
Suchitra Vemuri | dddc3ac | 2021-02-11 15:40:43 -0800 | [diff] [blame] | 116 | name: onuNumber |
| 117 | default: '{num-of-onus}' |
| 118 | description: "Onus per PonPort" |
| 119 | |
| 120 | - string: |
| 121 | name: ponNumber |
| 122 | default: '{num-of-ponports}' |
| 123 | description: "Number of PON Ports" |
| 124 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 125 | - string: |
| 126 | name: NumOfAtomix |
| 127 | default: '{num-of-atomix}' |
| 128 | description: 'Installs the specified Number of Atomix Instances' |
| 129 | |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 130 | - string: |
| 131 | name: NumOfKafka |
| 132 | default: '{num-of-kafka}' |
| 133 | description: 'Installs the specified Number of Kafka Instances' |
| 134 | |
| 135 | - string: |
| 136 | name: NumOfEtcd |
| 137 | default: '{num-of-etcd}' |
| 138 | description: 'Installs the specified Number of Etcd Instances' |
| 139 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 140 | - bool: |
| 141 | name: configurePod |
| 142 | default: true |
| 143 | description: "Configure POD via TOSCA post build" |
| 144 | |
| 145 | - bool: |
| 146 | name: reinstallOlt |
| 147 | default: '{reinstall-olt}' |
| 148 | description: "Re-install olt software bringing up CORD" |
| 149 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 150 | - string: |
| 151 | name: VolthaEtcdPort |
| 152 | default: '{VolthaEtcdPort}' |
| 153 | description: 'Localhost port that is forwarded to VOLTHA etcd' |
| 154 | |
| 155 | - bool: |
| 156 | name: inBandManagement |
| 157 | default: '{in-band-management}' |
| 158 | description: 'Indicates whether POD is configured for in band management' |
| 159 | |
Matteo Scandolo | 3dce2a1 | 2020-09-15 14:21:14 -0700 | [diff] [blame] | 160 | - string: |
| 161 | name: volthaSystemTestsChange |
| 162 | default: '{volthaSystemTestsChange}' |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 163 | description: 'Download delta from gerrit:voltha-system-tests, example value: "refs/changes/79/18779/13"' |
Matteo Scandolo | 3dce2a1 | 2020-09-15 14:21:14 -0700 | [diff] [blame] | 164 | |
| 165 | - string: |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 166 | name: volthaHelmChartsChange |
| 167 | default: '{volthaHelmChartsChange}' |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 168 | description: 'Download delta from gerrit:voltha-helm-charts, example value: "refs/changes/32/19132/1"' |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 169 | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 170 | # NOTE is this needed/used? |
Matteo Scandolo | 3dce2a1 | 2020-09-15 14:21:14 -0700 | [diff] [blame] | 171 | - string: |
| 172 | name: cordTesterChange |
| 173 | default: '{cordTesterChange}' |
| 174 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 175 | |
Matteo Scandolo | 6eb673e | 2021-05-06 11:24:39 -0700 | [diff] [blame] | 176 | # this is used in the Adtran DT job |
Andrea Campanella | 6dfc043 | 2021-01-12 10:43:16 +0100 | [diff] [blame] | 177 | - string: |
| 178 | name: openoltAdapterChart |
| 179 | default: '{openoltAdapterChart}' |
Andrea Campanella | ce8aa76 | 2021-08-27 09:32:22 +0200 | [diff] [blame] | 180 | description: 'Olt adapter chart name (or location on file system)' |
| 181 | |
Andrea Campanella | ecefbc8 | 2021-08-27 11:06:31 +0200 | [diff] [blame] | 182 | # this is used in the Adtran DT job |
Andrea Campanella | ce8aa76 | 2021-08-27 09:32:22 +0200 | [diff] [blame] | 183 | - string: |
| 184 | name: oltAdapterReleaseName |
| 185 | default: '{oltAdapterReleaseName}' |
| 186 | description: 'Olt adapter release name' |
Andrea Campanella | 6dfc043 | 2021-01-12 10:43:16 +0100 | [diff] [blame] | 187 | |
Andrea Campanella | ecefbc8 | 2021-08-27 11:06:31 +0200 | [diff] [blame] | 188 | - string: |
| 189 | name: waitTimerForOltUp |
| 190 | default: '{waitTimerForOltUp}' |
| 191 | description: 'Wait timer for the OLT to come up after reboot' |
| 192 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 193 | - bool: |
| 194 | name: DebugMode |
| 195 | default: false |
| 196 | description: "Enable script debugging (unused)" |
| 197 | |
| 198 | # ----------------------------------------------------------------------- |
| 199 | # default properties for the VOLTHA scale jobs |
| 200 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 201 | - voltha-pipe-job-boiler-plate: &voltha-pipe-job-boiler-plate |
| 202 | name: voltha-pipe-job-boiler-plate |
| 203 | |
| 204 | project-type: pipeline |
| 205 | |
| 206 | sandbox: true |
| 207 | |
| 208 | properties: |
Joey Armstrong | e04fe1f | 2022-08-25 13:48:13 -0400 | [diff] [blame] | 209 | - onf-infra-volthadevs-permissions |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 210 | - cord-infra-properties: |
Matteo Scandolo | a0e6f3f | 2020-11-12 17:13:20 -0800 | [diff] [blame] | 211 | build-days-to-keep: '{big-build-days-to-keep}' |
| 212 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 213 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 214 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 215 | # VOLTHA Build Jobs |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 216 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 217 | - job-template: |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 218 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual' |
| 219 | id: build_voltha_pod_manual |
| 220 | disabled: '{disable-job}' |
| 221 | description: | |
| 222 | Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br /> |
| 223 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 224 | Created by QA (Suchitra Vemuri) <br /> |
| 225 | Copyright 2018-2022 Open Networking Foundation (ONF) and the ONF Contributors |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 226 | |
| 227 | <<: *voltha-pipe-job-boiler-plate |
| 228 | # default values |
| 229 | pipeline-script: 'voltha/master/physical-build.groovy' |
| 230 | VolthaEtcdPort: 2379 |
| 231 | num-of-openonu: 1 |
| 232 | num-of-onos: 1 |
| 233 | num-of-atomix: 0 |
| 234 | num-of-kafka: 1 |
| 235 | num-of-etcd: 1 |
| 236 | test-repo: 'voltha-system-tests' |
| 237 | release: 'master' |
| 238 | name-extension: '' |
| 239 | branch: 'master' |
| 240 | configurePod: true |
| 241 | volthaHelmChartsChange: '' |
| 242 | profile: 'Default' |
| 243 | logLevel: 'DEBUG' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 244 | enableMultiUni: false |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 245 | withFttb: false |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 246 | uniPortMask: '0x0001' |
Hardik Windlass | 908533a | 2021-05-24 16:35:58 +0000 | [diff] [blame] | 247 | bbsimReplicas: 0 |
Matteo Scandolo | 1c89551 | 2021-05-13 10:30:13 -0700 | [diff] [blame] | 248 | num-of-onus: 0 |
| 249 | num-of-ponports: 0 |
Matteo Scandolo | d47bfb2 | 2021-05-24 09:40:05 -0700 | [diff] [blame] | 250 | extraHelmFlags: '' |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 251 | |
| 252 | <<: *voltha-build-job-parameters |
| 253 | |
| 254 | concurrent: true |
| 255 | project-type: pipeline |
| 256 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 257 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 258 | # ----------------------------------------------------------------------- |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 259 | # VOLTHA Build Jobs |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 260 | # ----------------------------------------------------------------------- |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 261 | - job-template: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 262 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 263 | id: build_voltha_pod_release_timer |
Suchitra Vemuri | 26fe243 | 2020-09-14 19:51:32 -0700 | [diff] [blame] | 264 | disabled: '{disable-job}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 265 | description: | |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 266 | 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] | 267 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 268 | Created by QA (Suchitra Vemuri) <br /> |
| 269 | Copyright 2018-2022 Open Networking Foundation (ONF) and the ONF Contributors |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 270 | |
| 271 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 272 | # default values |
| 273 | pipeline-script: 'voltha/master/physical-build.groovy' |
| 274 | VolthaEtcdPort: 2379 |
| 275 | num-of-openonu: 1 |
| 276 | num-of-onos: 3 |
| 277 | num-of-atomix: 3 |
Hardik Windlass | c737902 | 2021-05-12 13:52:24 +0530 | [diff] [blame] | 278 | num-of-kafka: 3 |
| 279 | num-of-etcd: 3 |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 280 | test-repo: 'voltha-system-tests' |
| 281 | release: 'master' |
| 282 | name-extension: '' |
| 283 | branch: 'master' |
| 284 | configurePod: true |
| 285 | volthaHelmChartsChange: '' |
| 286 | profile: 'Default' |
Matteo Scandolo | 6ddb015 | 2021-05-07 11:25:17 -0700 | [diff] [blame] | 287 | logLevel: 'DEBUG' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 288 | enableMultiUni: false |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 289 | withFttb: false |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 290 | uniPortMask: '0x0001' |
Hardik Windlass | 908533a | 2021-05-24 16:35:58 +0000 | [diff] [blame] | 291 | bbsimReplicas: 0 |
Matteo Scandolo | 1c89551 | 2021-05-13 10:30:13 -0700 | [diff] [blame] | 292 | num-of-onus: 0 |
| 293 | num-of-ponports: 0 |
Matteo Scandolo | d47bfb2 | 2021-05-24 09:40:05 -0700 | [diff] [blame] | 294 | extraHelmFlags: '' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 295 | |
| 296 | <<: *voltha-build-job-parameters |
| 297 | |
| 298 | concurrent: true |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 299 | project-type: pipeline |
| 300 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 301 | |
| 302 | triggers: |
| 303 | - timed: | |
| 304 | TZ=America/Los_Angeles |
| 305 | H {time} * * * |
| 306 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 307 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 308 | # VOLTHA Test Job |
| 309 | # This job is automatically triggered after a build job has successfully completed |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 310 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 311 | - job-template: |
| 312 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 313 | id: build_voltha_pod_test |
Matteo Scandolo | 38a00b0 | 2020-09-15 13:27:06 -0700 | [diff] [blame] | 314 | disabled: '{disable-job}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 315 | description: | |
| 316 | 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] | 317 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 318 | Created by (Suchitra Vemuri) <br /> |
| 319 | Copyright 2017-2022 Open Networking Foundation (ONF) and the ONF Contributors |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 320 | |
| 321 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 322 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 323 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 324 | manifest-branch: 'master' |
| 325 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 326 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 327 | enableMultiUni: false |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 328 | withFttb: false |
Andrea Campanella | 2af4b90 | 2021-11-05 10:40:02 +0100 | [diff] [blame] | 329 | timeout: 300 |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 330 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 331 | parameters: |
| 332 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 333 | name: timeout |
| 334 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 335 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 336 | |
| 337 | - string: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 338 | name: buildNode |
| 339 | default: '{build-node}' |
| 340 | description: 'Name of the Jenkins executor node to run the job on' |
| 341 | |
| 342 | - string: |
| 343 | name: TestNodeName |
| 344 | default: '{build-node}' |
| 345 | description: 'DEPRECATED - use buildNode instead' |
| 346 | |
| 347 | - string: |
| 348 | name: cordRepoUrl |
| 349 | default: '{gerrit-server-url}' |
| 350 | description: 'The URL of the CORD Project repository' |
| 351 | |
| 352 | - string: |
| 353 | name: configBaseDir |
| 354 | default: 'pod-configs' |
| 355 | description: 'The directory inside the POD configs repository' |
| 356 | |
| 357 | - string: |
| 358 | name: configDeploymentDir |
| 359 | default: 'deployment-configs' |
| 360 | description: 'The deployment configs folder' |
| 361 | |
| 362 | - string: |
| 363 | name: configKubernetesDir |
| 364 | default: 'kubernetes-configs' |
| 365 | description: 'The kubernetes config folder' |
| 366 | |
| 367 | - string: |
| 368 | name: configToscaDir |
| 369 | default: 'tosca-configs' |
| 370 | description: 'The tosca config folder' |
| 371 | |
| 372 | - string: |
| 373 | name: configFileName |
| 374 | default: '{config-pod}' |
| 375 | description: 'The config file' |
| 376 | |
| 377 | - string: |
| 378 | name: profile |
| 379 | default: '{profile}' |
| 380 | description: 'Technology Profile pushed to the ETCD' |
| 381 | |
| 382 | - string: |
| 383 | name: branch |
| 384 | default: '{branch}' |
| 385 | description: 'Branch of the test libraries to check out' |
| 386 | |
| 387 | - string: |
| 388 | name: manifestUrl |
| 389 | default: '{manifest-url}' |
| 390 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 391 | |
| 392 | - string: |
| 393 | name: manifestBranch |
| 394 | default: '{manifest-branch}' |
| 395 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 396 | |
| 397 | - string: |
| 398 | name: workFlow |
| 399 | default: '{work-flow}' |
| 400 | description: 'Installs and uses the specified work flow on the POD' |
| 401 | |
| 402 | - bool: |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 403 | name: enableMultiUni |
| 404 | default: '{enableMultiUni}' |
| 405 | description: "Enables the Multi UNI feature" |
| 406 | |
| 407 | - bool: |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 408 | name: withFttb |
| 409 | default: '{withFttb}' |
| 410 | description: "Test with FTTB enabled" |
| 411 | |
| 412 | - bool: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 413 | name: powerSwitch |
| 414 | default: '{power-switch}' |
| 415 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 416 | |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 417 | - bool: |
| 418 | name: powerCycleOlt |
| 419 | default: '{power-cycle-olt}' |
| 420 | description: "Indicate whether to reboot OLT through power switch" |
| 421 | |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 422 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 423 | name: oltAdapterAppLabel |
| 424 | default: '{oltAdapterAppLabel}' |
| 425 | description: 'OLT adapter pod name' |
| 426 | |
| 427 | - string: |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 428 | name: volthaSystemTestsChange |
| 429 | default: '{volthaSystemTestsChange}' |
| 430 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 431 | |
| 432 | - string: |
| 433 | name: kindVolthaChange |
| 434 | default: '{kindVolthaChange}' |
| 435 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 436 | |
| 437 | - string: |
| 438 | name: cordTesterChange |
| 439 | default: '{cordTesterChange}' |
| 440 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 441 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 442 | concurrent: true |
| 443 | |
| 444 | project-type: pipeline |
| 445 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 446 | |
| 447 | triggers: |
| 448 | - reverse: |
| 449 | jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 450 | result: 'success' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 451 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 452 | # ----------------------------------------------------------------------- |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 453 | # VOLTHA Soak Test Job |
| 454 | # This job is triggered by a timer defined in the job |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 455 | # ----------------------------------------------------------------------- |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 456 | - job-template: |
| 457 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 458 | id: build_voltha_pod_soak_test |
Andrea Campanella | b54cabe | 2020-11-26 14:48:11 +0100 | [diff] [blame] | 459 | disabled: '{disable-job}' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 460 | description: | |
| 461 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 462 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 463 | Created by (Suchitra Vemuri) <br /> |
| 464 | Copyright 2017-2022 Open Networking Foundation (ONF) and the ONF Contributors |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 465 | |
| 466 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 467 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 468 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 469 | manifest-branch: 'master' |
| 470 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 471 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 472 | timeout: 240 |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 473 | |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 474 | parameters: |
| 475 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 476 | name: timeout |
| 477 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 478 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 479 | |
| 480 | - string: |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 481 | name: buildNode |
| 482 | default: '{build-node}' |
| 483 | description: 'Name of the Jenkins executor node to run the job on' |
| 484 | |
| 485 | - string: |
| 486 | name: TestNodeName |
| 487 | default: '{build-node}' |
| 488 | description: 'DEPRECATED - use buildNode instead' |
| 489 | |
| 490 | - string: |
| 491 | name: cordRepoUrl |
| 492 | default: '{gerrit-server-url}' |
| 493 | description: 'The URL of the CORD Project repository' |
| 494 | |
| 495 | - string: |
| 496 | name: configBaseDir |
| 497 | default: 'pod-configs' |
| 498 | description: 'The directory inside the POD configs repository' |
| 499 | |
| 500 | - string: |
| 501 | name: configDeploymentDir |
| 502 | default: 'deployment-configs' |
| 503 | description: 'The deployment configs folder' |
| 504 | |
| 505 | - string: |
| 506 | name: configKubernetesDir |
| 507 | default: 'kubernetes-configs' |
| 508 | description: 'The kubernetes config folder' |
| 509 | |
| 510 | - string: |
| 511 | name: configToscaDir |
| 512 | default: 'tosca-configs' |
| 513 | description: 'The tosca config folder' |
| 514 | |
| 515 | - string: |
| 516 | name: configFileName |
| 517 | default: '{config-pod}' |
| 518 | description: 'The config file' |
| 519 | |
| 520 | - string: |
| 521 | name: profile |
| 522 | default: '{profile}' |
| 523 | description: 'Technology Profile pushed to the ETCD' |
| 524 | |
| 525 | - string: |
| 526 | name: branch |
| 527 | default: '{branch}' |
| 528 | description: 'Branch of the test libraries to check out' |
| 529 | |
| 530 | - string: |
| 531 | name: manifestUrl |
| 532 | default: '{manifest-url}' |
| 533 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 534 | |
| 535 | - string: |
| 536 | name: manifestBranch |
| 537 | default: '{manifest-branch}' |
| 538 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 539 | |
| 540 | - string: |
| 541 | name: workFlow |
| 542 | default: '{work-flow}' |
| 543 | description: 'Installs and uses the specified work flow on the POD' |
| 544 | |
| 545 | - bool: |
| 546 | name: powerSwitch |
| 547 | default: '{power-switch}' |
| 548 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 549 | |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 550 | - bool: |
| 551 | name: powerCycleOlt |
| 552 | default: '{power-cycle-olt}' |
| 553 | description: "Indicate whether to reboot OLT through power switch" |
| 554 | |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 555 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 556 | name: oltAdapterAppLabel |
| 557 | default: '{oltAdapterAppLabel}' |
| 558 | description: 'OLT adapter pod name' |
| 559 | |
| 560 | - string: |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 561 | name: testType |
| 562 | default: '{test-type}' |
| 563 | description: 'Passes the required test category to the groovy script' |
| 564 | |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 565 | - string: |
| 566 | name: volthaSystemTestsChange |
| 567 | default: '{volthaSystemTestsChange}' |
| 568 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 569 | |
| 570 | - string: |
| 571 | name: kindVolthaChange |
| 572 | default: '{kindVolthaChange}' |
| 573 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 574 | |
| 575 | - string: |
| 576 | name: cordTesterChange |
| 577 | default: '{cordTesterChange}' |
| 578 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 579 | |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 580 | concurrent: true |
| 581 | |
| 582 | project-type: pipeline |
| 583 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 584 | |
| 585 | triggers: |
| 586 | - timed: | |
| 587 | TZ=America/Los_Angeles |
| 588 | {time-trigger} |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 589 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 590 | # ----------------------------------------------------------------------- |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 591 | # VOLTHA Manual Test Job |
| 592 | # This job is triggered manually |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 593 | # ----------------------------------------------------------------------- |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 594 | - job-template: |
| 595 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test' |
| 596 | id: build_voltha_pod_manual_test |
| 597 | disabled: '{disable-job}' |
| 598 | description: | |
| 599 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 600 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 601 | Created by (Suchitra Vemuri) <br /> |
| 602 | Copyright 2017-2022 Open Networking Foundation (ONF) and the ONF Contributors |
| 603 | |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 604 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 605 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 606 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 607 | manifest-branch: 'master' |
| 608 | |
| 609 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 610 | enableMultiUni: false |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 611 | timeout: 240 |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 612 | |
| 613 | parameters: |
| 614 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 615 | name: timeout |
| 616 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 617 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 618 | |
| 619 | - string: |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 620 | name: buildNode |
| 621 | default: '{build-node}' |
| 622 | description: 'Name of the Jenkins executor node to run the job on' |
| 623 | |
| 624 | - string: |
| 625 | name: TestNodeName |
| 626 | default: '{build-node}' |
| 627 | description: 'DEPRECATED - use buildNode instead' |
| 628 | |
| 629 | - string: |
| 630 | name: cordRepoUrl |
| 631 | default: '{gerrit-server-url}' |
| 632 | description: 'The URL of the CORD Project repository' |
| 633 | |
| 634 | - string: |
| 635 | name: configBaseDir |
| 636 | default: 'pod-configs' |
| 637 | description: 'The directory inside the POD configs repository' |
| 638 | |
| 639 | - string: |
| 640 | name: configDeploymentDir |
| 641 | default: 'deployment-configs' |
| 642 | description: 'The deployment configs folder' |
| 643 | |
| 644 | - string: |
| 645 | name: configKubernetesDir |
| 646 | default: 'kubernetes-configs' |
| 647 | description: 'The kubernetes config folder' |
| 648 | |
| 649 | - string: |
| 650 | name: configToscaDir |
| 651 | default: 'tosca-configs' |
| 652 | description: 'The tosca config folder' |
| 653 | |
| 654 | - string: |
| 655 | name: configFileName |
| 656 | default: '{config-pod}' |
| 657 | description: 'The config file' |
| 658 | |
| 659 | - string: |
| 660 | name: profile |
| 661 | default: '{profile}' |
| 662 | description: 'Technology Profile pushed to the ETCD' |
| 663 | |
| 664 | - string: |
| 665 | name: branch |
| 666 | default: '{branch}' |
| 667 | description: 'Branch of the test libraries to check out' |
| 668 | |
| 669 | - string: |
| 670 | name: manifestUrl |
| 671 | default: '{manifest-url}' |
| 672 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 673 | |
| 674 | - string: |
| 675 | name: manifestBranch |
| 676 | default: '{manifest-branch}' |
| 677 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 678 | |
| 679 | - string: |
| 680 | name: workFlow |
| 681 | default: '{work-flow}' |
| 682 | description: 'Installs and uses the specified work flow on the POD' |
| 683 | |
| 684 | - bool: |
| 685 | name: powerSwitch |
| 686 | default: '{power-switch}' |
| 687 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 688 | |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 689 | - bool: |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 690 | name: powerCycleOlt |
| 691 | default: '{power-cycle-olt}' |
| 692 | description: "Indicate whether to reboot OLT through power switch" |
| 693 | |
| 694 | - bool: |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 695 | name: enableMultiUni |
| 696 | default: '{enableMultiUni}' |
| 697 | description: "Enables the Multi UNI feature" |
| 698 | |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 699 | - string: |
| 700 | name: oltAdapterAppLabel |
| 701 | default: '{oltAdapterAppLabel}' |
| 702 | description: 'OLT adapter pod name' |
| 703 | |
| 704 | - string: |
| 705 | name: testType |
| 706 | default: '{test-type}' |
| 707 | description: 'Passes the required test category to the groovy script' |
| 708 | |
| 709 | - string: |
| 710 | name: volthaSystemTestsChange |
| 711 | default: '{volthaSystemTestsChange}' |
| 712 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 713 | |
| 714 | - string: |
| 715 | name: kindVolthaChange |
| 716 | default: '{kindVolthaChange}' |
| 717 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 718 | |
| 719 | - string: |
| 720 | name: cordTesterChange |
| 721 | default: '{cordTesterChange}' |
| 722 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 723 | concurrent: true |
| 724 | |
| 725 | project-type: pipeline |
| 726 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 727 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 728 | # ----------------------------------------------------------------------- |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 729 | # VOLTHA DMI Test Job |
| 730 | # This job is triggered by a timer defined in the job |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 731 | # ----------------------------------------------------------------------- |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 732 | - job-template: |
| 733 | name: 'verify_{config-pod}_{profile}{name-extension}_voltha_{release}_dmi' |
| 734 | id: verify_voltha_pod_dmi_test |
| 735 | disabled: '{disable-job}' |
| 736 | description: | |
| 737 | Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br /> |
| 738 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml <br /> |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 739 | Created by QA (Suchitra Vemuri) <br /> |
| 740 | Copyright 2018-2022 Open Networking Foundation (ONF) and the ONF Contributors |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 741 | |
| 742 | <<: *voltha-pipe-job-boiler-plate |
| 743 | # default values |
| 744 | pipeline-script: 'voltha/master/dmi-build-and-test.groovy' |
Hardik Windlass | 230fca6 | 2022-05-04 08:50:35 +0530 | [diff] [blame] | 745 | installVolthaInfra: true |
| 746 | installVolthaStack: true |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 747 | VolthaEtcdPort: 2379 |
| 748 | num-of-openonu: 1 |
| 749 | num-of-onos: 3 |
| 750 | num-of-atomix: 3 |
| 751 | num-of-kafka: 3 |
| 752 | num-of-etcd: 3 |
| 753 | test-repo: 'voltha-system-tests' |
| 754 | release: 'master' |
| 755 | name-extension: '' |
| 756 | branch: 'master' |
| 757 | configurePod: true |
| 758 | volthaHelmChartsChange: '' |
| 759 | profile: 'Default' |
| 760 | logLevel: 'DEBUG' |
| 761 | enableMultiUni: false |
| 762 | uniPortMask: '0x0001' |
| 763 | bbsimReplicas: 0 |
| 764 | num-of-onus: 0 |
| 765 | num-of-ponports: 0 |
| 766 | extraHelmFlags: '' |
| 767 | dmiChart: '' |
| 768 | OltDevMgr: '' |
| 769 | openoltAdapterChart: onf/voltha-adapter-openolt |
| 770 | oltAdapterReleaseName: open-olt |
| 771 | waitTimerForOltUp: 360 |
| 772 | |
| 773 | parameters: |
| 774 | - string: |
| 775 | name: buildNode |
| 776 | default: '{build-node}' |
| 777 | description: 'Name of the Jenkins executor node to run the job on' |
| 778 | |
| 779 | - string: |
| 780 | name: TestNodeName |
| 781 | default: '{build-node}' |
| 782 | description: 'DEPRECATED - use buildNode instead' |
| 783 | |
| 784 | - string: |
| 785 | name: logLevel |
| 786 | default: '{logLevel}' |
| 787 | description: 'Log level for all the components' |
| 788 | |
| 789 | - string: |
| 790 | name: cordRepoUrl |
| 791 | default: '{gerrit-server-url}' |
| 792 | description: 'The URL of the CORD Project repository' |
| 793 | |
| 794 | - string: |
| 795 | name: configBaseDir |
| 796 | default: 'pod-configs' |
| 797 | description: 'The directory inside the POD configs repository' |
| 798 | |
| 799 | - string: |
| 800 | name: configDeploymentDir |
| 801 | default: 'deployment-configs' |
| 802 | description: 'The deployment configs folder' |
| 803 | |
| 804 | - string: |
| 805 | name: configKubernetesDir |
| 806 | default: 'kubernetes-configs' |
| 807 | description: 'The kubernetes config folder' |
| 808 | |
| 809 | - string: |
| 810 | name: configToscaDir |
| 811 | default: 'tosca-configs' |
| 812 | description: 'The tosca config folder' |
| 813 | |
| 814 | - string: |
| 815 | name: configFileName |
| 816 | default: '{config-pod}' |
| 817 | description: 'The config file' |
| 818 | |
| 819 | - string: |
| 820 | name: profile |
| 821 | default: '{profile}' |
| 822 | description: 'Technology Profile pushed to the ETCD' |
| 823 | |
| 824 | - string: |
| 825 | name: helmRepoUrl |
| 826 | default: 'https://charts.opencord.org' |
| 827 | description: 'URL where helm-charts are published' |
| 828 | |
| 829 | - string: |
| 830 | name: branch |
| 831 | default: '{branch}' |
| 832 | |
| 833 | - string: |
| 834 | name: workFlow |
| 835 | default: '{work-flow}' |
| 836 | description: 'Installs and uses the specified work flow on the POD' |
| 837 | |
Hardik Windlass | ace19e5 | 2022-02-10 09:36:21 +0000 | [diff] [blame] | 838 | - bool: |
Hardik Windlass | 230fca6 | 2022-05-04 08:50:35 +0530 | [diff] [blame] | 839 | name: installVolthaInfra |
| 840 | default: '{installVolthaInfra}' |
| 841 | description: "Whether to install VOLTHA Infra" |
| 842 | |
| 843 | - bool: |
| 844 | name: installVolthaStack |
| 845 | default: '{installVolthaStack}' |
| 846 | description: "Whether to install VOLTHA Stack" |
Hardik Windlass | ace19e5 | 2022-02-10 09:36:21 +0000 | [diff] [blame] | 847 | |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 848 | - string: |
| 849 | name: extraHelmFlags |
| 850 | default: '{extraHelmFlags}' |
| 851 | description: 'Helm flags (passed to each deployment)' |
| 852 | |
| 853 | - string: |
| 854 | name: dmiChart |
| 855 | default: '{dmiChart}' |
| 856 | description: 'Device Management Interface Helm Chart' |
| 857 | |
| 858 | - string: |
| 859 | name: OltDevMgr |
| 860 | default: '{OltDevMgr}' |
| 861 | description: 'OLT Device Manager App Name' |
| 862 | |
| 863 | # openonu-go only supports a single replica, remove after 2.8 |
| 864 | - string: |
| 865 | name: NumOfOpenOnu |
| 866 | default: '{num-of-openonu}' |
| 867 | description: 'Installs the specified Number of OpenOnu Adapters' |
| 868 | |
| 869 | - string: |
| 870 | name: NumOfOnos |
| 871 | default: '{num-of-onos}' |
| 872 | description: 'Installs the specified Number of ONOS instances' |
| 873 | |
| 874 | - bool: |
| 875 | name: enableMultiUni |
| 876 | default: '{enableMultiUni}' |
| 877 | description: "Enables the Multi UNI feature" |
| 878 | |
| 879 | - string: |
| 880 | name: uniPortMask |
| 881 | default: '{uniPortMask}' |
| 882 | description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF' |
| 883 | |
| 884 | - string: |
| 885 | name: bbsimReplicas |
| 886 | default: '{bbsimReplicas}' |
| 887 | description: 'Installs the specified Number of BBSim Instances' |
| 888 | |
| 889 | - string: |
| 890 | name: onuNumber |
| 891 | default: '{num-of-onus}' |
| 892 | description: "Onus per PonPort" |
| 893 | |
| 894 | - string: |
| 895 | name: ponNumber |
| 896 | default: '{num-of-ponports}' |
| 897 | description: "Number of PON Ports" |
| 898 | |
| 899 | - string: |
| 900 | name: NumOfAtomix |
| 901 | default: '{num-of-atomix}' |
| 902 | description: 'Installs the specified Number of Atomix Instances' |
| 903 | |
| 904 | - string: |
| 905 | name: NumOfKafka |
| 906 | default: '{num-of-kafka}' |
| 907 | description: 'Installs the specified Number of Kafka Instances' |
| 908 | |
| 909 | - string: |
| 910 | name: NumOfEtcd |
| 911 | default: '{num-of-etcd}' |
| 912 | description: 'Installs the specified Number of Etcd Instances' |
| 913 | |
| 914 | - bool: |
| 915 | name: configurePod |
| 916 | default: true |
| 917 | description: "Configure POD via TOSCA post build" |
| 918 | |
| 919 | - bool: |
| 920 | name: reinstallOlt |
| 921 | default: '{reinstall-olt}' |
| 922 | description: "Re-install olt software bringing up CORD" |
| 923 | |
| 924 | - bool: |
| 925 | name: restartOlt |
| 926 | default: '{restart-olt}' |
| 927 | description: "Re-install olt software bringing up CORD" |
| 928 | |
| 929 | - string: |
| 930 | name: VolthaEtcdPort |
| 931 | default: '{VolthaEtcdPort}' |
| 932 | description: 'Localhost port that is forwarded to VOLTHA etcd' |
| 933 | |
| 934 | - bool: |
| 935 | name: inBandManagement |
| 936 | default: '{in-band-management}' |
| 937 | description: 'Indicates whether POD is configured for in band management' |
| 938 | |
| 939 | - string: |
| 940 | name: volthaSystemTestsChange |
| 941 | default: '{volthaSystemTestsChange}' |
| 942 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 943 | |
| 944 | - string: |
| 945 | name: volthaHelmChartsChange |
| 946 | default: '{volthaHelmChartsChange}' |
| 947 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"' |
| 948 | |
| 949 | # this is used in the Adtran DT job |
| 950 | - string: |
| 951 | name: openoltAdapterChart |
| 952 | default: '{openoltAdapterChart}' |
| 953 | description: 'Olt adapter chart name (or location on file system)' |
| 954 | |
| 955 | # this is used in the Adtran DT job |
| 956 | - string: |
| 957 | name: oltAdapterReleaseName |
| 958 | default: '{oltAdapterReleaseName}' |
| 959 | description: 'Olt adapter release name' |
| 960 | |
| 961 | - string: |
| 962 | name: waitTimerForOltUp |
| 963 | default: '{waitTimerForOltUp}' |
| 964 | description: 'Wait timer for the OLT to come up after reboot' |
| 965 | |
| 966 | concurrent: true |
| 967 | project-type: pipeline |
| 968 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 969 | |
| 970 | triggers: |
| 971 | - timed: | |
| 972 | TZ=America/Los_Angeles |
| 973 | H {time} * * * |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 974 | |
| 975 | # [EOF] |