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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 23 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 31 | name: TestNodeName |
| 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 41 | name: configBaseDir |
| 42 | default: 'pod-configs' |
| 43 | description: 'The directory inside the POD configs repository' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 44 | |
| 45 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 46 | name: configDeploymentDir |
| 47 | default: 'deployment-configs' |
| 48 | description: 'The deployment configs folder' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 49 | |
| 50 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 51 | name: configKubernetesDir |
| 52 | default: 'kubernetes-configs' |
| 53 | description: 'The kubernetes config folder' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 54 | |
| 55 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 56 | name: configToscaDir |
| 57 | default: 'tosca-configs' |
| 58 | description: 'The tosca config folder' |
Kailash Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 59 | |
| 60 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 61 | name: configFileName |
| 62 | default: '{config-pod}' |
| 63 | description: 'The config file' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 64 | |
| 65 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 71 | name: branch |
| 72 | default: '{branch}' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 73 | |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 74 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 75 | name: helmRepoUrl |
| 76 | default: 'https://charts.opencord.org' |
| 77 | description: 'URL where helm-charts are published' |
Kailash | 876b901 | 2019-03-13 13:22:34 -0700 | [diff] [blame] | 78 | |
| 79 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 80 | name: profile |
| 81 | default: '{profile}' |
| 82 | description: 'Profile in which this job installs' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 83 | |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 84 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 85 | name: notificationEmail |
| 86 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 87 | description: '' |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 120 | url: '{gerrit-server-url}/{test-repo}' |
| 121 | branches: |
| 122 | - '{branch}' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 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 | 917aa61 | 2019-09-23 19:35:31 -0700 | [diff] [blame] | 130 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 139 | name: TestNodeName |
| 140 | default: '{testvm}' |
| 141 | description: 'Jenkins node name of TestVM Node' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 142 | |
| 143 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 149 | name: configBaseDir |
| 150 | default: 'pod-configs' |
| 151 | description: 'The directory inside the POD configs repository' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 152 | |
| 153 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 154 | name: configDeploymentDir |
| 155 | default: 'deployment-configs' |
| 156 | description: 'The deployment configs folder' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 157 | |
| 158 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 159 | name: configKubernetesDir |
| 160 | default: 'kubernetes-configs' |
| 161 | description: 'The kubernetes config folder' |
Kailash Khalasi | 2eacfc5 | 2018-08-29 09:03:21 -0700 | [diff] [blame] | 162 | |
| 163 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 164 | name: configToscaDir |
| 165 | default: 'tosca-configs' |
| 166 | description: 'The tosca config folder' |
Kailash Khalasi | 619e688 | 2018-09-13 13:15:37 -0700 | [diff] [blame] | 167 | |
| 168 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 174 | name: oltDebVersion |
| 175 | default: '{oltDebVersion}' |
| 176 | description: 'OLT Software version to install' |
Kailash Khalasi | d9e6aff | 2018-08-27 15:10:16 -0700 | [diff] [blame] | 177 | |
| 178 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 179 | name: branch |
| 180 | default: '{branch}' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 181 | |
| 182 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 183 | name: helmRepoUrl |
| 184 | default: 'https://charts.opencord.org' |
| 185 | description: 'URL where helm-charts are published' |
Kailash | 4c745a1 | 2019-03-15 11:32:07 -0700 | [diff] [blame] | 186 | |
| 187 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 198 | name: reinstallOlt |
| 199 | default: true |
| 200 | description: "Re-install olt software bringing up CORD" |
Kailash | dee47a0 | 2018-11-29 08:46:32 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 213 | name: notificationEmail |
| 214 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 215 | description: '' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 223 | url: '{gerrit-server-url}/{test-repo}' |
| 224 | branches: |
| 225 | - '{branch}' |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 226 | |
| 227 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 228 | - timed: | |
Suchitra Vemuri | cbb295e | 2018-06-01 18:48:30 -0700 | [diff] [blame] | 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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 238 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 246 | name: TestNodeName |
| 247 | default: '{testvm}' |
| 248 | description: 'Jenkins node name of TestVM Node' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 249 | |
| 250 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 251 | name: cordRepoUrl |
| 252 | default: '{gerrit-server-url}' |
| 253 | description: 'The URL of the CORD Project repository' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 254 | |
| 255 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 256 | name: configBaseDir |
| 257 | default: 'pod-configs' |
| 258 | description: 'The directory inside the POD configs repository' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 259 | |
| 260 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 261 | name: configDeploymentDir |
| 262 | default: 'deployment-configs' |
| 263 | description: 'The deployment configs folder' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 264 | |
| 265 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 266 | name: configKubernetesDir |
| 267 | default: 'kubernetes-configs' |
| 268 | description: 'The kubernetes config folder' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 269 | |
| 270 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 271 | name: configToscaDir |
| 272 | default: 'tosca-configs' |
| 273 | description: 'The tosca config folder' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 274 | |
| 275 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 276 | name: configFileName |
| 277 | default: '{config-pod}' |
| 278 | description: 'The config file' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 279 | |
| 280 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 281 | name: branch |
| 282 | default: '{branch}' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 283 | |
| 284 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 285 | name: notificationEmail |
| 286 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 287 | description: '' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 288 | |
| 289 | concurrent: true |
| 290 | |
| 291 | pipeline-scm: |
| 292 | script-path: '{Jenkinsfile}' |
| 293 | scm: |
| 294 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 295 | url: '{gerrit-server-url}/{test-repo}' |
| 296 | branches: |
| 297 | - '{branch}' |
Kailash Khalasi | 9559f36 | 2018-09-14 13:53:28 -0700 | [diff] [blame] | 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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 310 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 318 | name: TestNodeName |
| 319 | default: '{testvm}' |
| 320 | description: 'Jenkins node name of TestVM Node' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 321 | |
| 322 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 323 | name: cordRepoUrl |
| 324 | default: '{gerrit-server-url}' |
| 325 | description: 'The URL of the CORD Project repository' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 326 | |
| 327 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 328 | name: configBaseDir |
| 329 | default: 'pod-configs' |
| 330 | description: 'The directory inside the POD configs repository' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 331 | |
| 332 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 333 | name: configDeploymentDir |
| 334 | default: 'deployment-configs' |
| 335 | description: 'The deployment configs folder' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 336 | |
| 337 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 338 | name: configKubernetesDir |
| 339 | default: 'kubernetes-configs' |
| 340 | description: 'The kubernetes config folder' |
Kailash | c7d9e4e | 2018-11-13 14:48:23 -0800 | [diff] [blame] | 341 | |
| 342 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 343 | name: configFileName |
| 344 | default: '{config-pod}' |
| 345 | description: 'The config file' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 346 | |
| 347 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 348 | name: branch |
| 349 | default: '{branch}' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 350 | |
| 351 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 352 | name: notificationEmail |
| 353 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 354 | description: '' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 355 | |
| 356 | concurrent: true |
| 357 | |
| 358 | pipeline-scm: |
| 359 | script-path: '{Jenkinsfile}' |
| 360 | scm: |
| 361 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 362 | url: '{gerrit-server-url}/cord-tester' |
| 363 | branches: |
| 364 | - '{branch}' |
Kailash Khalasi | 4de32fe | 2018-11-12 13:31:39 -0800 | [diff] [blame] | 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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 377 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 385 | name: TestNodeName |
| 386 | default: '{testvm}' |
| 387 | description: 'Jenkins node name of TestVM Node' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 388 | |
| 389 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 390 | name: cordRepoUrl |
| 391 | default: '{gerrit-server-url}' |
| 392 | description: 'The URL of the CORD Project repository' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 393 | |
| 394 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 395 | name: configBaseDir |
| 396 | default: 'pod-configs' |
| 397 | description: 'The directory inside the POD configs repository' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 398 | |
| 399 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 400 | name: configDeploymentDir |
| 401 | default: 'deployment-configs' |
| 402 | description: 'The deployment configs folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 403 | |
| 404 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 405 | name: configKubernetesDir |
| 406 | default: 'kubernetes-configs' |
| 407 | description: 'The kubernetes config folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 408 | |
| 409 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 410 | name: configToscaDir |
| 411 | default: 'tosca-configs' |
| 412 | description: 'The tosca config folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 413 | |
| 414 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 415 | name: configFileName |
| 416 | default: '{config-pod}' |
| 417 | description: 'The config file' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 418 | |
| 419 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 420 | name: oltDebVersion |
| 421 | default: '{oltDebVersion}' |
| 422 | description: 'OLT Software version to install' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 423 | |
| 424 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 425 | name: branch |
| 426 | default: '{branch}' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 427 | |
| 428 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 429 | name: notificationEmail |
| 430 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 431 | description: '' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 432 | |
| 433 | - bool: |
| 434 | name: configurePod |
| 435 | default: true |
| 436 | description: "Configure POD via TOSCA post build" |
| 437 | |
| 438 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 439 | name: reinstallOlt |
| 440 | default: true |
| 441 | description: "Re-install olt software bringing up CORD" |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 459 | url: '{gerrit-server-url}/cord-tester' |
| 460 | branches: |
| 461 | - '{branch}' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 469 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 477 | name: TestNodeName |
| 478 | default: '{testvm}' |
| 479 | description: 'Jenkins node name of TestVM Node' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 480 | |
| 481 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 482 | name: cordRepoUrl |
| 483 | default: '{gerrit-server-url}' |
| 484 | description: 'The URL of the CORD Project repository' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 485 | |
| 486 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 487 | name: configBaseDir |
| 488 | default: 'pod-configs' |
| 489 | description: 'The directory inside the POD configs repository' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 490 | |
| 491 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 492 | name: configDeploymentDir |
| 493 | default: 'deployment-configs' |
| 494 | description: 'The deployment configs folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 495 | |
| 496 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 497 | name: configKubernetesDir |
| 498 | default: 'kubernetes-configs' |
| 499 | description: 'The kubernetes config folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 500 | |
| 501 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 502 | name: configToscaDir |
| 503 | default: 'tosca-configs' |
| 504 | description: 'The tosca config folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 505 | |
| 506 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 507 | name: configFileName |
| 508 | default: '{config-pod}' |
| 509 | description: 'The config file' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 510 | |
| 511 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 512 | name: oltDebVersion |
| 513 | default: '{oltDebVersion}' |
| 514 | description: 'OLT Software version to install' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 515 | |
| 516 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 517 | name: helmRepoUrl |
| 518 | default: 'https://charts.opencord.org' |
| 519 | description: 'URL where helm-charts are published' |
Kailash | 5f1dd1b | 2019-07-10 10:57:32 -0700 | [diff] [blame] | 520 | |
| 521 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 522 | name: branch |
| 523 | default: '{branch}' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 524 | |
| 525 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 526 | name: notificationEmail |
| 527 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 528 | description: '' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 529 | |
| 530 | - bool: |
| 531 | name: configurePod |
| 532 | default: true |
| 533 | description: "Configure POD via TOSCA post build" |
| 534 | |
| 535 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 536 | name: reinstallOlt |
| 537 | default: true |
| 538 | description: "Re-install olt software bringing up CORD" |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 556 | url: '{gerrit-server-url}/cord-tester' |
| 557 | branches: |
| 558 | - '{branch}' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 559 | |
| 560 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 561 | - timed: | |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 571 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 579 | name: TestNodeName |
| 580 | default: '{testvm}' |
| 581 | description: 'Jenkins node name of TestVM Node' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 582 | |
| 583 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 584 | name: cordRepoUrl |
| 585 | default: '{gerrit-server-url}' |
| 586 | description: 'The URL of the CORD Project repository' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 587 | |
| 588 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 589 | name: configBaseDir |
| 590 | default: 'pod-configs' |
| 591 | description: 'The directory inside the POD configs repository' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 592 | |
| 593 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 594 | name: configDeploymentDir |
| 595 | default: 'deployment-configs' |
| 596 | description: 'The deployment configs folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 597 | |
| 598 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 599 | name: configKubernetesDir |
| 600 | default: 'kubernetes-configs' |
| 601 | description: 'The kubernetes config folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 602 | |
| 603 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 604 | name: configToscaDir |
| 605 | default: 'tosca-configs' |
| 606 | description: 'The tosca config folder' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 607 | |
| 608 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 609 | name: configFileName |
| 610 | default: '{config-pod}' |
| 611 | description: 'The config file' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 612 | |
| 613 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 614 | name: branch |
| 615 | default: '{branch}' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 616 | |
| 617 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 618 | name: notificationEmail |
| 619 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 620 | description: '' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 621 | |
| 622 | concurrent: true |
| 623 | |
| 624 | pipeline-scm: |
| 625 | script-path: '{Jenkinsfile}' |
| 626 | scm: |
| 627 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 628 | url: '{gerrit-server-url}/cord-tester' |
| 629 | branches: |
| 630 | - '{branch}' |
Kailash | d1963d1 | 2018-12-17 15:11:01 -0800 | [diff] [blame] | 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 /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 644 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 652 | name: TestNodeName |
| 653 | default: '{testvm}' |
| 654 | description: 'Jenkins node name of TestVM Node' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 655 | |
| 656 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 657 | name: cordRepoUrl |
| 658 | default: '{gerrit-server-url}' |
| 659 | description: 'The URL of the CORD Project repository' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 660 | |
| 661 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 662 | name: configBaseDir |
| 663 | default: 'pod-configs' |
| 664 | description: 'The directory inside the POD configs repository' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 665 | |
| 666 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 667 | name: configDeploymentDir |
| 668 | default: 'deployment-configs' |
| 669 | description: 'The deployment configs folder' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 670 | |
| 671 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 672 | name: configKubernetesDir |
| 673 | default: 'kubernetes-configs' |
| 674 | description: 'The kubernetes config folder' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 675 | |
| 676 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 677 | name: configToscaDir |
| 678 | default: 'tosca-configs' |
| 679 | description: 'The tosca config folder' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 680 | |
| 681 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 682 | name: configFileName |
| 683 | default: '{config-pod}' |
| 684 | description: 'The config file' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 685 | |
| 686 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 687 | name: branch |
| 688 | default: '{branch}' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 689 | |
| 690 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 691 | name: notificationEmail |
| 692 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 693 | description: '' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 694 | |
| 695 | concurrent: true |
| 696 | |
| 697 | pipeline-scm: |
| 698 | script-path: '{Jenkinsfile}' |
| 699 | scm: |
| 700 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 701 | url: '{gerrit-server-url}/cord-tester' |
| 702 | branches: |
| 703 | - '{branch}' |
Kailash | 5b1a161 | 2018-12-21 15:17:21 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 725 | name: TestNodeName |
| 726 | default: '{testvm}' |
| 727 | description: 'Jenkins node name of TestVM Node' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 728 | |
| 729 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 730 | name: cordRepoUrl |
| 731 | default: '{gerrit-server-url}' |
| 732 | description: 'The URL of the CORD Project repository' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 733 | |
| 734 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 735 | name: configBaseDir |
| 736 | default: 'pod-configs' |
| 737 | description: 'The directory inside the POD configs repository' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 738 | |
| 739 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 740 | name: configDeploymentDir |
| 741 | default: 'deployment-configs' |
| 742 | description: 'The deployment configs folder' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 743 | |
| 744 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 745 | name: configKubernetesDir |
| 746 | default: 'kubernetes-configs' |
| 747 | description: 'The kubernetes config folder' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 748 | |
| 749 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 750 | name: configToscaDir |
| 751 | default: 'tosca-configs' |
| 752 | description: 'The tosca config folder' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 753 | |
| 754 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 755 | name: configFileName |
| 756 | default: '{config-pod}' |
| 757 | description: 'The config file' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 758 | |
| 759 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 760 | name: branch |
| 761 | default: '{branch}' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 762 | |
| 763 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 764 | name: profile |
| 765 | default: '{profile}' |
| 766 | description: 'Profile in which this job installs' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 767 | |
| 768 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 769 | name: notificationEmail |
| 770 | default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org' |
| 771 | description: '' |
Kailash | c8c05d5 | 2019-01-15 20:01:11 -0800 | [diff] [blame] | 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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 789 | url: '{gerrit-server-url}/cord-tester' |
| 790 | branches: |
| 791 | - '{branch}' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 792 | |
| 793 | - job-template: |
Suchitra Vemuri | 1ee3404 | 2019-10-22 13:28:07 -0700 | [diff] [blame] | 794 | name: 'build_{config-pod}_{profile}_voltha_{release}' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 795 | id: build_voltha_pod_release |
| 796 | description: | |
| 797 | <!-- Managed by Jenkins Job Builder --> |
| 798 | Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br /> |
| 799 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
| 800 | Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br /> |
| 801 | Copyright (c) 2018 Open Networking Foundation (ONF) |
| 802 | |
| 803 | <<: *test-pipe-job-boiler-plate |
| 804 | |
| 805 | parameters: |
| 806 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 807 | name: TestNodeName |
| 808 | default: '{testvm}' |
| 809 | description: 'Jenkins node name of TestVM Node' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 810 | |
| 811 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 812 | name: cordRepoUrl |
| 813 | default: '{gerrit-server-url}' |
| 814 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 815 | |
| 816 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 817 | name: configBaseDir |
| 818 | default: 'pod-configs' |
| 819 | description: 'The directory inside the POD configs repository' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 820 | |
| 821 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 822 | name: configDeploymentDir |
| 823 | default: 'deployment-configs' |
| 824 | description: 'The deployment configs folder' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 825 | |
| 826 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 827 | name: configKubernetesDir |
| 828 | default: 'kubernetes-configs' |
| 829 | description: 'The kubernetes config folder' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 830 | |
| 831 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 832 | name: configToscaDir |
| 833 | default: 'tosca-configs' |
| 834 | description: 'The tosca config folder' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 835 | |
| 836 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 837 | name: configFileName |
| 838 | default: '{config-pod}' |
| 839 | description: 'The config file' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 840 | |
| 841 | - string: |
Suchitra Vemuri | 1ee3404 | 2019-10-22 13:28:07 -0700 | [diff] [blame] | 842 | name: profile |
| 843 | default: '{profile}' |
| 844 | description: 'Technology Profile pushed to the ETCD' |
| 845 | |
| 846 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 847 | name: oltDebVersion |
| 848 | default: '{oltDebVersion}' |
| 849 | description: 'OLT Software version to install' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 850 | |
| 851 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 852 | name: helmRepoUrl |
| 853 | default: 'https://charts.opencord.org' |
| 854 | description: 'URL where helm-charts are published' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 855 | |
| 856 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 857 | name: branch |
| 858 | default: '{branch}' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 859 | |
| 860 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 861 | name: notificationEmail |
| 862 | default: 'you@opennetworking.org, suchitra@opennetworking.org' |
| 863 | description: '' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 864 | |
Suchitra Vemuri | 5abcf2b | 2020-02-05 14:46:28 -0800 | [diff] [blame] | 865 | - string: |
| 866 | name: onosVersion |
| 867 | default: '{onos-version}' |
| 868 | description: 'ONOS version that needs to be installed' |
| 869 | |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 870 | - bool: |
Suchitra Vemuri | 6fb7b87 | 2019-11-05 15:20:51 -0800 | [diff] [blame] | 871 | name: released |
Suchitra Vemuri | 3341f5b | 2019-11-06 21:41:38 -0800 | [diff] [blame] | 872 | default: '{released}' |
Suchitra Vemuri | 6fb7b87 | 2019-11-05 15:20:51 -0800 | [diff] [blame] | 873 | description: "Pulls released version images when true" |
| 874 | |
| 875 | - bool: |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 876 | name: configurePod |
| 877 | default: true |
| 878 | description: "Configure POD via TOSCA post build" |
| 879 | |
| 880 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 881 | name: reinstallOlt |
| 882 | default: true |
| 883 | description: "Re-install olt software bringing up CORD" |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 884 | |
Andrea Campanella | 32aff12 | 2020-02-03 17:02:32 +0100 | [diff] [blame] | 885 | - bool: |
| 886 | name: withKind |
| 887 | default: false |
| 888 | description: "The pods uses kind and a physical fabric thus port forward to the management is needed" |
| 889 | |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 890 | concurrent: true |
| 891 | |
| 892 | pipeline-scm: |
| 893 | script-path: '{Jenkinsfile}' |
| 894 | scm: |
| 895 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 896 | url: '{gerrit-server-url}/voltha-system-tests' |
| 897 | branches: |
| 898 | - '{branch}' |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 899 | |
| 900 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 901 | - timed: | |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 902 | TZ=America/Los_Angeles |
Suchitra Vemuri | 04b55a7 | 2019-10-29 18:17:31 -0700 | [diff] [blame] | 903 | H {time} * * * |
Suchitra Vemuri | 23b1979 | 2019-09-25 17:41:19 -0700 | [diff] [blame] | 904 | |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 905 | - job-template: |
Suchitra Vemuri | 1ee3404 | 2019-10-22 13:28:07 -0700 | [diff] [blame] | 906 | name: 'build_{config-pod}_{profile}_voltha_{release}_test' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 907 | id: build_voltha_pod_test |
| 908 | description: | |
| 909 | <!-- Managed by Jenkins Job Builder --> |
| 910 | Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br /> |
hwchiu | e3815ab | 2019-10-17 15:06:25 -0700 | [diff] [blame] | 911 | Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br /> |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 912 | Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> |
| 913 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 914 | |
| 915 | <<: *test-pipe-job-boiler-plate |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 916 | pipeline-script: 'voltha-physical-functional-tests.groovy' |
| 917 | manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git' |
| 918 | manifest-branch: 'master' |
| 919 | |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 920 | parameters: |
| 921 | - string: |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 922 | name: buildNode |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 923 | default: '{testvm}' |
| 924 | description: 'Jenkins node name of TestVM Node' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 925 | |
| 926 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 927 | name: cordRepoUrl |
| 928 | default: '{gerrit-server-url}' |
| 929 | description: 'The URL of the CORD Project repository' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 930 | |
| 931 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 932 | name: configBaseDir |
| 933 | default: 'pod-configs' |
| 934 | description: 'The directory inside the POD configs repository' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 935 | |
| 936 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 937 | name: configDeploymentDir |
| 938 | default: 'deployment-configs' |
| 939 | description: 'The deployment configs folder' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 940 | |
| 941 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 942 | name: configKubernetesDir |
| 943 | default: 'kubernetes-configs' |
| 944 | description: 'The kubernetes config folder' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 945 | |
| 946 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 947 | name: configToscaDir |
| 948 | default: 'tosca-configs' |
| 949 | description: 'The tosca config folder' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 950 | |
| 951 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 952 | name: configFileName |
| 953 | default: '{config-pod}' |
| 954 | description: 'The config file' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 955 | |
| 956 | - string: |
Suchitra Vemuri | 1ee3404 | 2019-10-22 13:28:07 -0700 | [diff] [blame] | 957 | name: profile |
| 958 | default: '{profile}' |
| 959 | description: 'Technology Profile pushed to the ETCD' |
| 960 | |
Suchitra Vemuri | fbc4a74 | 2020-01-08 16:55:26 -0800 | [diff] [blame] | 961 | - bool: |
| 962 | name: released |
| 963 | default: '{released}' |
| 964 | description: "Pulls tests that are tagged with released as identifier" |
| 965 | |
Suchitra Vemuri | 1ee3404 | 2019-10-22 13:28:07 -0700 | [diff] [blame] | 966 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 967 | name: branch |
| 968 | default: '{branch}' |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 969 | description: 'Branch of the test libraries to check out' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 970 | |
| 971 | - string: |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 972 | name: manifestUrl |
| 973 | default: '{manifest-url}' |
| 974 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 975 | |
| 976 | - string: |
| 977 | name: manifestBranch |
| 978 | default: '{manifest-branch}' |
| 979 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 980 | |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 981 | |
| 982 | concurrent: true |
| 983 | |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 984 | project-type: pipeline |
| 985 | dsl: !include-raw-escape: ../pipeline/{pipeline-script} |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 986 | |
| 987 | triggers: |
| 988 | - reverse: |
Suchitra Vemuri | c4c741f | 2019-10-22 22:02:53 -0700 | [diff] [blame] | 989 | jobs: 'build_{config-pod}_{profile}_voltha_{release}' |
Suchitra Vemuri | f921cda | 2019-09-25 22:53:45 -0700 | [diff] [blame] | 990 | result: 'success' |
| 991 | |