Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 1 | --- |
| 2 | # voltha 2.0 tests |
| 3 | |
| 4 | - project: |
| 5 | name: voltha-e2e |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 10 | - 'voltha-periodic-test': |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 11 | name: 'periodic-voltha-sanity-test' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 12 | build-node: 'qct-pod4-node2' |
Andy Bavier | aaa60f7 | 2019-09-20 09:11:21 -0700 | [diff] [blame] | 13 | default-image-tag: 'master' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 14 | code-branch: 'master' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 15 | make-target: sanity-multi-kind |
| 16 | onus: 2 |
| 17 | pons: 2 |
| 18 | time-trigger: "H H/3 * * *" |
| 19 | |
| 20 | - 'voltha-periodic-test': |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 21 | name: 'periodic-voltha-sanity-test-single-onu' |
| 22 | build-node: 'qct-pod4-node2' |
| 23 | default-image-tag: 'master' |
| 24 | code-branch: 'master' |
| 25 | make-target: sanity-kind |
| 26 | onus: 1 |
| 27 | pons: 1 |
| 28 | time-trigger: "H H/3 * * *" |
| 29 | |
| 30 | - 'voltha-periodic-test': |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 31 | name: 'periodic-voltha-system-test' |
| 32 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
hwchiu | c7d5d03 | 2019-12-03 16:42:47 -0800 | [diff] [blame] | 33 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 34 | default-image-tag: 'master' |
hwchiu | c9189b7 | 2019-12-02 15:12:29 -0800 | [diff] [blame] | 35 | code-branch: 'master' |
hwchiu | c7d5d03 | 2019-12-03 16:42:47 -0800 | [diff] [blame] | 36 | make-target: sanity-single-kind |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 37 | onus: 2 |
| 38 | pons: 2 |
| 39 | time-trigger: "H H/12 * * *" |
| 40 | |
| 41 | - 'voltha-periodic-test': |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 42 | name: 'periodic-voltha-sanity-test-multi-runs' |
Andy Bavier | 0088c21 | 2020-01-08 13:44:03 -0700 | [diff] [blame] | 43 | pipeline-script: 'voltha-go-multi-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 44 | build-node: 'qct-pod4-node2' |
| 45 | default-image-tag: 'master' |
| 46 | code-branch: 'master' |
Andy Bavier | 4a02b23 | 2020-01-09 14:50:30 -0700 | [diff] [blame] | 47 | make-target: sanity-multi-kind |
| 48 | onus: 2 |
| 49 | pons: 2 |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 50 | test-runs: 5 |
| 51 | time-trigger: "H H/3 * * *" |
| 52 | |
| 53 | - 'voltha-periodic-test': |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 54 | name: 'periodic-voltha-scale-test' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 55 | build-node: 'qct-pod4-node2' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 56 | default-image-tag: 'master' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 57 | code-branch: 'master' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 58 | make-target: scale-multi-kind |
| 59 | onus: 2 |
| 60 | pons: 8 |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 61 | robot-args: '-v teardown_device:False' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 62 | time-trigger: "H H/3 * * *" |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 63 | |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 64 | # Per-patchset Pod builds on Tucson pod |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 65 | - 'verify_physical_voltha_patchset_auto': |
| 66 | name: 'verify_physical_voltha_patchset_auto' |
| 67 | testvm: 'tucson-pod' |
| 68 | config-pod: 'tucson-pod' |
| 69 | branch: 'master' |
| 70 | oltDebVersion: 'openolt_asfvolt16.deb' |
| 71 | profile: 'Default' |
| 72 | withPatchset: true |
| 73 | |
| 74 | # Per-patchset Pod builds on Tucson pod |
| 75 | - 'verify_physical_voltha_patchset_manual': |
| 76 | name: 'verify_physical_voltha_patchset_manual' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 77 | testvm: 'tucson-pod' |
| 78 | config-pod: 'tucson-pod' |
| 79 | branch: 'master' |
Andy Bavier | fc4dcc4 | 2019-11-18 15:33:52 -0700 | [diff] [blame] | 80 | oltDebVersion: 'openolt_asfvolt16.deb' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 81 | profile: 'Default' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 82 | withPatchset: true |
| 83 | |
| 84 | # Manual build job for Tucson pod |
| 85 | # Allow local testing without disrupting above job |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 86 | - 'build_physical_voltha_manual': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 87 | name: 'build_tucson-pod_manual' |
| 88 | testvm: 'tucson-pod' |
| 89 | config-pod: 'tucson-pod' |
| 90 | branch: 'master' |
Andy Bavier | fc4dcc4 | 2019-11-18 15:33:52 -0700 | [diff] [blame] | 91 | oltDebVersion: 'openolt_asfvolt16.deb' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 92 | profile: 'Default' |
| 93 | withPatchset: false |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 94 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 95 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 96 | id: 'voltha-periodic-test' |
| 97 | name: '{name}' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 98 | pipeline-script: 'voltha-go-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 99 | test-runs: 1 |
| 100 | robot-args: '' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 101 | |
| 102 | description: | |
| 103 | <!-- Managed by Jenkins Job Builder --> |
| 104 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 105 | E2E Validation for Voltha 2.X |
| 106 | |
| 107 | properties: |
| 108 | - cord-infra-properties: |
| 109 | build-days-to-keep: '{build-days-to-keep}' |
| 110 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 111 | |
| 112 | wrappers: |
| 113 | - lf-infra-wrappers: |
| 114 | build-timeout: '{build-timeout}' |
| 115 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 116 | |
| 117 | parameters: |
| 118 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 119 | name: buildNode |
Andy Bavier | 833b78e | 2019-11-22 17:01:31 -0700 | [diff] [blame] | 120 | default: '{build-node}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 121 | description: 'Name of the Jenkins node to run the job on' |
| 122 | |
| 123 | - string: |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 124 | name: extraHelmFlags |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 125 | default: '--set defaults.image_tag={default-image-tag},onu={onus},pon={pons}' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 126 | description: 'Helm flags to pass to ./voltha up' |
| 127 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 128 | - string: |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 129 | name: makeTarget |
| 130 | default: '{make-target}' |
| 131 | description: 'Makefile target to invoke during test' |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 132 | |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 133 | - string: |
| 134 | name: manifestUrl |
| 135 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 136 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 137 | |
| 138 | - string: |
| 139 | name: manifestBranch |
| 140 | default: '{code-branch}' |
| 141 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 142 | |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 143 | - string: |
| 144 | name: testRuns |
| 145 | default: '{test-runs}' |
| 146 | description: 'How many times to repeat the tests' |
| 147 | |
| 148 | - string: |
| 149 | name: extraRobotArgs |
| 150 | default: '{robot-args}' |
| 151 | description: 'Arguments to pass to robot' |
| 152 | |
| 153 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 154 | project-type: pipeline |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 155 | concurrent: true |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 156 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 157 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 158 | |
| 159 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 160 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 161 | TZ=America/Los_Angeles |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 162 | {time-trigger} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 163 | |
| 164 | - job-template: |
| 165 | id: 'voltha-patch-test' |
Andy Bavier | 4f7fbea | 2019-11-21 14:38:47 -0700 | [diff] [blame] | 166 | name: 'verify_{project}_sanity-test' |
| 167 | extra-helm-flags: '--set defaults.image_tag=$GERRIT_BRANCH' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 168 | |
| 169 | description: | |
| 170 | <!-- Managed by Jenkins Job Builder --> |
| 171 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 172 | E2E Validation for Voltha 2.X |
| 173 | |
| 174 | properties: |
| 175 | - cord-infra-properties: |
| 176 | build-days-to-keep: '{build-days-to-keep}' |
| 177 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 178 | |
| 179 | wrappers: |
| 180 | - lf-infra-wrappers: |
| 181 | build-timeout: '{build-timeout}' |
| 182 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 183 | |
| 184 | parameters: |
| 185 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 186 | name: buildNode |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 187 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 188 | description: 'Name of the Jenkins node to run the job on' |
| 189 | |
| 190 | - string: |
| 191 | name: manifestUrl |
| 192 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 193 | description: 'URL to the repo manifest' |
| 194 | |
| 195 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 196 | name: manifestBranch |
Matteo Scandolo | e547ddf | 2020-01-15 11:39:31 -0800 | [diff] [blame] | 197 | default: 'master' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 198 | description: 'Name of the repo branch to use' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 199 | |
| 200 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 201 | name: gerritProject |
| 202 | default: '$GERRIT_PROJECT' |
| 203 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 204 | |
| 205 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 206 | name: gerritChangeNumber |
| 207 | default: '$GERRIT_CHANGE_NUMBER' |
| 208 | description: 'Changeset number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 209 | |
| 210 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 211 | name: gerritPatchsetNumber |
| 212 | default: '$GERRIT_PATCHSET_NUMBER' |
| 213 | description: 'PatchSet number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 214 | |
| 215 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 216 | name: extraHelmFlags |
Andy Bavier | 4f7fbea | 2019-11-21 14:38:47 -0700 | [diff] [blame] | 217 | default: '{extra-helm-flags}' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 218 | description: 'Helm flags to pass to ./voltha up' |
| 219 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 220 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 221 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 222 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 223 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 224 | |
| 225 | triggers: |
| 226 | - cord-infra-gerrit-trigger-patchset: |
| 227 | gerrit-server-name: '{gerrit-server-name}' |
Kailash | 53d8672 | 2019-09-05 09:08:41 -0700 | [diff] [blame] | 228 | project-regexp: '^{project}$' |
| 229 | branch-regexp: '{branch-regexp}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 230 | dependency-jobs: '{dependency-jobs}' |
| 231 | file-include-regexp: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 232 | |
| 233 | # POD Per Patchset Pipeline Jobs |
| 234 | |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 235 | |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 236 | - job-template: |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 237 | name: '{name}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 238 | id: verify_physical_voltha_patchset_auto |
| 239 | description: | |
| 240 | <!-- Managed by Jenkins Job Builder --> |
| 241 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 242 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 243 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 244 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 245 | project-type: pipeline |
| 246 | sandbox: true |
| 247 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
| 248 | |
| 249 | properties: |
| 250 | - cord-infra-properties: |
| 251 | build-days-to-keep: '{build-days-to-keep}' |
| 252 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 253 | |
| 254 | parameters: |
| 255 | - string: |
| 256 | name: buildNode |
| 257 | default: '{testvm}' |
| 258 | description: 'Pod management node' |
| 259 | |
| 260 | - string: |
| 261 | name: manifestUrl |
| 262 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 263 | description: 'URL to the repo manifest' |
| 264 | |
| 265 | - string: |
| 266 | name: manifestBranch |
Matteo Scandolo | e547ddf | 2020-01-15 11:39:31 -0800 | [diff] [blame] | 267 | default: master |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 268 | description: 'Name of the repo branch to use' |
| 269 | |
| 270 | - string: |
| 271 | name: gerritProject |
| 272 | default: '$GERRIT_PROJECT' |
| 273 | description: 'Name of the Gerrit project' |
| 274 | |
| 275 | - string: |
| 276 | name: gerritChangeNumber |
| 277 | default: '$GERRIT_CHANGE_NUMBER' |
| 278 | description: 'Changeset number in Gerrit' |
| 279 | |
| 280 | - string: |
| 281 | name: gerritPatchsetNumber |
| 282 | default: '$GERRIT_PATCHSET_NUMBER' |
| 283 | description: 'PatchSet number in Gerrit' |
| 284 | |
| 285 | - string: |
| 286 | name: cordRepoUrl |
| 287 | default: '{gerrit-server-url}' |
| 288 | description: 'The URL of the CORD Project repository' |
| 289 | |
| 290 | - string: |
| 291 | name: podName |
| 292 | default: '{config-pod}' |
| 293 | |
| 294 | - string: |
| 295 | name: deploymentConfigFile |
| 296 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 297 | description: 'Path of deployment config file' |
| 298 | |
| 299 | - string: |
| 300 | name: kindVolthaValuesFile |
| 301 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 302 | description: 'Path of kind-voltha values override file' |
| 303 | |
| 304 | - string: |
| 305 | name: sadisConfigFile |
| 306 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 307 | description: 'Path of SADIS config to load' |
| 308 | |
| 309 | - string: |
| 310 | name: localConfigDir |
| 311 | default: null |
| 312 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 313 | |
| 314 | - string: |
| 315 | name: configRepo |
| 316 | default: 'pod-configs' |
| 317 | description: 'A repository containing the config files, will be checked out if specified' |
| 318 | |
| 319 | - string: |
| 320 | name: oltDebVersion |
| 321 | default: '{oltDebVersion}' |
| 322 | description: 'OLT Software version to install' |
| 323 | |
| 324 | - string: |
| 325 | name: branch |
| 326 | default: '{branch}' |
| 327 | |
| 328 | - string: |
| 329 | name: profile |
| 330 | default: '{profile}' |
| 331 | description: 'Technology Profile pushed to the ETCD' |
| 332 | |
| 333 | - string: |
| 334 | name: notificationEmail |
| 335 | default: 'andy@opennetworking.org' |
| 336 | description: '' |
| 337 | |
| 338 | - bool: |
| 339 | name: reinstallOlt |
| 340 | default: true |
| 341 | description: "Re-install OLT software" |
| 342 | |
| 343 | - bool: |
| 344 | name: withPatchset |
| 345 | default: true |
| 346 | description: "Build with Gerrit patchset" |
| 347 | |
| 348 | - string: |
| 349 | name: extraRobotArgs |
| 350 | default: '-i sanity' |
| 351 | description: 'Arguments to pass to robot' |
| 352 | |
| 353 | project-type: pipeline |
| 354 | concurrent: true |
| 355 | |
| 356 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 357 | |
| 358 | triggers: |
| 359 | - gerrit: |
| 360 | server-name: '{gerrit-server-name}' |
| 361 | dependency-jobs: '{dependency-jobs}' |
| 362 | silent-start: false |
| 363 | successful-message: "PASSED hardware test" |
| 364 | failure-message: "FAILED hardware test" |
| 365 | unstable-message: "UNSTABLE hardware test" |
| 366 | trigger-on: |
| 367 | - comment-added-event: |
| 368 | approval-category: 'Code-Review' |
| 369 | approval-value: '+2' |
| 370 | projects: |
| 371 | - project-compare-type: REG_EXP |
| 372 | project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter)$' |
| 373 | branches: |
| 374 | - branch-compare-type: PLAIN |
| 375 | branch-pattern: 'master' |
| 376 | |
| 377 | |
| 378 | - job-template: |
| 379 | name: '{name}' |
| 380 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 381 | description: | |
| 382 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 383 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 384 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 385 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 386 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 387 | project-type: pipeline |
| 388 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 389 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 390 | |
| 391 | properties: |
| 392 | - cord-infra-properties: |
| 393 | build-days-to-keep: '{build-days-to-keep}' |
| 394 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 395 | |
| 396 | parameters: |
| 397 | - string: |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 398 | name: buildNode |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 399 | default: '{testvm}' |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 400 | description: 'Pod management node' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 401 | |
| 402 | - string: |
| 403 | name: manifestUrl |
| 404 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 405 | description: 'URL to the repo manifest' |
| 406 | |
| 407 | - string: |
| 408 | name: manifestBranch |
Matteo Scandolo | e547ddf | 2020-01-15 11:39:31 -0800 | [diff] [blame] | 409 | default: master |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 410 | description: 'Name of the repo branch to use' |
| 411 | |
| 412 | - string: |
| 413 | name: gerritProject |
| 414 | default: '$GERRIT_PROJECT' |
| 415 | description: 'Name of the Gerrit project' |
| 416 | |
| 417 | - string: |
| 418 | name: gerritChangeNumber |
| 419 | default: '$GERRIT_CHANGE_NUMBER' |
| 420 | description: 'Changeset number in Gerrit' |
| 421 | |
| 422 | - string: |
| 423 | name: gerritPatchsetNumber |
| 424 | default: '$GERRIT_PATCHSET_NUMBER' |
| 425 | description: 'PatchSet number in Gerrit' |
| 426 | |
| 427 | - string: |
| 428 | name: cordRepoUrl |
| 429 | default: '{gerrit-server-url}' |
| 430 | description: 'The URL of the CORD Project repository' |
| 431 | |
| 432 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 433 | name: podName |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 434 | default: '{config-pod}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 435 | |
| 436 | - string: |
| 437 | name: deploymentConfigFile |
| 438 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 439 | description: 'Path of deployment config file' |
| 440 | |
| 441 | - string: |
| 442 | name: kindVolthaValuesFile |
| 443 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 444 | description: 'Path of kind-voltha values override file' |
| 445 | |
| 446 | - string: |
| 447 | name: sadisConfigFile |
| 448 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 449 | description: 'Path of SADIS config to load' |
| 450 | |
| 451 | - string: |
| 452 | name: localConfigDir |
| 453 | default: null |
| 454 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 455 | |
| 456 | - string: |
| 457 | name: configRepo |
| 458 | default: 'pod-configs' |
| 459 | description: 'A repository containing the config files, will be checked out if specified' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 460 | |
| 461 | - string: |
| 462 | name: oltDebVersion |
| 463 | default: '{oltDebVersion}' |
| 464 | description: 'OLT Software version to install' |
| 465 | |
| 466 | - string: |
| 467 | name: branch |
| 468 | default: '{branch}' |
| 469 | |
| 470 | - string: |
| 471 | name: profile |
| 472 | default: '{profile}' |
| 473 | description: 'Technology Profile pushed to the ETCD' |
| 474 | |
| 475 | - string: |
| 476 | name: notificationEmail |
| 477 | default: 'andy@opennetworking.org' |
| 478 | description: '' |
| 479 | |
| 480 | - bool: |
| 481 | name: reinstallOlt |
| 482 | default: true |
| 483 | description: "Re-install OLT software" |
| 484 | |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 485 | - bool: |
| 486 | name: withPatchset |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 487 | default: true |
| 488 | description: "Build with Gerrit patchset" |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 489 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 490 | - string: |
| 491 | name: extraRobotArgs |
| 492 | default: '-i sanity' |
| 493 | description: 'Arguments to pass to robot' |
| 494 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 495 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 496 | concurrent: true |
| 497 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 498 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 499 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 500 | triggers: |
| 501 | - gerrit: |
| 502 | server-name: '{gerrit-server-name}' |
| 503 | dependency-jobs: '{dependency-jobs}' |
| 504 | silent-start: false |
| 505 | successful-message: "PASSED hardware test" |
| 506 | failure-message: "FAILED hardware test" |
| 507 | unstable-message: "UNSTABLE hardware test" |
| 508 | trigger-on: |
| 509 | - comment-added-contains-event: |
| 510 | comment-contains-value: '^hardware test$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 511 | - comment-added-contains-event: |
| 512 | comment-contains-value: '^hardware test with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 513 | projects: |
| 514 | - project-compare-type: REG_EXP |
Matteo Scandolo | 70800a3 | 2020-01-06 11:55:27 -0800 | [diff] [blame] | 515 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server|voltha-system-tests|ofagent-py|voltha-onos)$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 516 | branches: |
| 517 | - branch-compare-type: PLAIN |
| 518 | branch-pattern: 'master' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 519 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 520 | |
| 521 | - job-template: |
| 522 | name: '{name}' |
| 523 | id: build_physical_voltha_manual |
| 524 | description: | |
| 525 | <!-- Managed by Jenkins Job Builder --> |
| 526 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 527 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 528 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 529 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 530 | project-type: pipeline |
| 531 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 532 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 533 | |
| 534 | properties: |
| 535 | - cord-infra-properties: |
| 536 | build-days-to-keep: '{build-days-to-keep}' |
| 537 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 538 | |
| 539 | parameters: |
| 540 | - string: |
| 541 | name: buildNode |
| 542 | default: '{testvm}' |
| 543 | description: 'Pod management node' |
| 544 | |
| 545 | - string: |
| 546 | name: manifestUrl |
| 547 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 548 | description: 'URL to the repo manifest' |
| 549 | |
| 550 | - string: |
| 551 | name: manifestBranch |
Matteo Scandolo | e547ddf | 2020-01-15 11:39:31 -0800 | [diff] [blame] | 552 | default: master |
Andy Bavier | 06d816c | 2019-11-19 11:40:48 -0700 | [diff] [blame] | 553 | description: 'Name of the repo branch to use (change to $GERRIT_BRANCH if testing a patchset)' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 554 | |
| 555 | - string: |
| 556 | name: gerritProject |
| 557 | default: '$GERRIT_PROJECT' |
| 558 | description: 'Name of the Gerrit project' |
| 559 | |
| 560 | - string: |
| 561 | name: gerritChangeNumber |
| 562 | default: '$GERRIT_CHANGE_NUMBER' |
| 563 | description: 'Changeset number in Gerrit' |
| 564 | |
| 565 | - string: |
| 566 | name: gerritPatchsetNumber |
| 567 | default: '$GERRIT_PATCHSET_NUMBER' |
| 568 | description: 'PatchSet number in Gerrit' |
| 569 | |
| 570 | - string: |
| 571 | name: cordRepoUrl |
| 572 | default: '{gerrit-server-url}' |
| 573 | description: 'The URL of the CORD Project repository' |
| 574 | |
| 575 | - string: |
| 576 | name: podName |
| 577 | default: '{config-pod}' |
| 578 | |
| 579 | - string: |
| 580 | name: deploymentConfigFile |
| 581 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 582 | description: 'Path of deployment config file' |
| 583 | |
| 584 | - string: |
| 585 | name: kindVolthaValuesFile |
| 586 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 587 | description: 'Path of kind-voltha values override file' |
| 588 | |
| 589 | - string: |
| 590 | name: sadisConfigFile |
| 591 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 592 | description: 'Path of SADIS config to load' |
| 593 | |
| 594 | - string: |
| 595 | name: localConfigDir |
| 596 | default: null |
| 597 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 598 | |
| 599 | - string: |
| 600 | name: configRepo |
| 601 | default: 'pod-configs' |
| 602 | description: 'A repository containing the config files, will be checked out if specified' |
| 603 | |
| 604 | - string: |
| 605 | name: oltDebVersion |
| 606 | default: '{oltDebVersion}' |
| 607 | description: 'OLT Software version to install' |
| 608 | |
| 609 | - string: |
| 610 | name: branch |
| 611 | default: '{branch}' |
| 612 | |
| 613 | - string: |
| 614 | name: profile |
| 615 | default: '{profile}' |
| 616 | description: 'Technology Profile pushed to the ETCD' |
| 617 | |
| 618 | - string: |
| 619 | name: notificationEmail |
| 620 | default: 'andy@opennetworking.org' |
| 621 | description: '' |
| 622 | |
| 623 | - bool: |
| 624 | name: reinstallOlt |
| 625 | default: false |
| 626 | description: "Re-install OLT software" |
| 627 | |
| 628 | - bool: |
| 629 | name: withPatchset |
| 630 | default: false |
| 631 | description: "Build with Gerrit patchset" |
| 632 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 633 | - string: |
| 634 | name: extraRobotArgs |
| 635 | default: '-e bbsim' |
| 636 | description: 'Arguments to pass to robot' |
| 637 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 638 | project-type: pipeline |
| 639 | concurrent: true |
| 640 | |
| 641 | dsl: !include-raw-escape: pipeline/{pipeline-script} |