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