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