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