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