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