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