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 | # ----------------------------------------------------------------------- |
Joey Armstrong | 980e37f | 2023-02-28 18:57:41 -0500 | [diff] [blame] | 215 | # VOLTHA Build Job (manual) |
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 /> |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 225 | Copyright 2018-2023 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 | # ----------------------------------------------------------------------- |
Joey Armstrong | 980e37f | 2023-02-28 18:57:41 -0500 | [diff] [blame] | 259 | # VOLTHA Build Jobs (periodic) |
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 /> |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 269 | Copyright 2018-2023 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 | # ----------------------------------------------------------------------- |
Joey Armstrong | 980e37f | 2023-02-28 18:57:41 -0500 | [diff] [blame] | 308 | # VOLTHA Build Jobs (periodic: playground |
Joey Armstrong | 9fbc0da | 2023-03-01 15:37:38 -0500 | [diff] [blame] | 309 | # [CORD_3256] |
Joey Armstrong | 980e37f | 2023-02-28 18:57:41 -0500 | [diff] [blame] | 310 | # ----------------------------------------------------------------------- |
| 311 | - job-template: |
Joey Armstrong | 9fbc0da | 2023-03-01 15:37:38 -0500 | [diff] [blame] | 312 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}-playground' |
Joey Armstrong | 980e37f | 2023-02-28 18:57:41 -0500 | [diff] [blame] | 313 | id: build_voltha_pod_release_timer_playground |
| 314 | disabled: '{disable-job}' |
| 315 | description: | |
Joey Armstrong | 9fbc0da | 2023-03-01 15:37:38 -0500 | [diff] [blame] | 316 | Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' |
| 317 | Created from job-template {id} from repo::ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml |
Joey Armstrong | 980e37f | 2023-02-28 18:57:41 -0500 | [diff] [blame] | 318 | Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors |
| 319 | |
| 320 | <<: *voltha-pipe-job-boiler-plate |
| 321 | # default values |
| 322 | pipeline-script: 'voltha/playground/physical-build.groovy' |
| 323 | VolthaEtcdPort: 2379 |
| 324 | num-of-openonu: 1 |
| 325 | num-of-onos: 3 |
| 326 | num-of-atomix: 3 |
| 327 | num-of-kafka: 3 |
| 328 | num-of-etcd: 3 |
| 329 | test-repo: 'voltha-system-tests' |
| 330 | release: 'master' |
| 331 | name-extension: '' |
| 332 | branch: 'master' |
| 333 | configurePod: true |
| 334 | volthaHelmChartsChange: '' |
| 335 | profile: 'Default' |
| 336 | logLevel: 'DEBUG' |
| 337 | enableMultiUni: false |
| 338 | withFttb: false |
| 339 | uniPortMask: '0x0001' |
| 340 | bbsimReplicas: 0 |
| 341 | num-of-onus: 0 |
| 342 | num-of-ponports: 0 |
| 343 | extraHelmFlags: '' |
| 344 | |
| 345 | <<: *voltha-build-job-parameters |
| 346 | |
| 347 | concurrent: true |
| 348 | project-type: pipeline |
| 349 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 350 | |
| 351 | triggers: |
| 352 | - timed: | |
| 353 | TZ=America/Los_Angeles |
| 354 | H {time} * * * |
| 355 | |
| 356 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 357 | # VOLTHA Test Job |
| 358 | # This job is automatically triggered after a build job has successfully completed |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 359 | # ----------------------------------------------------------------------- |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 360 | - job-template: |
| 361 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 362 | id: build_voltha_pod_test |
Matteo Scandolo | 38a00b0 | 2020-09-15 13:27:06 -0700 | [diff] [blame] | 363 | disabled: '{disable-job}' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 364 | description: | |
| 365 | 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] | 366 | 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] | 367 | Created by (Suchitra Vemuri) <br /> |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 368 | Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 369 | |
| 370 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 371 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 372 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 373 | manifest-branch: 'master' |
| 374 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 375 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 376 | enableMultiUni: false |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 377 | withFttb: false |
Andrea Campanella | 2af4b90 | 2021-11-05 10:40:02 +0100 | [diff] [blame] | 378 | timeout: 300 |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 379 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 380 | parameters: |
| 381 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 382 | name: timeout |
| 383 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 384 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 385 | |
| 386 | - string: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 387 | name: buildNode |
| 388 | default: '{build-node}' |
| 389 | description: 'Name of the Jenkins executor node to run the job on' |
| 390 | |
| 391 | - string: |
| 392 | name: TestNodeName |
| 393 | default: '{build-node}' |
| 394 | description: 'DEPRECATED - use buildNode instead' |
| 395 | |
| 396 | - string: |
| 397 | name: cordRepoUrl |
| 398 | default: '{gerrit-server-url}' |
| 399 | description: 'The URL of the CORD Project repository' |
| 400 | |
| 401 | - string: |
| 402 | name: configBaseDir |
| 403 | default: 'pod-configs' |
| 404 | description: 'The directory inside the POD configs repository' |
| 405 | |
| 406 | - string: |
| 407 | name: configDeploymentDir |
| 408 | default: 'deployment-configs' |
| 409 | description: 'The deployment configs folder' |
| 410 | |
| 411 | - string: |
| 412 | name: configKubernetesDir |
| 413 | default: 'kubernetes-configs' |
| 414 | description: 'The kubernetes config folder' |
| 415 | |
| 416 | - string: |
| 417 | name: configToscaDir |
| 418 | default: 'tosca-configs' |
| 419 | description: 'The tosca config folder' |
| 420 | |
| 421 | - string: |
| 422 | name: configFileName |
| 423 | default: '{config-pod}' |
| 424 | description: 'The config file' |
| 425 | |
| 426 | - string: |
| 427 | name: profile |
| 428 | default: '{profile}' |
| 429 | description: 'Technology Profile pushed to the ETCD' |
| 430 | |
| 431 | - string: |
| 432 | name: branch |
| 433 | default: '{branch}' |
| 434 | description: 'Branch of the test libraries to check out' |
| 435 | |
| 436 | - string: |
| 437 | name: manifestUrl |
| 438 | default: '{manifest-url}' |
| 439 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 440 | |
| 441 | - string: |
| 442 | name: manifestBranch |
| 443 | default: '{manifest-branch}' |
| 444 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 445 | |
| 446 | - string: |
| 447 | name: workFlow |
| 448 | default: '{work-flow}' |
| 449 | description: 'Installs and uses the specified work flow on the POD' |
| 450 | |
| 451 | - bool: |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 452 | name: enableMultiUni |
| 453 | default: '{enableMultiUni}' |
| 454 | description: "Enables the Multi UNI feature" |
| 455 | |
| 456 | - bool: |
Hardik Windlass | c97ceae | 2022-05-13 10:12:55 +0530 | [diff] [blame] | 457 | name: withFttb |
| 458 | default: '{withFttb}' |
| 459 | description: "Test with FTTB enabled" |
| 460 | |
| 461 | - bool: |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 462 | name: powerSwitch |
| 463 | default: '{power-switch}' |
| 464 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 465 | |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 466 | - bool: |
| 467 | name: powerCycleOlt |
| 468 | default: '{power-cycle-olt}' |
| 469 | description: "Indicate whether to reboot OLT through power switch" |
| 470 | |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 471 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 472 | name: oltAdapterAppLabel |
| 473 | default: '{oltAdapterAppLabel}' |
| 474 | description: 'OLT adapter pod name' |
| 475 | |
| 476 | - string: |
Andrea Campanella | 6ea6227 | 2020-09-16 11:10:52 +0200 | [diff] [blame] | 477 | name: volthaSystemTestsChange |
| 478 | default: '{volthaSystemTestsChange}' |
| 479 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 480 | |
| 481 | - string: |
| 482 | name: kindVolthaChange |
| 483 | default: '{kindVolthaChange}' |
| 484 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 485 | |
| 486 | - string: |
| 487 | name: cordTesterChange |
| 488 | default: '{cordTesterChange}' |
| 489 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 490 | |
Matteo Scandolo | 9973c65 | 2020-08-07 15:23:35 -0700 | [diff] [blame] | 491 | concurrent: true |
| 492 | |
| 493 | project-type: pipeline |
| 494 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 495 | |
| 496 | triggers: |
| 497 | - reverse: |
| 498 | jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 499 | result: 'success' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 500 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 501 | # ----------------------------------------------------------------------- |
Joey Armstrong | 9fbc0da | 2023-03-01 15:37:38 -0500 | [diff] [blame] | 502 | # VOLTHA Test Job |
| 503 | # This job is automatically triggered after a build job has successfully completed |
| 504 | # ----------------------------------------------------------------------- |
| 505 | - job-template: |
| 506 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test-playground' |
| 507 | id: build_voltha_pod_test_playground |
| 508 | disabled: '{disable-job}' |
| 509 | description: | |
| 510 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script} |
| 511 | Created from job-template {id} from ci-management/jjb/voltha-test/voltha-nightly-jobs.yaml |
| 512 | Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors |
| 513 | |
| 514 | <<: *voltha-pipe-job-boiler-plate |
| 515 | pipeline-script: 'voltha/playground/voltha-physical-functional-tests.groovy' |
| 516 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 517 | manifest-branch: 'master' |
| 518 | |
| 519 | oltAdapterAppLabel: 'adapter-open-olt' |
| 520 | enableMultiUni: false |
| 521 | withFttb: false |
| 522 | timeout: 300 |
| 523 | |
| 524 | parameters: |
| 525 | - string: |
| 526 | name: timeout |
| 527 | default: '{timeout}' |
| 528 | description: 'Job pipeline timeout value [minutes]' |
| 529 | |
| 530 | - string: |
| 531 | name: buildNode |
| 532 | default: '{build-node}' |
| 533 | description: 'Name of the Jenkins executor node to run the job on' |
| 534 | |
| 535 | - string: |
| 536 | name: TestNodeName |
| 537 | default: '{build-node}' |
| 538 | description: 'DEPRECATED - use buildNode instead' |
| 539 | |
| 540 | - string: |
| 541 | name: cordRepoUrl |
| 542 | default: '{gerrit-server-url}' |
| 543 | description: 'The URL of the CORD Project repository' |
| 544 | |
| 545 | - string: |
| 546 | name: configBaseDir |
| 547 | default: 'pod-configs' |
| 548 | description: 'The directory inside the POD configs repository' |
| 549 | |
| 550 | - string: |
| 551 | name: configDeploymentDir |
| 552 | default: 'deployment-configs' |
| 553 | description: 'The deployment configs folder' |
| 554 | |
| 555 | - string: |
| 556 | name: configKubernetesDir |
| 557 | default: 'kubernetes-configs' |
| 558 | description: 'The kubernetes config folder' |
| 559 | |
| 560 | - string: |
| 561 | name: configToscaDir |
| 562 | default: 'tosca-configs' |
| 563 | description: 'The tosca config folder' |
| 564 | |
| 565 | - string: |
| 566 | name: configFileName |
| 567 | default: '{config-pod}' |
| 568 | description: 'The config file' |
| 569 | |
| 570 | - string: |
| 571 | name: profile |
| 572 | default: '{profile}' |
| 573 | description: 'Technology Profile pushed to the ETCD' |
| 574 | |
| 575 | - string: |
| 576 | name: branch |
| 577 | default: '{branch}' |
| 578 | description: 'Branch of the test libraries to check out' |
| 579 | |
| 580 | - string: |
| 581 | name: manifestUrl |
| 582 | default: '{manifest-url}' |
| 583 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 584 | |
| 585 | - string: |
| 586 | name: manifestBranch |
| 587 | default: '{manifest-branch}' |
| 588 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 589 | |
| 590 | - string: |
| 591 | name: workFlow |
| 592 | default: '{work-flow}' |
| 593 | description: 'Installs and uses the specified work flow on the POD' |
| 594 | |
| 595 | - bool: |
| 596 | name: enableMultiUni |
| 597 | default: '{enableMultiUni}' |
| 598 | description: "Enables the Multi UNI feature" |
| 599 | |
| 600 | - bool: |
| 601 | name: withFttb |
| 602 | default: '{withFttb}' |
| 603 | description: "Test with FTTB enabled" |
| 604 | |
| 605 | - bool: |
| 606 | name: powerSwitch |
| 607 | default: '{power-switch}' |
| 608 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 609 | |
| 610 | - bool: |
| 611 | name: powerCycleOlt |
| 612 | default: '{power-cycle-olt}' |
| 613 | description: "Indicate whether to reboot OLT through power switch" |
| 614 | |
| 615 | - string: |
| 616 | name: oltAdapterAppLabel |
| 617 | default: '{oltAdapterAppLabel}' |
| 618 | description: 'OLT adapter pod name' |
| 619 | |
| 620 | - string: |
| 621 | name: volthaSystemTestsChange |
| 622 | default: '{volthaSystemTestsChange}' |
| 623 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 624 | |
| 625 | - string: |
| 626 | name: kindVolthaChange |
| 627 | default: '{kindVolthaChange}' |
| 628 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 629 | |
| 630 | - string: |
| 631 | name: cordTesterChange |
| 632 | default: '{cordTesterChange}' |
| 633 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 634 | |
| 635 | concurrent: true |
| 636 | |
| 637 | project-type: pipeline |
| 638 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 639 | |
| 640 | triggers: |
| 641 | - reverse: |
| 642 | jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}' |
| 643 | result: 'success' |
| 644 | |
| 645 | # ----------------------------------------------------------------------- |
Matteo Scandolo | d82d1de | 2021-04-06 14:55:58 -0700 | [diff] [blame] | 646 | # VOLTHA Soak Test Job |
| 647 | # This job is triggered by a timer defined in the job |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 648 | # ----------------------------------------------------------------------- |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 649 | - job-template: |
| 650 | name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test' |
| 651 | id: build_voltha_pod_soak_test |
Andrea Campanella | b54cabe | 2020-11-26 14:48:11 +0100 | [diff] [blame] | 652 | disabled: '{disable-job}' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 653 | description: | |
| 654 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 655 | 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] | 656 | Created by (Suchitra Vemuri) <br /> |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 657 | Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 658 | |
| 659 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 660 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 661 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 662 | manifest-branch: 'master' |
| 663 | |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 664 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 665 | timeout: 240 |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 666 | |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 667 | parameters: |
| 668 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 669 | name: timeout |
| 670 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 671 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 672 | |
| 673 | - string: |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 674 | name: buildNode |
| 675 | default: '{build-node}' |
| 676 | description: 'Name of the Jenkins executor node to run the job on' |
| 677 | |
| 678 | - string: |
| 679 | name: TestNodeName |
| 680 | default: '{build-node}' |
| 681 | description: 'DEPRECATED - use buildNode instead' |
| 682 | |
| 683 | - string: |
| 684 | name: cordRepoUrl |
| 685 | default: '{gerrit-server-url}' |
| 686 | description: 'The URL of the CORD Project repository' |
| 687 | |
| 688 | - string: |
| 689 | name: configBaseDir |
| 690 | default: 'pod-configs' |
| 691 | description: 'The directory inside the POD configs repository' |
| 692 | |
| 693 | - string: |
| 694 | name: configDeploymentDir |
| 695 | default: 'deployment-configs' |
| 696 | description: 'The deployment configs folder' |
| 697 | |
| 698 | - string: |
| 699 | name: configKubernetesDir |
| 700 | default: 'kubernetes-configs' |
| 701 | description: 'The kubernetes config folder' |
| 702 | |
| 703 | - string: |
| 704 | name: configToscaDir |
| 705 | default: 'tosca-configs' |
| 706 | description: 'The tosca config folder' |
| 707 | |
| 708 | - string: |
| 709 | name: configFileName |
| 710 | default: '{config-pod}' |
| 711 | description: 'The config file' |
| 712 | |
| 713 | - string: |
| 714 | name: profile |
| 715 | default: '{profile}' |
| 716 | description: 'Technology Profile pushed to the ETCD' |
| 717 | |
| 718 | - string: |
| 719 | name: branch |
| 720 | default: '{branch}' |
| 721 | description: 'Branch of the test libraries to check out' |
| 722 | |
| 723 | - string: |
| 724 | name: manifestUrl |
| 725 | default: '{manifest-url}' |
| 726 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 727 | |
| 728 | - string: |
| 729 | name: manifestBranch |
| 730 | default: '{manifest-branch}' |
| 731 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 732 | |
| 733 | - string: |
| 734 | name: workFlow |
| 735 | default: '{work-flow}' |
| 736 | description: 'Installs and uses the specified work flow on the POD' |
| 737 | |
| 738 | - bool: |
| 739 | name: powerSwitch |
| 740 | default: '{power-switch}' |
| 741 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 742 | |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 743 | - bool: |
| 744 | name: powerCycleOlt |
| 745 | default: '{power-cycle-olt}' |
| 746 | description: "Indicate whether to reboot OLT through power switch" |
| 747 | |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 748 | - string: |
Andrea Campanella | 0d3110c | 2021-01-20 12:25:45 +0100 | [diff] [blame] | 749 | name: oltAdapterAppLabel |
| 750 | default: '{oltAdapterAppLabel}' |
| 751 | description: 'OLT adapter pod name' |
| 752 | |
| 753 | - string: |
Suchitra Vemuri | e662522 | 2020-09-01 17:12:56 -0700 | [diff] [blame] | 754 | name: testType |
| 755 | default: '{test-type}' |
| 756 | description: 'Passes the required test category to the groovy script' |
| 757 | |
Suchitra Vemuri | e3bb90d | 2020-09-15 17:15:50 -0700 | [diff] [blame] | 758 | - string: |
| 759 | name: volthaSystemTestsChange |
| 760 | default: '{volthaSystemTestsChange}' |
| 761 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 762 | |
| 763 | - string: |
| 764 | name: kindVolthaChange |
| 765 | default: '{kindVolthaChange}' |
| 766 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 767 | |
| 768 | - string: |
| 769 | name: cordTesterChange |
| 770 | default: '{cordTesterChange}' |
| 771 | 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] | 772 | |
Suchitra Vemuri | 0921c75 | 2020-08-31 22:58:50 -0700 | [diff] [blame] | 773 | concurrent: true |
| 774 | |
| 775 | project-type: pipeline |
| 776 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 777 | |
| 778 | triggers: |
| 779 | - timed: | |
| 780 | TZ=America/Los_Angeles |
| 781 | {time-trigger} |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 782 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 783 | # ----------------------------------------------------------------------- |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 784 | # VOLTHA Manual Test Job |
| 785 | # This job is triggered manually |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 786 | # ----------------------------------------------------------------------- |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 787 | - job-template: |
| 788 | name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}_manual_test' |
| 789 | id: build_voltha_pod_manual_test |
| 790 | disabled: '{disable-job}' |
| 791 | description: | |
| 792 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br /> |
| 793 | 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] | 794 | Created by (Suchitra Vemuri) <br /> |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 795 | Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Joey Armstrong | 5704e5a | 2022-11-14 12:20:41 -0500 | [diff] [blame] | 796 | |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 797 | <<: *voltha-pipe-job-boiler-plate |
Matteo Scandolo | 5e7bd1d | 2021-07-16 13:29:42 -0700 | [diff] [blame] | 798 | pipeline-script: 'voltha/master/voltha-physical-functional-tests.groovy' |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 799 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 800 | manifest-branch: 'master' |
| 801 | |
| 802 | oltAdapterAppLabel: 'adapter-open-olt' |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 803 | enableMultiUni: false |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 804 | timeout: 240 |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 805 | |
| 806 | parameters: |
| 807 | - string: |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 808 | name: timeout |
| 809 | default: '{timeout}' |
Hardik Windlass | d0f0166 | 2021-09-03 08:07:15 +0000 | [diff] [blame] | 810 | description: 'Job pipeline timeout value [minutes]' |
Hardik Windlass | 9ed7366 | 2021-09-02 11:06:21 +0000 | [diff] [blame] | 811 | |
| 812 | - string: |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 813 | name: buildNode |
| 814 | default: '{build-node}' |
| 815 | description: 'Name of the Jenkins executor node to run the job on' |
| 816 | |
| 817 | - string: |
| 818 | name: TestNodeName |
| 819 | default: '{build-node}' |
| 820 | description: 'DEPRECATED - use buildNode instead' |
| 821 | |
| 822 | - string: |
| 823 | name: cordRepoUrl |
| 824 | default: '{gerrit-server-url}' |
| 825 | description: 'The URL of the CORD Project repository' |
| 826 | |
| 827 | - string: |
| 828 | name: configBaseDir |
| 829 | default: 'pod-configs' |
| 830 | description: 'The directory inside the POD configs repository' |
| 831 | |
| 832 | - string: |
| 833 | name: configDeploymentDir |
| 834 | default: 'deployment-configs' |
| 835 | description: 'The deployment configs folder' |
| 836 | |
| 837 | - string: |
| 838 | name: configKubernetesDir |
| 839 | default: 'kubernetes-configs' |
| 840 | description: 'The kubernetes config folder' |
| 841 | |
| 842 | - string: |
| 843 | name: configToscaDir |
| 844 | default: 'tosca-configs' |
| 845 | description: 'The tosca config folder' |
| 846 | |
| 847 | - string: |
| 848 | name: configFileName |
| 849 | default: '{config-pod}' |
| 850 | description: 'The config file' |
| 851 | |
| 852 | - string: |
| 853 | name: profile |
| 854 | default: '{profile}' |
| 855 | description: 'Technology Profile pushed to the ETCD' |
| 856 | |
| 857 | - string: |
| 858 | name: branch |
| 859 | default: '{branch}' |
| 860 | description: 'Branch of the test libraries to check out' |
| 861 | |
| 862 | - string: |
| 863 | name: manifestUrl |
| 864 | default: '{manifest-url}' |
| 865 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 866 | |
| 867 | - string: |
| 868 | name: manifestBranch |
| 869 | default: '{manifest-branch}' |
| 870 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 871 | |
| 872 | - string: |
| 873 | name: workFlow |
| 874 | default: '{work-flow}' |
| 875 | description: 'Installs and uses the specified work flow on the POD' |
| 876 | |
| 877 | - bool: |
| 878 | name: powerSwitch |
| 879 | default: '{power-switch}' |
| 880 | description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely" |
| 881 | |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 882 | - bool: |
Hardik Windlass | 28a7bd0 | 2022-04-12 13:14:54 +0000 | [diff] [blame] | 883 | name: powerCycleOlt |
| 884 | default: '{power-cycle-olt}' |
| 885 | description: "Indicate whether to reboot OLT through power switch" |
| 886 | |
| 887 | - bool: |
Hardik Windlass | 6598b03 | 2021-07-02 10:12:01 +0000 | [diff] [blame] | 888 | name: enableMultiUni |
| 889 | default: '{enableMultiUni}' |
| 890 | description: "Enables the Multi UNI feature" |
| 891 | |
Hardik Windlass | 77221c6 | 2021-05-21 06:24:35 +0000 | [diff] [blame] | 892 | - string: |
| 893 | name: oltAdapterAppLabel |
| 894 | default: '{oltAdapterAppLabel}' |
| 895 | description: 'OLT adapter pod name' |
| 896 | |
| 897 | - string: |
| 898 | name: testType |
| 899 | default: '{test-type}' |
| 900 | description: 'Passes the required test category to the groovy script' |
| 901 | |
| 902 | - string: |
| 903 | name: volthaSystemTestsChange |
| 904 | default: '{volthaSystemTestsChange}' |
| 905 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 906 | |
| 907 | - string: |
| 908 | name: kindVolthaChange |
| 909 | default: '{kindVolthaChange}' |
| 910 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 911 | |
| 912 | - string: |
| 913 | name: cordTesterChange |
| 914 | default: '{cordTesterChange}' |
| 915 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 916 | concurrent: true |
| 917 | |
| 918 | project-type: pipeline |
| 919 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 920 | |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 921 | # ----------------------------------------------------------------------- |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 922 | # VOLTHA DMI Test Job |
| 923 | # This job is triggered by a timer defined in the job |
Joey Armstrong | 4c6bb42 | 2022-12-02 10:40:21 -0500 | [diff] [blame] | 924 | # ----------------------------------------------------------------------- |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 925 | - job-template: |
| 926 | name: 'verify_{config-pod}_{profile}{name-extension}_voltha_{release}_dmi' |
| 927 | id: verify_voltha_pod_dmi_test |
| 928 | disabled: '{disable-job}' |
| 929 | description: | |
| 930 | Manual Build on POD {config-pod}, using pipeline/{pipeline-script} in {gerrit-server-url}/ci-management' <br /><br /> |
| 931 | 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] | 932 | Created by QA (Suchitra Vemuri) <br /> |
Joey Armstrong | beef4cd | 2023-01-18 09:59:58 -0500 | [diff] [blame] | 933 | Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 934 | |
| 935 | <<: *voltha-pipe-job-boiler-plate |
| 936 | # default values |
| 937 | pipeline-script: 'voltha/master/dmi-build-and-test.groovy' |
Hardik Windlass | 230fca6 | 2022-05-04 08:50:35 +0530 | [diff] [blame] | 938 | installVolthaInfra: true |
| 939 | installVolthaStack: true |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 940 | VolthaEtcdPort: 2379 |
| 941 | num-of-openonu: 1 |
| 942 | num-of-onos: 3 |
| 943 | num-of-atomix: 3 |
| 944 | num-of-kafka: 3 |
| 945 | num-of-etcd: 3 |
| 946 | test-repo: 'voltha-system-tests' |
| 947 | release: 'master' |
| 948 | name-extension: '' |
| 949 | branch: 'master' |
| 950 | configurePod: true |
| 951 | volthaHelmChartsChange: '' |
| 952 | profile: 'Default' |
| 953 | logLevel: 'DEBUG' |
| 954 | enableMultiUni: false |
| 955 | uniPortMask: '0x0001' |
| 956 | bbsimReplicas: 0 |
| 957 | num-of-onus: 0 |
| 958 | num-of-ponports: 0 |
| 959 | extraHelmFlags: '' |
| 960 | dmiChart: '' |
| 961 | OltDevMgr: '' |
| 962 | openoltAdapterChart: onf/voltha-adapter-openolt |
| 963 | oltAdapterReleaseName: open-olt |
| 964 | waitTimerForOltUp: 360 |
| 965 | |
| 966 | parameters: |
| 967 | - string: |
| 968 | name: buildNode |
| 969 | default: '{build-node}' |
| 970 | description: 'Name of the Jenkins executor node to run the job on' |
| 971 | |
| 972 | - string: |
| 973 | name: TestNodeName |
| 974 | default: '{build-node}' |
| 975 | description: 'DEPRECATED - use buildNode instead' |
| 976 | |
| 977 | - string: |
| 978 | name: logLevel |
| 979 | default: '{logLevel}' |
| 980 | description: 'Log level for all the components' |
| 981 | |
| 982 | - string: |
| 983 | name: cordRepoUrl |
| 984 | default: '{gerrit-server-url}' |
| 985 | description: 'The URL of the CORD Project repository' |
| 986 | |
| 987 | - string: |
| 988 | name: configBaseDir |
| 989 | default: 'pod-configs' |
| 990 | description: 'The directory inside the POD configs repository' |
| 991 | |
| 992 | - string: |
| 993 | name: configDeploymentDir |
| 994 | default: 'deployment-configs' |
| 995 | description: 'The deployment configs folder' |
| 996 | |
| 997 | - string: |
| 998 | name: configKubernetesDir |
| 999 | default: 'kubernetes-configs' |
| 1000 | description: 'The kubernetes config folder' |
| 1001 | |
| 1002 | - string: |
| 1003 | name: configToscaDir |
| 1004 | default: 'tosca-configs' |
| 1005 | description: 'The tosca config folder' |
| 1006 | |
| 1007 | - string: |
| 1008 | name: configFileName |
| 1009 | default: '{config-pod}' |
| 1010 | description: 'The config file' |
| 1011 | |
| 1012 | - string: |
| 1013 | name: profile |
| 1014 | default: '{profile}' |
| 1015 | description: 'Technology Profile pushed to the ETCD' |
| 1016 | |
| 1017 | - string: |
| 1018 | name: helmRepoUrl |
| 1019 | default: 'https://charts.opencord.org' |
| 1020 | description: 'URL where helm-charts are published' |
| 1021 | |
| 1022 | - string: |
| 1023 | name: branch |
| 1024 | default: '{branch}' |
| 1025 | |
| 1026 | - string: |
| 1027 | name: workFlow |
| 1028 | default: '{work-flow}' |
| 1029 | description: 'Installs and uses the specified work flow on the POD' |
| 1030 | |
Hardik Windlass | ace19e5 | 2022-02-10 09:36:21 +0000 | [diff] [blame] | 1031 | - bool: |
Hardik Windlass | 230fca6 | 2022-05-04 08:50:35 +0530 | [diff] [blame] | 1032 | name: installVolthaInfra |
| 1033 | default: '{installVolthaInfra}' |
| 1034 | description: "Whether to install VOLTHA Infra" |
| 1035 | |
| 1036 | - bool: |
| 1037 | name: installVolthaStack |
| 1038 | default: '{installVolthaStack}' |
| 1039 | description: "Whether to install VOLTHA Stack" |
Hardik Windlass | ace19e5 | 2022-02-10 09:36:21 +0000 | [diff] [blame] | 1040 | |
Hardik Windlass | 36d5bdb | 2022-02-09 10:13:13 +0000 | [diff] [blame] | 1041 | - string: |
| 1042 | name: extraHelmFlags |
| 1043 | default: '{extraHelmFlags}' |
| 1044 | description: 'Helm flags (passed to each deployment)' |
| 1045 | |
| 1046 | - string: |
| 1047 | name: dmiChart |
| 1048 | default: '{dmiChart}' |
| 1049 | description: 'Device Management Interface Helm Chart' |
| 1050 | |
| 1051 | - string: |
| 1052 | name: OltDevMgr |
| 1053 | default: '{OltDevMgr}' |
| 1054 | description: 'OLT Device Manager App Name' |
| 1055 | |
| 1056 | # openonu-go only supports a single replica, remove after 2.8 |
| 1057 | - string: |
| 1058 | name: NumOfOpenOnu |
| 1059 | default: '{num-of-openonu}' |
| 1060 | description: 'Installs the specified Number of OpenOnu Adapters' |
| 1061 | |
| 1062 | - string: |
| 1063 | name: NumOfOnos |
| 1064 | default: '{num-of-onos}' |
| 1065 | description: 'Installs the specified Number of ONOS instances' |
| 1066 | |
| 1067 | - bool: |
| 1068 | name: enableMultiUni |
| 1069 | default: '{enableMultiUni}' |
| 1070 | description: "Enables the Multi UNI feature" |
| 1071 | |
| 1072 | - string: |
| 1073 | name: uniPortMask |
| 1074 | default: '{uniPortMask}' |
| 1075 | description: 'Open ONU adapter uni_port_mask, used when enableMultiUni is set to True, values: 0x0001-0x00FF' |
| 1076 | |
| 1077 | - string: |
| 1078 | name: bbsimReplicas |
| 1079 | default: '{bbsimReplicas}' |
| 1080 | description: 'Installs the specified Number of BBSim Instances' |
| 1081 | |
| 1082 | - string: |
| 1083 | name: onuNumber |
| 1084 | default: '{num-of-onus}' |
| 1085 | description: "Onus per PonPort" |
| 1086 | |
| 1087 | - string: |
| 1088 | name: ponNumber |
| 1089 | default: '{num-of-ponports}' |
| 1090 | description: "Number of PON Ports" |
| 1091 | |
| 1092 | - string: |
| 1093 | name: NumOfAtomix |
| 1094 | default: '{num-of-atomix}' |
| 1095 | description: 'Installs the specified Number of Atomix Instances' |
| 1096 | |
| 1097 | - string: |
| 1098 | name: NumOfKafka |
| 1099 | default: '{num-of-kafka}' |
| 1100 | description: 'Installs the specified Number of Kafka Instances' |
| 1101 | |
| 1102 | - string: |
| 1103 | name: NumOfEtcd |
| 1104 | default: '{num-of-etcd}' |
| 1105 | description: 'Installs the specified Number of Etcd Instances' |
| 1106 | |
| 1107 | - bool: |
| 1108 | name: configurePod |
| 1109 | default: true |
| 1110 | description: "Configure POD via TOSCA post build" |
| 1111 | |
| 1112 | - bool: |
| 1113 | name: reinstallOlt |
| 1114 | default: '{reinstall-olt}' |
| 1115 | description: "Re-install olt software bringing up CORD" |
| 1116 | |
| 1117 | - bool: |
| 1118 | name: restartOlt |
| 1119 | default: '{restart-olt}' |
| 1120 | description: "Re-install olt software bringing up CORD" |
| 1121 | |
| 1122 | - string: |
| 1123 | name: VolthaEtcdPort |
| 1124 | default: '{VolthaEtcdPort}' |
| 1125 | description: 'Localhost port that is forwarded to VOLTHA etcd' |
| 1126 | |
| 1127 | - bool: |
| 1128 | name: inBandManagement |
| 1129 | default: '{in-band-management}' |
| 1130 | description: 'Indicates whether POD is configured for in band management' |
| 1131 | |
| 1132 | - string: |
| 1133 | name: volthaSystemTestsChange |
| 1134 | default: '{volthaSystemTestsChange}' |
| 1135 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 1136 | |
| 1137 | - string: |
| 1138 | name: volthaHelmChartsChange |
| 1139 | default: '{volthaHelmChartsChange}' |
| 1140 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"' |
| 1141 | |
| 1142 | # this is used in the Adtran DT job |
| 1143 | - string: |
| 1144 | name: openoltAdapterChart |
| 1145 | default: '{openoltAdapterChart}' |
| 1146 | description: 'Olt adapter chart name (or location on file system)' |
| 1147 | |
| 1148 | # this is used in the Adtran DT job |
| 1149 | - string: |
| 1150 | name: oltAdapterReleaseName |
| 1151 | default: '{oltAdapterReleaseName}' |
| 1152 | description: 'Olt adapter release name' |
| 1153 | |
| 1154 | - string: |
| 1155 | name: waitTimerForOltUp |
| 1156 | default: '{waitTimerForOltUp}' |
| 1157 | description: 'Wait timer for the OLT to come up after reboot' |
| 1158 | |
| 1159 | concurrent: true |
| 1160 | project-type: pipeline |
| 1161 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
| 1162 | |
| 1163 | triggers: |
| 1164 | - timed: | |
| 1165 | TZ=America/Los_Angeles |
| 1166 | H {time} * * * |
Joey Armstrong | ca4cb46 | 2023-01-12 17:51:05 -0500 | [diff] [blame] | 1167 | # [EOF] |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 1168 | |
| 1169 | # [EOF] |