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