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