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$' |
| 317 | projects: |
| 318 | - project-compare-type: REG_EXP |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 319 | 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] | 320 | branches: |
| 321 | - branch-compare-type: PLAIN |
| 322 | branch-pattern: 'master' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 323 | |
| 324 | - job-template: |
| 325 | name: '{name}' |
| 326 | id: build_physical_voltha_manual |
| 327 | description: | |
| 328 | <!-- Managed by Jenkins Job Builder --> |
| 329 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 330 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 331 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 332 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 333 | project-type: pipeline |
| 334 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 335 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 336 | |
| 337 | properties: |
| 338 | - cord-infra-properties: |
| 339 | build-days-to-keep: '{build-days-to-keep}' |
| 340 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 341 | |
| 342 | parameters: |
| 343 | - string: |
| 344 | name: buildNode |
| 345 | default: '{testvm}' |
| 346 | description: 'Pod management node' |
| 347 | |
| 348 | - string: |
| 349 | name: manifestUrl |
| 350 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 351 | description: 'URL to the repo manifest' |
| 352 | |
| 353 | - string: |
| 354 | name: manifestBranch |
Andy Bavier | 06d816c | 2019-11-19 11:40:48 -0700 | [diff] [blame] | 355 | default: 'master' |
| 356 | 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] | 357 | |
| 358 | - string: |
| 359 | name: gerritProject |
| 360 | default: '$GERRIT_PROJECT' |
| 361 | description: 'Name of the Gerrit project' |
| 362 | |
| 363 | - string: |
| 364 | name: gerritChangeNumber |
| 365 | default: '$GERRIT_CHANGE_NUMBER' |
| 366 | description: 'Changeset number in Gerrit' |
| 367 | |
| 368 | - string: |
| 369 | name: gerritPatchsetNumber |
| 370 | default: '$GERRIT_PATCHSET_NUMBER' |
| 371 | description: 'PatchSet number in Gerrit' |
| 372 | |
| 373 | - string: |
| 374 | name: cordRepoUrl |
| 375 | default: '{gerrit-server-url}' |
| 376 | description: 'The URL of the CORD Project repository' |
| 377 | |
| 378 | - string: |
| 379 | name: podName |
| 380 | default: '{config-pod}' |
| 381 | |
| 382 | - string: |
| 383 | name: deploymentConfigFile |
| 384 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 385 | description: 'Path of deployment config file' |
| 386 | |
| 387 | - string: |
| 388 | name: kindVolthaValuesFile |
| 389 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 390 | description: 'Path of kind-voltha values override file' |
| 391 | |
| 392 | - string: |
| 393 | name: sadisConfigFile |
| 394 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 395 | description: 'Path of SADIS config to load' |
| 396 | |
| 397 | - string: |
| 398 | name: localConfigDir |
| 399 | default: null |
| 400 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 401 | |
| 402 | - string: |
| 403 | name: configRepo |
| 404 | default: 'pod-configs' |
| 405 | description: 'A repository containing the config files, will be checked out if specified' |
| 406 | |
| 407 | - string: |
| 408 | name: oltDebVersion |
| 409 | default: '{oltDebVersion}' |
| 410 | description: 'OLT Software version to install' |
| 411 | |
| 412 | - string: |
| 413 | name: branch |
| 414 | default: '{branch}' |
| 415 | |
| 416 | - string: |
| 417 | name: profile |
| 418 | default: '{profile}' |
| 419 | description: 'Technology Profile pushed to the ETCD' |
| 420 | |
| 421 | - string: |
| 422 | name: notificationEmail |
| 423 | default: 'andy@opennetworking.org' |
| 424 | description: '' |
| 425 | |
| 426 | - bool: |
| 427 | name: reinstallOlt |
| 428 | default: false |
| 429 | description: "Re-install OLT software" |
| 430 | |
| 431 | - bool: |
| 432 | name: withPatchset |
| 433 | default: false |
| 434 | description: "Build with Gerrit patchset" |
| 435 | |
| 436 | project-type: pipeline |
| 437 | concurrent: true |
| 438 | |
| 439 | dsl: !include-raw-escape: pipeline/{pipeline-script} |