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: |
| 75 | name: profile |
| 76 | default: '{profile}' |
| 77 | description: 'Profile in which this job installs' |
| 78 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 79 | - string: |
| 80 | name: notificationEmail |
| 81 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 82 | description: '' |
| 83 | |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 84 | - bool: |
| 85 | name: configurePod |
| 86 | default: true |
| 87 | description: "Configure POD via TOSCA post build" |
| 88 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 89 | - bool: |
| 90 | name: reinstallOlt |
| 91 | default: true |
| 92 | description: "Re-install olt software bringing up CORD" |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 93 | |
Matteo Scandolo | fe69a8c | 2018-11-27 11:50:06 -0800 | [diff] [blame] | 94 | - bool: |
| 95 | name: installBBSim |
| 96 | default: false |
| 97 | description: "Install the BBSim container" |
| 98 | |
| 99 | - string: |
| 100 | name: onuNumber |
| 101 | default: '16' |
| 102 | description: "Onus per PonPort" |
| 103 | |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 104 | concurrent: true |
| 105 | |
| 106 | pipeline-scm: |
| 107 | script-path: '{Jenkinsfile}' |
| 108 | scm: |
| 109 | - git: |
Kailash Khalasi | 7637aeb | 2018-08-23 10:30:09 -0700 | [diff] [blame] | 110 | url: '{gerrit-server-url}/cord-tester' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 111 | branches: |
| 112 | - '{branch}' |
| 113 | |
| 114 | - job-template: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 115 | name: 'build_{profile}_{config-pod}_{branch}' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 116 | id: build_pod_timer |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 117 | description: | |
| 118 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 119 | Nightly Kubernetes tests on {config-pod} <br /><br /> |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 120 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 121 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 122 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 123 | |
| 124 | <<: *test-pipe-job-boiler-plate |
| 125 | |
| 126 | parameters: |
| 127 | - string: |
| 128 | name: TestNodeName |
| 129 | default: '{testvm}' |
| 130 | description: 'Jenkins node name of TestVM Node' |
| 131 | |
| 132 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 133 | name: cordRepoUrl |
| 134 | default: '{gerrit-server-url}' |
| 135 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 136 | |
| 137 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 138 | name: configBaseDir |
| 139 | default: 'pod-configs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 140 | description: 'The directory inside the POD configs repository' |
| 141 | |
| 142 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 143 | name: configDeploymentDir |
| 144 | default: 'deployment-configs' |
| 145 | description: 'The deployment configs folder' |
| 146 | |
| 147 | - string: |
| 148 | name: configKubernetesDir |
| 149 | default: 'kubernetes-configs' |
| 150 | description: 'The kubernetes config folder' |
| 151 | |
| 152 | - string: |
Kailash Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 153 | name: configToscaDir |
| 154 | default: 'tosca-configs' |
| 155 | description: 'The tosca config folder' |
| 156 | |
| 157 | - string: |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 158 | name: configFileName |
| 159 | default: '{config-pod}' |
| 160 | description: 'The config file' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 161 | |
| 162 | - string: |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 163 | name: oltDebVersion |
Kailash Khalasi | bd65941 | 2018-08-28 10:37:05 -0700 | [diff] [blame] | 164 | default: '{oltDebVersion}' |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 165 | description: 'OLT Software version to install' |
| 166 | |
| 167 | - string: |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 168 | name: branch |
| 169 | default: '{branch}' |
| 170 | |
| 171 | - string: |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 172 | name: profile |
| 173 | default: '{profile}' |
| 174 | description: 'Profile in which this job installs' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 175 | |
Kailash Khalasi | ce9eaec | 2018-09-14 12:01:56 -0700 | [diff] [blame] | 176 | - bool: |
| 177 | name: configurePod |
| 178 | default: true |
| 179 | description: "Configure POD via TOSCA post build" |
| 180 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 181 | - bool: |
| 182 | name: reinstallOlt |
| 183 | default: true |
| 184 | description: "Re-install olt software bringing up CORD" |
| 185 | |
| 186 | - bool: |
| 187 | name: installBBSim |
| 188 | default: false |
| 189 | description: "Install the BBSim container" |
| 190 | |
| 191 | - string: |
| 192 | name: onuNumber |
| 193 | default: '16' |
| 194 | description: "Onus per PonPort" |
| 195 | |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 196 | - string: |
| 197 | name: notificationEmail |
| 198 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 199 | description: '' |
| 200 | |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 201 | concurrent: true |
| 202 | |
| 203 | pipeline-scm: |
| 204 | script-path: '{Jenkinsfile}' |
| 205 | scm: |
| 206 | - git: |
| 207 | url: '{gerrit-server-url}/cord-tester' |
| 208 | branches: |
| 209 | - '{branch}' |
| 210 | |
| 211 | triggers: |
| 212 | - timed: | |
| 213 | TZ=America/Los_Angeles |
Kailash Khalasi | acd7ea0 | 2018-09-28 13:36:47 -0700 | [diff] [blame] | 214 | H {time} * * * |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 215 | |
| 216 | - job-template: |
| 217 | name: 'build_{profile}_{config-pod}_{branch}_test' |
| 218 | id: build_pod_test |
| 219 | description: | |
| 220 | <!-- Managed by Jenkins Job Builder --> |
| 221 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br /> |
| 222 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 223 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 224 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 225 | |
| 226 | <<: *test-pipe-job-boiler-plate |
| 227 | |
| 228 | parameters: |
| 229 | - string: |
| 230 | name: TestNodeName |
| 231 | default: '{testvm}' |
| 232 | description: 'Jenkins node name of TestVM Node' |
| 233 | |
| 234 | - string: |
| 235 | name: cordRepoUrl |
| 236 | default: '{gerrit-server-url}' |
| 237 | description: 'The URL of the CORD Project repository' |
| 238 | |
| 239 | - string: |
| 240 | name: configBaseDir |
| 241 | default: 'pod-configs' |
| 242 | description: 'The directory inside the POD configs repository' |
| 243 | |
| 244 | - string: |
| 245 | name: configDeploymentDir |
| 246 | default: 'deployment-configs' |
| 247 | description: 'The deployment configs folder' |
| 248 | |
| 249 | - string: |
| 250 | name: configKubernetesDir |
| 251 | default: 'kubernetes-configs' |
| 252 | description: 'The kubernetes config folder' |
| 253 | |
| 254 | - string: |
| 255 | name: configToscaDir |
| 256 | default: 'tosca-configs' |
| 257 | description: 'The tosca config folder' |
| 258 | |
| 259 | - string: |
| 260 | name: configFileName |
| 261 | default: '{config-pod}' |
| 262 | description: 'The config file' |
| 263 | |
| 264 | - string: |
| 265 | name: branch |
| 266 | default: '{branch}' |
| 267 | |
| 268 | - string: |
| 269 | name: notificationEmail |
| 270 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 271 | description: '' |
| 272 | |
| 273 | concurrent: true |
| 274 | |
| 275 | pipeline-scm: |
| 276 | script-path: '{Jenkinsfile}' |
| 277 | scm: |
| 278 | - git: |
| 279 | url: '{gerrit-server-url}/cord-tester' |
| 280 | branches: |
| 281 | - '{branch}' |
| 282 | |
| 283 | triggers: |
| 284 | - reverse: |
| 285 | jobs: 'build_{profile}_{config-pod}_{branch}' |
| 286 | result: 'success' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 287 | |
| 288 | - job-template: |
| 289 | name: 'build_{profile}_{config-pod}_{branch}_post_actions' |
| 290 | id: post_build_actions |
| 291 | description: | |
| 292 | <!-- Managed by Jenkins Job Builder --> |
| 293 | Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br /> |
| 294 | Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br /> |
| 295 | Created by Kailash Khalasi - kailash@opennetworking.org <br /> |
| 296 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 297 | |
| 298 | <<: *test-pipe-job-boiler-plate |
| 299 | |
| 300 | parameters: |
| 301 | - string: |
| 302 | name: TestNodeName |
| 303 | default: '{testvm}' |
| 304 | description: 'Jenkins node name of TestVM Node' |
| 305 | |
| 306 | - string: |
| 307 | name: cordRepoUrl |
| 308 | default: '{gerrit-server-url}' |
| 309 | description: 'The URL of the CORD Project repository' |
| 310 | |
| 311 | - string: |
| 312 | name: configBaseDir |
| 313 | default: 'pod-configs' |
| 314 | description: 'The directory inside the POD configs repository' |
| 315 | |
| 316 | - string: |
| 317 | name: configDeploymentDir |
| 318 | default: 'deployment-configs' |
| 319 | description: 'The deployment configs folder' |
| 320 | |
| 321 | - string: |
Kailash | c7d9e4e | 2018-11-13 14:48:23 -0800 | [diff] [blame] | 322 | name: configKubernetesDir |
| 323 | default: 'kubernetes-configs' |
| 324 | description: 'The kubernetes config folder' |
| 325 | |
| 326 | - string: |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 327 | name: configFileName |
| 328 | default: '{config-pod}' |
| 329 | description: 'The config file' |
| 330 | |
| 331 | - string: |
| 332 | name: branch |
| 333 | default: '{branch}' |
| 334 | |
| 335 | - string: |
| 336 | name: notificationEmail |
| 337 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 338 | description: '' |
| 339 | |
| 340 | concurrent: true |
| 341 | |
| 342 | pipeline-scm: |
| 343 | script-path: '{Jenkinsfile}' |
| 344 | scm: |
| 345 | - git: |
| 346 | url: '{gerrit-server-url}/cord-tester' |
| 347 | branches: |
| 348 | - '{branch}' |
| 349 | |
| 350 | triggers: |
| 351 | - reverse: |
| 352 | jobs: 'build_{profile}_{config-pod}_{branch}' |
| 353 | result: 'failure' |