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': |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 21 | name: 'periodic-voltha-system-test' |
| 22 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
hwchiu | c7d5d03 | 2019-12-03 16:42:47 -0800 | [diff] [blame] | 23 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 24 | default-image-tag: 'master' |
hwchiu | c9189b7 | 2019-12-02 15:12:29 -0800 | [diff] [blame] | 25 | code-branch: 'master' |
hwchiu | c7d5d03 | 2019-12-03 16:42:47 -0800 | [diff] [blame] | 26 | make-target: sanity-single-kind |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 27 | onus: 2 |
| 28 | pons: 2 |
| 29 | time-trigger: "H H/12 * * *" |
| 30 | |
| 31 | - 'voltha-periodic-test': |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 32 | name: 'periodic-voltha-sanity-test-multi-runs' |
| 33 | build-node: 'qct-pod4-node2' |
| 34 | default-image-tag: 'master' |
| 35 | code-branch: 'master' |
Andy Bavier | 529888d | 2019-12-11 16:55:34 -0700 | [diff] [blame] | 36 | make-target: sanity-kind |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 37 | onus: 1 |
| 38 | pons: 1 |
| 39 | test-runs: 5 |
| 40 | time-trigger: "H H/3 * * *" |
| 41 | |
| 42 | - 'voltha-periodic-test': |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 43 | name: 'periodic-voltha-scale-test' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 44 | build-node: 'qct-pod4-node2' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 45 | default-image-tag: 'master' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 46 | code-branch: 'master' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 47 | make-target: scale-multi-kind |
| 48 | onus: 2 |
| 49 | pons: 8 |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 50 | robot-args: '-v teardown_device:False' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 51 | time-trigger: "H H/3 * * *" |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 52 | |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 53 | # Per-patchset Pod builds on Tucson pod |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 54 | - 'verify_physical_voltha_patchset': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 55 | name: 'verify_physical_voltha_patchset' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 56 | testvm: 'tucson-pod' |
| 57 | config-pod: 'tucson-pod' |
| 58 | branch: 'master' |
Andy Bavier | fc4dcc4 | 2019-11-18 15:33:52 -0700 | [diff] [blame] | 59 | oltDebVersion: 'openolt_asfvolt16.deb' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 60 | profile: 'Default' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 61 | withPatchset: true |
| 62 | |
| 63 | # Manual build job for Tucson pod |
| 64 | # Allow local testing without disrupting above job |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 65 | - 'build_physical_voltha_manual': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 66 | name: 'build_tucson-pod_manual' |
| 67 | testvm: 'tucson-pod' |
| 68 | config-pod: 'tucson-pod' |
| 69 | branch: 'master' |
Andy Bavier | fc4dcc4 | 2019-11-18 15:33:52 -0700 | [diff] [blame] | 70 | oltDebVersion: 'openolt_asfvolt16.deb' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 71 | profile: 'Default' |
| 72 | withPatchset: false |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 73 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 74 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 75 | id: 'voltha-periodic-test' |
| 76 | name: '{name}' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 77 | pipeline-script: 'voltha-go-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 78 | test-runs: 1 |
| 79 | robot-args: '' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 80 | |
| 81 | description: | |
| 82 | <!-- Managed by Jenkins Job Builder --> |
| 83 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 84 | E2E Validation for Voltha 2.X |
| 85 | |
| 86 | properties: |
| 87 | - cord-infra-properties: |
| 88 | build-days-to-keep: '{build-days-to-keep}' |
| 89 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 90 | |
| 91 | wrappers: |
| 92 | - lf-infra-wrappers: |
| 93 | build-timeout: '{build-timeout}' |
| 94 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 95 | |
| 96 | parameters: |
| 97 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 98 | name: buildNode |
Andy Bavier | 833b78e | 2019-11-22 17:01:31 -0700 | [diff] [blame] | 99 | default: '{build-node}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 100 | description: 'Name of the Jenkins node to run the job on' |
| 101 | |
| 102 | - string: |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 103 | name: extraHelmFlags |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 104 | default: '--set defaults.image_tag={default-image-tag},onu={onus},pon={pons}' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 105 | description: 'Helm flags to pass to ./voltha up' |
| 106 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 107 | - string: |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 108 | name: makeTarget |
| 109 | default: '{make-target}' |
| 110 | description: 'Makefile target to invoke during test' |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 111 | |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 112 | - string: |
| 113 | name: manifestUrl |
| 114 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 115 | description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)' |
| 116 | |
| 117 | - string: |
| 118 | name: manifestBranch |
| 119 | default: '{code-branch}' |
| 120 | description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)' |
| 121 | |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 122 | - string: |
| 123 | name: testRuns |
| 124 | default: '{test-runs}' |
| 125 | description: 'How many times to repeat the tests' |
| 126 | |
| 127 | - string: |
| 128 | name: extraRobotArgs |
| 129 | default: '{robot-args}' |
| 130 | description: 'Arguments to pass to robot' |
| 131 | |
| 132 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 133 | project-type: pipeline |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 134 | concurrent: true |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 135 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 136 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 137 | |
| 138 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 139 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 140 | TZ=America/Los_Angeles |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 141 | {time-trigger} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 142 | |
| 143 | - job-template: |
| 144 | id: 'voltha-patch-test' |
Andy Bavier | 4f7fbea | 2019-11-21 14:38:47 -0700 | [diff] [blame] | 145 | name: 'verify_{project}_sanity-test' |
| 146 | extra-helm-flags: '--set defaults.image_tag=$GERRIT_BRANCH' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 147 | |
| 148 | description: | |
| 149 | <!-- Managed by Jenkins Job Builder --> |
| 150 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 151 | E2E Validation for Voltha 2.X |
| 152 | |
| 153 | properties: |
| 154 | - cord-infra-properties: |
| 155 | build-days-to-keep: '{build-days-to-keep}' |
| 156 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 157 | |
| 158 | wrappers: |
| 159 | - lf-infra-wrappers: |
| 160 | build-timeout: '{build-timeout}' |
| 161 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 162 | |
| 163 | parameters: |
| 164 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 165 | name: buildNode |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 166 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 167 | description: 'Name of the Jenkins node to run the job on' |
| 168 | |
| 169 | - string: |
| 170 | name: manifestUrl |
| 171 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 172 | description: 'URL to the repo manifest' |
| 173 | |
| 174 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 175 | name: manifestBranch |
| 176 | default: '$GERRIT_BRANCH' |
| 177 | description: 'Name of the repo branch to use' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 178 | |
| 179 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 180 | name: gerritProject |
| 181 | default: '$GERRIT_PROJECT' |
| 182 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 183 | |
| 184 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 185 | name: gerritChangeNumber |
| 186 | default: '$GERRIT_CHANGE_NUMBER' |
| 187 | description: 'Changeset number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 188 | |
| 189 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 190 | name: gerritPatchsetNumber |
| 191 | default: '$GERRIT_PATCHSET_NUMBER' |
| 192 | description: 'PatchSet number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 193 | |
| 194 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 195 | name: extraHelmFlags |
Andy Bavier | 4f7fbea | 2019-11-21 14:38:47 -0700 | [diff] [blame] | 196 | default: '{extra-helm-flags}' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 197 | description: 'Helm flags to pass to ./voltha up' |
| 198 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 199 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 200 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 201 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 202 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 203 | |
| 204 | triggers: |
| 205 | - cord-infra-gerrit-trigger-patchset: |
| 206 | gerrit-server-name: '{gerrit-server-name}' |
Kailash | 53d8672 | 2019-09-05 09:08:41 -0700 | [diff] [blame] | 207 | project-regexp: '^{project}$' |
| 208 | branch-regexp: '{branch-regexp}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 209 | dependency-jobs: '{dependency-jobs}' |
| 210 | file-include-regexp: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 211 | |
| 212 | # POD Per Patchset Pipeline Jobs |
| 213 | |
| 214 | - job-template: |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 215 | name: '{name}' |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 216 | id: verify_physical_voltha_patchset |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 217 | description: | |
| 218 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 219 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 220 | 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] | 221 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 222 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 223 | project-type: pipeline |
| 224 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 225 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 226 | |
| 227 | properties: |
| 228 | - cord-infra-properties: |
| 229 | build-days-to-keep: '{build-days-to-keep}' |
| 230 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 231 | |
| 232 | parameters: |
| 233 | - string: |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 234 | name: buildNode |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 235 | default: '{testvm}' |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 236 | description: 'Pod management node' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 237 | |
| 238 | - string: |
| 239 | name: manifestUrl |
| 240 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 241 | description: 'URL to the repo manifest' |
| 242 | |
| 243 | - string: |
| 244 | name: manifestBranch |
| 245 | default: '$GERRIT_BRANCH' |
| 246 | description: 'Name of the repo branch to use' |
| 247 | |
| 248 | - string: |
| 249 | name: gerritProject |
| 250 | default: '$GERRIT_PROJECT' |
| 251 | description: 'Name of the Gerrit project' |
| 252 | |
| 253 | - string: |
| 254 | name: gerritChangeNumber |
| 255 | default: '$GERRIT_CHANGE_NUMBER' |
| 256 | description: 'Changeset number in Gerrit' |
| 257 | |
| 258 | - string: |
| 259 | name: gerritPatchsetNumber |
| 260 | default: '$GERRIT_PATCHSET_NUMBER' |
| 261 | description: 'PatchSet number in Gerrit' |
| 262 | |
| 263 | - string: |
| 264 | name: cordRepoUrl |
| 265 | default: '{gerrit-server-url}' |
| 266 | description: 'The URL of the CORD Project repository' |
| 267 | |
| 268 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 269 | name: podName |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 270 | default: '{config-pod}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 271 | |
| 272 | - string: |
| 273 | name: deploymentConfigFile |
| 274 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 275 | description: 'Path of deployment config file' |
| 276 | |
| 277 | - string: |
| 278 | name: kindVolthaValuesFile |
| 279 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 280 | description: 'Path of kind-voltha values override file' |
| 281 | |
| 282 | - string: |
| 283 | name: sadisConfigFile |
| 284 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 285 | description: 'Path of SADIS config to load' |
| 286 | |
| 287 | - string: |
| 288 | name: localConfigDir |
| 289 | default: null |
| 290 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 291 | |
| 292 | - string: |
| 293 | name: configRepo |
| 294 | default: 'pod-configs' |
| 295 | 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] | 296 | |
| 297 | - string: |
| 298 | name: oltDebVersion |
| 299 | default: '{oltDebVersion}' |
| 300 | description: 'OLT Software version to install' |
| 301 | |
| 302 | - string: |
| 303 | name: branch |
| 304 | default: '{branch}' |
| 305 | |
| 306 | - string: |
| 307 | name: profile |
| 308 | default: '{profile}' |
| 309 | description: 'Technology Profile pushed to the ETCD' |
| 310 | |
| 311 | - string: |
| 312 | name: notificationEmail |
| 313 | default: 'andy@opennetworking.org' |
| 314 | description: '' |
| 315 | |
| 316 | - bool: |
| 317 | name: reinstallOlt |
| 318 | default: true |
| 319 | description: "Re-install OLT software" |
| 320 | |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 321 | - bool: |
| 322 | name: withPatchset |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 323 | default: true |
| 324 | description: "Build with Gerrit patchset" |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 325 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 326 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 327 | concurrent: true |
| 328 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 329 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 330 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 331 | triggers: |
| 332 | - gerrit: |
| 333 | server-name: '{gerrit-server-name}' |
| 334 | dependency-jobs: '{dependency-jobs}' |
| 335 | silent-start: false |
| 336 | successful-message: "PASSED hardware test" |
| 337 | failure-message: "FAILED hardware test" |
| 338 | unstable-message: "UNSTABLE hardware test" |
| 339 | trigger-on: |
| 340 | - comment-added-contains-event: |
| 341 | comment-contains-value: '^hardware test$' |
Andy Bavier | cf80255 | 2019-12-05 14:14:59 -0700 | [diff] [blame] | 342 | - comment-added-event: |
| 343 | approval-category: 'Code-Review' |
| 344 | approval-value: '+2' |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 345 | projects: |
| 346 | - project-compare-type: REG_EXP |
Zack Williams | e65b1ee | 2019-12-09 15:57:16 -0700 | [diff] [blame] | 347 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server|voltha-system-tests|ofagent-py)$' |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 348 | branches: |
| 349 | - branch-compare-type: PLAIN |
| 350 | branch-pattern: 'master' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 351 | |
| 352 | - job-template: |
| 353 | name: '{name}' |
| 354 | id: build_physical_voltha_manual |
| 355 | description: | |
| 356 | <!-- Managed by Jenkins Job Builder --> |
| 357 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 358 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 359 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 360 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 361 | project-type: pipeline |
| 362 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 363 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 364 | |
| 365 | properties: |
| 366 | - cord-infra-properties: |
| 367 | build-days-to-keep: '{build-days-to-keep}' |
| 368 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 369 | |
| 370 | parameters: |
| 371 | - string: |
| 372 | name: buildNode |
| 373 | default: '{testvm}' |
| 374 | description: 'Pod management node' |
| 375 | |
| 376 | - string: |
| 377 | name: manifestUrl |
| 378 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 379 | description: 'URL to the repo manifest' |
| 380 | |
| 381 | - string: |
| 382 | name: manifestBranch |
Andy Bavier | 06d816c | 2019-11-19 11:40:48 -0700 | [diff] [blame] | 383 | default: 'master' |
| 384 | 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] | 385 | |
| 386 | - string: |
| 387 | name: gerritProject |
| 388 | default: '$GERRIT_PROJECT' |
| 389 | description: 'Name of the Gerrit project' |
| 390 | |
| 391 | - string: |
| 392 | name: gerritChangeNumber |
| 393 | default: '$GERRIT_CHANGE_NUMBER' |
| 394 | description: 'Changeset number in Gerrit' |
| 395 | |
| 396 | - string: |
| 397 | name: gerritPatchsetNumber |
| 398 | default: '$GERRIT_PATCHSET_NUMBER' |
| 399 | description: 'PatchSet number in Gerrit' |
| 400 | |
| 401 | - string: |
| 402 | name: cordRepoUrl |
| 403 | default: '{gerrit-server-url}' |
| 404 | description: 'The URL of the CORD Project repository' |
| 405 | |
| 406 | - string: |
| 407 | name: podName |
| 408 | default: '{config-pod}' |
| 409 | |
| 410 | - string: |
| 411 | name: deploymentConfigFile |
| 412 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 413 | description: 'Path of deployment config file' |
| 414 | |
| 415 | - string: |
| 416 | name: kindVolthaValuesFile |
| 417 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 418 | description: 'Path of kind-voltha values override file' |
| 419 | |
| 420 | - string: |
| 421 | name: sadisConfigFile |
| 422 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 423 | description: 'Path of SADIS config to load' |
| 424 | |
| 425 | - string: |
| 426 | name: localConfigDir |
| 427 | default: null |
| 428 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 429 | |
| 430 | - string: |
| 431 | name: configRepo |
| 432 | default: 'pod-configs' |
| 433 | description: 'A repository containing the config files, will be checked out if specified' |
| 434 | |
| 435 | - string: |
| 436 | name: oltDebVersion |
| 437 | default: '{oltDebVersion}' |
| 438 | description: 'OLT Software version to install' |
| 439 | |
| 440 | - string: |
| 441 | name: branch |
| 442 | default: '{branch}' |
| 443 | |
| 444 | - string: |
| 445 | name: profile |
| 446 | default: '{profile}' |
| 447 | description: 'Technology Profile pushed to the ETCD' |
| 448 | |
| 449 | - string: |
| 450 | name: notificationEmail |
| 451 | default: 'andy@opennetworking.org' |
| 452 | description: '' |
| 453 | |
| 454 | - bool: |
| 455 | name: reinstallOlt |
| 456 | default: false |
| 457 | description: "Re-install OLT software" |
| 458 | |
| 459 | - bool: |
| 460 | name: withPatchset |
| 461 | default: false |
| 462 | description: "Build with Gerrit patchset" |
| 463 | |
| 464 | project-type: pipeline |
| 465 | concurrent: true |
| 466 | |
| 467 | dsl: !include-raw-escape: pipeline/{pipeline-script} |