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