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