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