Kailash Khalasi | 417d13f | 2018-04-17 12:38:48 -0700 | [diff] [blame] | 1 | --- |
| 2 | # POD Nightly Build Pipeline Jobs |
| 3 | |
| 4 | - test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate |
| 5 | name: test-pipe-job-boiler-plate |
| 6 | |
| 7 | project-type: pipeline |
| 8 | |
| 9 | sandbox: true |
| 10 | |
| 11 | properties: |
| 12 | - cord-infra-properties: |
| 13 | build-days-to-keep: '{build-days-to-keep}' |
| 14 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 15 | |
Kailash Khalasi | 417d13f | 2018-04-17 12:38:48 -0700 | [diff] [blame] | 16 | |
| 17 | - job-template: |
Kailash Khalasi | e3b9148 | 2018-10-11 08:31:29 -0700 | [diff] [blame] | 18 | name: 'build_{profile}_{config-pod}_{branch}_manual' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 19 | id: build_pod_manual |
| 20 | description: | |
| 21 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 22 | Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br /> |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 23 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 24 | Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br /> |
| 25 | Copyright (c) 2018 Open Networking Foundation (ONF) |
| 26 | |
| 27 | <<: *test-pipe-job-boiler-plate |
| 28 | |
| 29 | parameters: |
| 30 | - string: |
Kailash Khalasi | 7637aeb | 2018-08-23 10:30:09 -0700 | [diff] [blame] | 31 | name: TestNodeName |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 32 | default: '{testvm}' |
| 33 | description: 'Jenkins node name of TestVM Node' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 34 | |
| 35 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 36 | name: cordRepoUrl |
| 37 | default: '{gerrit-server-url}' |
| 38 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 39 | |
| 40 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 41 | name: configBaseDir |
| 42 | default: 'pod-configs' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 43 | description: 'The directory inside the POD configs repository' |
| 44 | |
| 45 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 46 | name: configDeploymentDir |
| 47 | default: 'deployment-configs' |
| 48 | description: 'The deployment configs folder' |
| 49 | |
| 50 | - string: |
| 51 | name: configKubernetesDir |
| 52 | default: 'kubernetes-configs' |
| 53 | description: 'The kubernetes config folder' |
| 54 | |
| 55 | - string: |
Kailash Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 56 | name: configToscaDir |
| 57 | default: 'tosca-configs' |
| 58 | description: 'The tosca config folder' |
| 59 | |
| 60 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 61 | name: configFileName |
| 62 | default: '{config-pod}' |
| 63 | description: 'The config file' |
| 64 | |
| 65 | - string: |
| 66 | name: oltDebVersion |
| 67 | default: '{oltDebVersion}' |
| 68 | description: 'OLT Software version to install' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 69 | |
| 70 | - string: |
| 71 | name: branch |
| 72 | default: '{branch}' |
| 73 | |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 74 | - string: |
Kailash | 876b901 | 2019-03-13 13:22:34 -0700 | [diff] [blame] | 75 | name: helmRepoUrl |
| 76 | default: 'https://charts.opencord.org' |
| 77 | description: 'URL where helm-charts are published' |
| 78 | |
| 79 | - string: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 80 | name: profile |
| 81 | default: '{profile}' |
| 82 | description: 'Profile in which this job installs' |
| 83 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 84 | - string: |
| 85 | name: notificationEmail |
| 86 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 87 | description: '' |
| 88 | |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 89 | - bool: |
Matteo Scandolo | 3812736 | 2019-04-16 14:14:22 -0700 | [diff] [blame] | 90 | name: installMonitoringAndLogging |
| 91 | default: false |
| 92 | description: "Wether to install prometheus and Elk-stack" |
| 93 | |
| 94 | - bool: |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 95 | name: configurePod |
| 96 | default: true |
| 97 | description: "Configure POD via TOSCA post build" |
| 98 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 99 | - bool: |
| 100 | name: reinstallOlt |
| 101 | default: true |
| 102 | description: "Re-install olt software bringing up CORD" |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 103 | |
Matteo Scandolo | fe69a8c | 2018-11-27 11:50:06 -0800 | [diff] [blame] | 104 | - bool: |
| 105 | name: installBBSim |
| 106 | default: false |
| 107 | description: "Install the BBSim container" |
| 108 | |
| 109 | - string: |
| 110 | name: onuNumber |
| 111 | default: '16' |
| 112 | description: "Onus per PonPort" |
| 113 | |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 114 | concurrent: true |
| 115 | |
| 116 | pipeline-scm: |
| 117 | script-path: '{Jenkinsfile}' |
| 118 | scm: |
| 119 | - git: |
Suchitra Vemuri | c2d8d90 | 2019-08-30 13:28:26 -0700 | [diff] [blame] | 120 | url: '{gerrit-server-url}/{test-repo}' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 121 | branches: |
| 122 | - '{branch}' |
| 123 | |
| 124 | - job-template: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 125 | name: 'build_{profile}_{config-pod}_{branch}' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 126 | id: build_pod_timer |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 127 | description: | |
| 128 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 129 | Nightly Kubernetes tests on {config-pod} <br /><br /> |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 130 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 131 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 132 | Copyright (c) 2017 Open Networking Foundation (ONF) |
Kailash | 85b4037 | 2019-08-28 08:51:23 -0700 | [diff] [blame] | 133 | disabled: false |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 134 | |
| 135 | <<: *test-pipe-job-boiler-plate |
| 136 | |
| 137 | parameters: |
| 138 | - string: |
| 139 | name: TestNodeName |
| 140 | default: '{testvm}' |
| 141 | description: 'Jenkins node name of TestVM Node' |
| 142 | |
| 143 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 144 | name: cordRepoUrl |
| 145 | default: '{gerrit-server-url}' |
| 146 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 147 | |
| 148 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 149 | name: configBaseDir |
| 150 | default: 'pod-configs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 151 | description: 'The directory inside the POD configs repository' |
| 152 | |
| 153 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 154 | name: configDeploymentDir |
| 155 | default: 'deployment-configs' |
| 156 | description: 'The deployment configs folder' |
| 157 | |
| 158 | - string: |
| 159 | name: configKubernetesDir |
| 160 | default: 'kubernetes-configs' |
| 161 | description: 'The kubernetes config folder' |
| 162 | |
| 163 | - string: |
Kailash Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 164 | name: configToscaDir |
| 165 | default: 'tosca-configs' |
| 166 | description: 'The tosca config folder' |
| 167 | |
| 168 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 169 | name: configFileName |
| 170 | default: '{config-pod}' |
| 171 | description: 'The config file' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 172 | |
| 173 | - string: |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 174 | name: oltDebVersion |
Kailash Khalasi | bd65941 | 2018-08-28 10:37:05 -0700 | [diff] [blame] | 175 | default: '{oltDebVersion}' |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 176 | description: 'OLT Software version to install' |
| 177 | |
| 178 | - string: |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 179 | name: branch |
| 180 | default: '{branch}' |
| 181 | |
| 182 | - string: |
Kailash | 4c745a1 | 2019-03-15 11:32:07 -0700 | [diff] [blame] | 183 | name: helmRepoUrl |
| 184 | default: 'https://charts.opencord.org' |
| 185 | description: 'URL where helm-charts are published' |
| 186 | |
| 187 | - string: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 188 | name: profile |
| 189 | default: '{profile}' |
| 190 | description: 'Profile in which this job installs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 191 | |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 192 | - bool: |
| 193 | name: configurePod |
| 194 | default: true |
| 195 | description: "Configure POD via TOSCA post build" |
| 196 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 197 | - bool: |
| 198 | name: reinstallOlt |
| 199 | default: true |
| 200 | description: "Re-install olt software bringing up CORD" |
| 201 | |
| 202 | - bool: |
| 203 | name: installBBSim |
| 204 | default: false |
| 205 | description: "Install the BBSim container" |
| 206 | |
| 207 | - string: |
| 208 | name: onuNumber |
| 209 | default: '16' |
| 210 | description: "Onus per PonPort" |
| 211 | |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 212 | - string: |
| 213 | name: notificationEmail |
| 214 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 215 | description: '' |
| 216 | |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 217 | concurrent: true |
| 218 | |
| 219 | pipeline-scm: |
| 220 | script-path: '{Jenkinsfile}' |
| 221 | scm: |
| 222 | - git: |
| 223 | url: '{gerrit-server-url}/cord-tester' |
| 224 | branches: |
| 225 | - '{branch}' |
| 226 | |
| 227 | triggers: |
| 228 | - timed: | |
| 229 | TZ=America/Los_Angeles |
Kailash Khalasi | acd7ea0 | 2018-09-28 13:36:47 -0700 | [diff] [blame] | 230 | H {time} * * * |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 231 | |
| 232 | - job-template: |
| 233 | name: 'build_{profile}_{config-pod}_{branch}_test' |
| 234 | id: build_pod_test |
| 235 | description: | |
| 236 | <!-- Managed by Jenkins Job Builder --> |
| 237 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br /> |
| 238 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 239 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 240 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 241 | |
| 242 | <<: *test-pipe-job-boiler-plate |
| 243 | |
| 244 | parameters: |
| 245 | - string: |
| 246 | name: TestNodeName |
| 247 | default: '{testvm}' |
| 248 | description: 'Jenkins node name of TestVM Node' |
| 249 | |
| 250 | - string: |
| 251 | name: cordRepoUrl |
| 252 | default: '{gerrit-server-url}' |
| 253 | description: 'The URL of the CORD Project repository' |
| 254 | |
| 255 | - string: |
| 256 | name: configBaseDir |
| 257 | default: 'pod-configs' |
| 258 | description: 'The directory inside the POD configs repository' |
| 259 | |
| 260 | - string: |
| 261 | name: configDeploymentDir |
| 262 | default: 'deployment-configs' |
| 263 | description: 'The deployment configs folder' |
| 264 | |
| 265 | - string: |
| 266 | name: configKubernetesDir |
| 267 | default: 'kubernetes-configs' |
| 268 | description: 'The kubernetes config folder' |
| 269 | |
| 270 | - string: |
| 271 | name: configToscaDir |
| 272 | default: 'tosca-configs' |
| 273 | description: 'The tosca config folder' |
| 274 | |
| 275 | - string: |
| 276 | name: configFileName |
| 277 | default: '{config-pod}' |
| 278 | description: 'The config file' |
| 279 | |
| 280 | - string: |
| 281 | name: branch |
| 282 | default: '{branch}' |
| 283 | |
| 284 | - string: |
| 285 | name: notificationEmail |
| 286 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 287 | description: '' |
| 288 | |
| 289 | concurrent: true |
| 290 | |
| 291 | pipeline-scm: |
| 292 | script-path: '{Jenkinsfile}' |
| 293 | scm: |
| 294 | - git: |
Suchitra Vemuri | db39b39 | 2019-08-30 16:58:58 -0700 | [diff] [blame] | 295 | url: '{gerrit-server-url}/{test-repo}' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 296 | branches: |
| 297 | - '{branch}' |
| 298 | |
| 299 | triggers: |
| 300 | - reverse: |
| 301 | jobs: 'build_{profile}_{config-pod}_{branch}' |
| 302 | result: 'success' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 303 | |
| 304 | - job-template: |
| 305 | name: 'build_{profile}_{config-pod}_{branch}_post_actions' |
| 306 | id: post_build_actions |
| 307 | description: | |
| 308 | <!-- Managed by Jenkins Job Builder --> |
| 309 | Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br /> |
| 310 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 311 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 312 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 313 | |
| 314 | <<: *test-pipe-job-boiler-plate |
| 315 | |
| 316 | parameters: |
| 317 | - string: |
| 318 | name: TestNodeName |
| 319 | default: '{testvm}' |
| 320 | description: 'Jenkins node name of TestVM Node' |
| 321 | |
| 322 | - string: |
| 323 | name: cordRepoUrl |
| 324 | default: '{gerrit-server-url}' |
| 325 | description: 'The URL of the CORD Project repository' |
| 326 | |
| 327 | - string: |
| 328 | name: configBaseDir |
| 329 | default: 'pod-configs' |
| 330 | description: 'The directory inside the POD configs repository' |
| 331 | |
| 332 | - string: |
| 333 | name: configDeploymentDir |
| 334 | default: 'deployment-configs' |
| 335 | description: 'The deployment configs folder' |
| 336 | |
| 337 | - string: |
Kailash | c7d9e4e | 2018-11-13 14:48:23 -0800 | [diff] [blame] | 338 | name: configKubernetesDir |
| 339 | default: 'kubernetes-configs' |
| 340 | description: 'The kubernetes config folder' |
| 341 | |
| 342 | - string: |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 343 | name: configFileName |
| 344 | default: '{config-pod}' |
| 345 | description: 'The config file' |
| 346 | |
| 347 | - string: |
| 348 | name: branch |
| 349 | default: '{branch}' |
| 350 | |
| 351 | - string: |
| 352 | name: notificationEmail |
| 353 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 354 | description: '' |
| 355 | |
| 356 | concurrent: true |
| 357 | |
| 358 | pipeline-scm: |
| 359 | script-path: '{Jenkinsfile}' |
| 360 | scm: |
| 361 | - git: |
| 362 | url: '{gerrit-server-url}/cord-tester' |
| 363 | branches: |
| 364 | - '{branch}' |
| 365 | |
| 366 | triggers: |
| 367 | - reverse: |
| 368 | jobs: 'build_{profile}_{config-pod}_{branch}' |
| 369 | result: 'failure' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 370 | |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 371 | - job-template: |
| 372 | name: 'build_{config-pod}_seba_release_{release}' |
| 373 | id: build_pod_manual_release |
| 374 | description: | |
| 375 | <!-- Managed by Jenkins Job Builder --> |
| 376 | Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br /> |
| 377 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 378 | Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br /> |
| 379 | Copyright (c) 2018 Open Networking Foundation (ONF) |
| 380 | |
| 381 | <<: *test-pipe-job-boiler-plate |
| 382 | |
| 383 | parameters: |
| 384 | - string: |
| 385 | name: TestNodeName |
| 386 | default: '{testvm}' |
| 387 | description: 'Jenkins node name of TestVM Node' |
| 388 | |
| 389 | - string: |
| 390 | name: cordRepoUrl |
| 391 | default: '{gerrit-server-url}' |
| 392 | description: 'The URL of the CORD Project repository' |
| 393 | |
| 394 | - string: |
| 395 | name: configBaseDir |
| 396 | default: 'pod-configs' |
| 397 | description: 'The directory inside the POD configs repository' |
| 398 | |
| 399 | - string: |
| 400 | name: configDeploymentDir |
| 401 | default: 'deployment-configs' |
| 402 | description: 'The deployment configs folder' |
| 403 | |
| 404 | - string: |
| 405 | name: configKubernetesDir |
| 406 | default: 'kubernetes-configs' |
| 407 | description: 'The kubernetes config folder' |
| 408 | |
| 409 | - string: |
| 410 | name: configToscaDir |
| 411 | default: 'tosca-configs' |
| 412 | description: 'The tosca config folder' |
| 413 | |
| 414 | - string: |
| 415 | name: configFileName |
| 416 | default: '{config-pod}' |
| 417 | description: 'The config file' |
| 418 | |
| 419 | - string: |
| 420 | name: oltDebVersion |
| 421 | default: '{oltDebVersion}' |
| 422 | description: 'OLT Software version to install' |
| 423 | |
| 424 | - string: |
| 425 | name: branch |
| 426 | default: '{branch}' |
| 427 | |
| 428 | - string: |
| 429 | name: notificationEmail |
| 430 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 431 | description: '' |
| 432 | |
| 433 | - bool: |
| 434 | name: configurePod |
| 435 | default: true |
| 436 | description: "Configure POD via TOSCA post build" |
| 437 | |
| 438 | - bool: |
| 439 | name: reinstallOlt |
| 440 | default: true |
| 441 | description: "Re-install olt software bringing up CORD" |
| 442 | |
| 443 | - bool: |
| 444 | name: installBBSim |
| 445 | default: false |
| 446 | description: "Install the BBSim container" |
| 447 | |
| 448 | - string: |
| 449 | name: onuNumber |
| 450 | default: '16' |
| 451 | description: "Onus per PonPort" |
| 452 | |
| 453 | concurrent: true |
| 454 | |
| 455 | pipeline-scm: |
| 456 | script-path: '{Jenkinsfile}' |
| 457 | scm: |
| 458 | - git: |
| 459 | url: '{gerrit-server-url}/cord-tester' |
| 460 | branches: |
| 461 | - '{branch}' |
| 462 | |
| 463 | - job-template: |
| 464 | name: 'build_{config-pod}_seba_release_{release}' |
| 465 | id: build_pod_release |
| 466 | description: | |
| 467 | <!-- Managed by Jenkins Job Builder --> |
| 468 | Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br /> |
| 469 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 470 | Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br /> |
| 471 | Copyright (c) 2018 Open Networking Foundation (ONF) |
| 472 | |
| 473 | <<: *test-pipe-job-boiler-plate |
| 474 | |
| 475 | parameters: |
| 476 | - string: |
| 477 | name: TestNodeName |
| 478 | default: '{testvm}' |
| 479 | description: 'Jenkins node name of TestVM Node' |
| 480 | |
| 481 | - string: |
| 482 | name: cordRepoUrl |
| 483 | default: '{gerrit-server-url}' |
| 484 | description: 'The URL of the CORD Project repository' |
| 485 | |
| 486 | - string: |
| 487 | name: configBaseDir |
| 488 | default: 'pod-configs' |
| 489 | description: 'The directory inside the POD configs repository' |
| 490 | |
| 491 | - string: |
| 492 | name: configDeploymentDir |
| 493 | default: 'deployment-configs' |
| 494 | description: 'The deployment configs folder' |
| 495 | |
| 496 | - string: |
| 497 | name: configKubernetesDir |
| 498 | default: 'kubernetes-configs' |
| 499 | description: 'The kubernetes config folder' |
| 500 | |
| 501 | - string: |
| 502 | name: configToscaDir |
| 503 | default: 'tosca-configs' |
| 504 | description: 'The tosca config folder' |
| 505 | |
| 506 | - string: |
| 507 | name: configFileName |
| 508 | default: '{config-pod}' |
| 509 | description: 'The config file' |
| 510 | |
| 511 | - string: |
| 512 | name: oltDebVersion |
| 513 | default: '{oltDebVersion}' |
| 514 | description: 'OLT Software version to install' |
| 515 | |
| 516 | - string: |
Kailash | 5f1dd1b | 2019-07-10 10:57:32 -0700 | [diff] [blame] | 517 | name: helmRepoUrl |
| 518 | default: 'https://charts.opencord.org' |
| 519 | description: 'URL where helm-charts are published' |
| 520 | |
| 521 | - string: |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 522 | name: branch |
| 523 | default: '{branch}' |
| 524 | |
| 525 | - string: |
| 526 | name: notificationEmail |
| 527 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 528 | description: '' |
| 529 | |
| 530 | - bool: |
| 531 | name: configurePod |
| 532 | default: true |
| 533 | description: "Configure POD via TOSCA post build" |
| 534 | |
| 535 | - bool: |
| 536 | name: reinstallOlt |
| 537 | default: true |
| 538 | description: "Re-install olt software bringing up CORD" |
| 539 | |
| 540 | - bool: |
| 541 | name: installBBSim |
| 542 | default: false |
| 543 | description: "Install the BBSim container" |
| 544 | |
| 545 | - string: |
| 546 | name: onuNumber |
| 547 | default: '16' |
| 548 | description: "Onus per PonPort" |
| 549 | |
| 550 | concurrent: true |
| 551 | |
| 552 | pipeline-scm: |
| 553 | script-path: '{Jenkinsfile}' |
| 554 | scm: |
| 555 | - git: |
| 556 | url: '{gerrit-server-url}/cord-tester' |
| 557 | branches: |
| 558 | - '{branch}' |
| 559 | |
| 560 | triggers: |
| 561 | - timed: | |
| 562 | TZ=America/Los_Angeles |
| 563 | H {time} * * * |
| 564 | |
| 565 | - job-template: |
| 566 | name: 'build_{config-pod}_seba_release_{release}_test' |
| 567 | id: build_pod_release_test |
| 568 | description: | |
| 569 | <!-- Managed by Jenkins Job Builder --> |
| 570 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br /> |
| 571 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 572 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 573 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 574 | |
| 575 | <<: *test-pipe-job-boiler-plate |
| 576 | |
| 577 | parameters: |
| 578 | - string: |
| 579 | name: TestNodeName |
| 580 | default: '{testvm}' |
| 581 | description: 'Jenkins node name of TestVM Node' |
| 582 | |
| 583 | - string: |
| 584 | name: cordRepoUrl |
| 585 | default: '{gerrit-server-url}' |
| 586 | description: 'The URL of the CORD Project repository' |
| 587 | |
| 588 | - string: |
| 589 | name: configBaseDir |
| 590 | default: 'pod-configs' |
| 591 | description: 'The directory inside the POD configs repository' |
| 592 | |
| 593 | - string: |
| 594 | name: configDeploymentDir |
| 595 | default: 'deployment-configs' |
| 596 | description: 'The deployment configs folder' |
| 597 | |
| 598 | - string: |
| 599 | name: configKubernetesDir |
| 600 | default: 'kubernetes-configs' |
| 601 | description: 'The kubernetes config folder' |
| 602 | |
| 603 | - string: |
| 604 | name: configToscaDir |
| 605 | default: 'tosca-configs' |
| 606 | description: 'The tosca config folder' |
| 607 | |
| 608 | - string: |
| 609 | name: configFileName |
| 610 | default: '{config-pod}' |
| 611 | description: 'The config file' |
| 612 | |
| 613 | - string: |
| 614 | name: branch |
| 615 | default: '{branch}' |
| 616 | |
| 617 | - string: |
| 618 | name: notificationEmail |
| 619 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 620 | description: '' |
| 621 | |
| 622 | concurrent: true |
| 623 | |
| 624 | pipeline-scm: |
| 625 | script-path: '{Jenkinsfile}' |
| 626 | scm: |
| 627 | - git: |
| 628 | url: '{gerrit-server-url}/cord-tester' |
| 629 | branches: |
| 630 | - '{branch}' |
| 631 | |
| 632 | triggers: |
| 633 | - reverse: |
| 634 | jobs: 'build_{config-pod}_seba_release_{release}' |
| 635 | result: 'success' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 636 | |
| 637 | |
| 638 | - job-template: |
| 639 | name: 'build_{config-pod}_seba_release_{release}_microcharts_test' |
| 640 | id: build_pod_release_test_microcharts |
| 641 | description: | |
| 642 | <!-- Managed by Jenkins Job Builder --> |
| 643 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br /> |
| 644 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 645 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 646 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 647 | |
| 648 | <<: *test-pipe-job-boiler-plate |
| 649 | |
| 650 | parameters: |
| 651 | - string: |
| 652 | name: TestNodeName |
| 653 | default: '{testvm}' |
| 654 | description: 'Jenkins node name of TestVM Node' |
| 655 | |
| 656 | - string: |
| 657 | name: cordRepoUrl |
| 658 | default: '{gerrit-server-url}' |
| 659 | description: 'The URL of the CORD Project repository' |
| 660 | |
| 661 | - string: |
| 662 | name: configBaseDir |
| 663 | default: 'pod-configs' |
| 664 | description: 'The directory inside the POD configs repository' |
| 665 | |
| 666 | - string: |
| 667 | name: configDeploymentDir |
| 668 | default: 'deployment-configs' |
| 669 | description: 'The deployment configs folder' |
| 670 | |
| 671 | - string: |
| 672 | name: configKubernetesDir |
| 673 | default: 'kubernetes-configs' |
| 674 | description: 'The kubernetes config folder' |
| 675 | |
| 676 | - string: |
| 677 | name: configToscaDir |
| 678 | default: 'tosca-configs' |
| 679 | description: 'The tosca config folder' |
| 680 | |
| 681 | - string: |
| 682 | name: configFileName |
| 683 | default: '{config-pod}' |
| 684 | description: 'The config file' |
| 685 | |
| 686 | - string: |
| 687 | name: branch |
| 688 | default: '{branch}' |
| 689 | |
| 690 | - string: |
| 691 | name: notificationEmail |
| 692 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 693 | description: '' |
| 694 | |
| 695 | concurrent: true |
| 696 | |
| 697 | pipeline-scm: |
| 698 | script-path: '{Jenkinsfile}' |
| 699 | scm: |
| 700 | - git: |
| 701 | url: '{gerrit-server-url}/cord-tester' |
| 702 | branches: |
| 703 | - '{branch}' |
| 704 | |
| 705 | triggers: |
| 706 | - reverse: |
| 707 | jobs: 'build_{config-pod}_seba_release_{release}_microcharts' |
| 708 | result: 'success' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 709 | |
| 710 | |
| 711 | - job-template: |
Kailash | d22f91f | 2019-02-14 08:52:52 -0800 | [diff] [blame] | 712 | name: 'build_{config-pod}' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 713 | id: build_mcord_pod_manual |
| 714 | description: | |
| 715 | <!-- Managed by Jenkins Job Builder --> |
| 716 | Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br /> |
| 717 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
| 718 | Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br /> |
| 719 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 720 | |
| 721 | <<: *test-pipe-job-boiler-plate |
| 722 | |
| 723 | parameters: |
| 724 | - string: |
| 725 | name: TestNodeName |
| 726 | default: '{testvm}' |
| 727 | description: 'Jenkins node name of TestVM Node' |
| 728 | |
| 729 | - string: |
| 730 | name: cordRepoUrl |
| 731 | default: '{gerrit-server-url}' |
| 732 | description: 'The URL of the CORD Project repository' |
| 733 | |
| 734 | - string: |
| 735 | name: configBaseDir |
| 736 | default: 'pod-configs' |
| 737 | description: 'The directory inside the POD configs repository' |
| 738 | |
| 739 | - string: |
| 740 | name: configDeploymentDir |
| 741 | default: 'deployment-configs' |
| 742 | description: 'The deployment configs folder' |
| 743 | |
| 744 | - string: |
| 745 | name: configKubernetesDir |
| 746 | default: 'kubernetes-configs' |
| 747 | description: 'The kubernetes config folder' |
| 748 | |
| 749 | - string: |
| 750 | name: configToscaDir |
| 751 | default: 'tosca-configs' |
| 752 | description: 'The tosca config folder' |
| 753 | |
| 754 | - string: |
| 755 | name: configFileName |
| 756 | default: '{config-pod}' |
| 757 | description: 'The config file' |
| 758 | |
| 759 | - string: |
| 760 | name: branch |
| 761 | default: '{branch}' |
| 762 | |
| 763 | - string: |
| 764 | name: profile |
| 765 | default: '{profile}' |
| 766 | description: 'Profile in which this job installs' |
| 767 | |
| 768 | - string: |
| 769 | name: notificationEmail |
| 770 | default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org' |
| 771 | description: '' |
| 772 | |
| 773 | - bool: |
| 774 | name: configurePod |
Matteo Scandolo | a9b416e | 2019-01-24 15:21:07 -0800 | [diff] [blame] | 775 | default: true |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 776 | description: "Configure POD via TOSCA post build" |
| 777 | |
Matteo Scandolo | a679189 | 2019-01-25 15:46:03 -0800 | [diff] [blame] | 778 | - bool: |
| 779 | name: installEpcControlPlane |
| 780 | default: true |
| 781 | description: "Install the EPC control plane" |
| 782 | |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 783 | concurrent: true |
| 784 | |
| 785 | pipeline-scm: |
| 786 | script-path: '{Jenkinsfile}' |
| 787 | scm: |
| 788 | - git: |
| 789 | url: '{gerrit-server-url}/cord-tester' |
| 790 | branches: |
| 791 | - '{branch}' |