blob: 1f6c68d37316607a03377848fc5adbe17683422f [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
Zack Williams03ebb272020-03-27 09:42:33 -07008 manualBranch: ''
Suchitra Vemuri456b6b42020-11-10 19:06:22 -08009 olts: 1
Andrea Campanellaf3c32af2020-12-10 12:21:57 +010010 onus: 1
11 pons: 1
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080012 withAlarms: true
13 make-target-failtest: bbsim-failurescenarios
14 make-target-errortest: bbsim-errorscenarios
15 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080016 make-target-multipleolt: bbsim-multiolt-kind
TorstenThieme669258d2021-01-29 09:03:10 +000017 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
18 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test
20 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
21 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Kailash8b8de742019-07-30 08:54:51 -070022
23 jobs:
hwchiu14f97852019-10-08 10:51:11 -070024 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
26 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavierf93f3142020-01-09 16:08:51 -070027 build-node: 'qct-pod4-node2'
Andy Bavierd4ba3372020-01-21 17:01:53 -070028 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080029 make-target-failtest: bbsim-failurescenarios
30 make-target-errortest: bbsim-errorscenarios
31 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080032 make-target-multipleolt: bbsim-multiolt-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080033 withAlarms: true
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070034 code-branch: 'master'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080035 olts: 1
36 onus: 2
37 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080038 time-trigger: "H H/23 * * *"
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080039
40 - 'voltha-periodic-test':
41 name: 'periodic-voltha-multiple-olts-test-bbsim'
42 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
43 build-node: 'qct-pod4-node2'
Suchitra Vemurie50560a2020-11-18 14:14:09 -080044 make-target: functional-multi-olt
45 make-target-failtest: bbsim-multiolt-failurescenarios
46 make-target-errortest: bbsim-multiolt-errorscenarios
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080047 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080048 make-target-multipleolt: bbsim-multiolt-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 withAlarms: false
50 code-branch: 'master'
51 olts: 2
Andy Bavier4be37062020-06-29 15:17:26 -070052 onus: 2
53 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080054 time-trigger: "H H/23 * * *"
Andy Bavierf93f3142020-01-09 16:08:51 -070055
56 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +053057 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080058 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
59 build-node: 'qct-pod4-node2'
60 make-target: functional-multi-olt
61 make-target-failtest: bbsim-multiolt-failurescenarios
62 make-target-errortest: bbsim-multiolt-errorscenarios
63 make-target-alarmtest: bbsim-alarms-kind
64 make-target-multipleolt: bbsim-multiolt-kind
65 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070066 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080067 olts: 2
68 onus: 2
69 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080070 time-trigger: "H H/23 * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080071
72 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000073 name: 'periodic-voltha-openonu-go-test-bbsim'
74 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Girish Gowdra4345cdd2021-03-22 14:12:51 -070075 build-node: 'ubuntu16.04-basebuild-8c-15g'
TorstenThieme326e7972021-01-19 14:27:59 +000076 make-target: openonu-go-adapter-test
TorstenThieme669258d2021-01-29 09:03:10 +000077 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
78 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +000079 make-target-reconciletest: reconcile-openonu-go-adapter-test
80 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
81 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
TorstenThieme326e7972021-01-19 14:27:59 +000082 withAlarms: false
83 code-branch: 'master'
84 time-trigger: "H H/12 * * *"
85
86 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +053087 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
88 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
89 build-node: 'ubuntu16.04-basebuild-8c-15g'
90 make-target: openonu-go-adapter-test
91 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
92 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +000093 make-target-reconciletest: reconcile-openonu-go-adapter-test
94 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
95 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +053096 withAlarms: false
97 code-branch: 'voltha-2.7'
98 time-trigger: "H H/23 * * *"
99
100 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000101 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
102 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Girish Gowdra4345cdd2021-03-22 14:12:51 -0700103 build-node: 'ubuntu16.04-basebuild-8c-15g'
TorstenThieme669258d2021-01-29 09:03:10 +0000104 make-target: openonu-go-adapter-multi-olt-test
105 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
106 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000107 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
108 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
109 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
TorstenThieme669258d2021-01-29 09:03:10 +0000110 withAlarms: false
111 code-branch: 'master'
112 olts: 2
113 onus: 2
114 pons: 2
115 time-trigger: "H H/12 * * *"
116
117 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +0530118 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
119 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
120 build-node: 'ubuntu16.04-basebuild-8c-15g'
121 make-target: openonu-go-adapter-multi-olt-test
122 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
123 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000124 make-target-reconciletest: reconcile-openonu-go-adapter-test
125 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
126 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530127 withAlarms: false
128 code-branch: 'voltha-2.7'
129 olts: 2
130 onus: 2
131 pons: 2
132 time-trigger: "H H/23 * * *"
133
134 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100135 name: 'periodic-voltha-test-DMI'
136 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
137 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100138 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100139 withAlarms: false
140 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800141 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100142
143 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700144 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100145 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
146 build-node: 'qct-pod4-node2'
147 make-target: bbsim-dmi-hw-management-test
148 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700149 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800150 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100151
152 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700153 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700154 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700155 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700156 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800157 make-target-failtest: bbsim-failurescenarios
158 make-target-errortest: bbsim-errorscenarios
159 make-target-alarmtest: bbsim-alarms-kind
160 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700161 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700162 onus: 2
163 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800164 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700165
166 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700167 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800168 pipeline-script: 'voltha-system-test-bbsim.groovy'
hwchiuc7d5d032019-12-03 16:42:47 -0800169 build-node: 'ubuntu16.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800170 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800171 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800172 onus: 2
173 pons: 2
174 time-trigger: "H H/12 * * *"
175
176 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700177 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700178 pipeline-script: 'voltha-system-test-bbsim.groovy'
179 build-node: 'ubuntu16.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700180 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700181 make-target: sanity-multi-kind
182 onus: 2
183 pons: 2
184 time-trigger: "H H/12 * * *"
185
186
187 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700188 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700189 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700190 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700191 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700192 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700193 onus: 1
194 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700195 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800196 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700197
198 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700199 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700200 pipeline-script: 'voltha-go-multi-tests.groovy'
201 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700202 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700203 make-target: sanity-kind
204 onus: 1
205 pons: 1
206 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800207 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700208
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700209 - 'voltha-periodic-test':
210 name: 'nightly-voltha-DTflow-sanity-test'
211 build-node: 'ubuntu16.04-basebuild-4c-8g'
212 code-branch: 'master'
213 make-target: sanity-kind-dt
214 onus: 1
215 pons: 1
216 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700217 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700218
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700219 # Per-patchset Pod builds on Tucson pod
Andy Bavier51ba7e82019-12-17 11:01:01 -0700220 - 'verify_physical_voltha_patchset_auto':
221 name: 'verify_physical_voltha_patchset_auto'
Zack Williams8ef79812019-10-29 11:09:18 -0700222 build-node: 'tucson-pod'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700223 config-pod: 'tucson-pod'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700224 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
225 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700226 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800227 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700228
229 # Per-patchset Pod builds on Tucson pod
230 - 'verify_physical_voltha_patchset_manual':
231 name: 'verify_physical_voltha_patchset_manual'
Zack Williams8ef79812019-10-29 11:09:18 -0700232 build-node: 'tucson-pod'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700233 config-pod: 'tucson-pod'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700234 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
235 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700236 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700237 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800238 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700239
240
241 # Per-patchset Pod builds on Tucson pod
242 - 'verify_physical_voltha_patchset_manual':
243 name: 'verify_physical_voltha_patchset_manual_DT'
244 build-node: 'tucson-pod'
245 config-pod: 'tucson-pod-DT'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700246 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
247 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700248 profile: 'Default'
249 pipeline-script: 'voltha-dt-physical-build-and-tests.groovy'
250 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800251 default-test-args: '-i sanityDt -i PowerSwitch -X'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700252
Andy Bavier19c98a22019-11-11 13:57:11 -0700253
254 # Manual build job for Tucson pod
255 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700256 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700257 name: 'build_tucson-pod_manual'
Zack Williams8ef79812019-10-29 11:09:18 -0700258 build-node: 'tucson-pod'
Andy Bavier19c98a22019-11-11 13:57:11 -0700259 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700260 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700261 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
262 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700263 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800264 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700265
Kailash8b8de742019-07-30 08:54:51 -0700266- job-template:
Kailashaad71012019-08-27 10:36:53 -0700267 id: 'voltha-periodic-test'
268 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700269 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700270 test-runs: 1
271 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700272 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700273 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700274 volthaSystemTestsChange: ''
275 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200276 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700277 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800278 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800279 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700280
Kailash8b8de742019-07-30 08:54:51 -0700281 description: |
282 <!-- Managed by Jenkins Job Builder -->
283 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
284 E2E Validation for Voltha 2.X
285
286 properties:
287 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800288 build-days-to-keep: '{big-build-days-to-keep}'
289 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700290
291 wrappers:
292 - lf-infra-wrappers:
293 build-timeout: '{build-timeout}'
294 jenkins-ssh-credential: '{jenkins-ssh-credential}'
295
296 parameters:
297 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700298 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700299 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700300 description: 'Name of the Jenkins node to run the job on'
301
302 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700303 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200304 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700305 description: 'Helm flags to pass to ./voltha up'
306
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800307 - bool:
308 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800309 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800310 description: "Run alarm based tests when true"
311
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700312 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700313 name: makeTarget
314 default: '{make-target}'
315 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700316
Andy Bavier4c8b3232019-11-22 16:17:47 -0700317 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800318 name: makeFailtestTarget
319 default: '{make-target-failtest}'
320 description: 'Makefile target to invoke during failure/based test'
321
322 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800323 name: makeMultiOltTarget
324 default: '{make-target-multipleolt}'
325 description: 'Makefile target to invoke during multiple olt test'
326
327 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800328 name: makeErrortestTarget
329 default: '{make-target-errortest}'
330 description: 'Makefile target to invoke during error test'
331
332 - string:
333 name: makeAlarmtestTarget
334 default: '{make-target-alarmtest}'
335 description: 'Makefile target to invoke during alarm test'
336
337 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000338 name: make1t4gemTestTarget
339 default: '{make-target-1t4gemtest}'
340 description: 'Makefile target to invoke during 1t4gem test'
341
342 - string:
343 name: make1t8gemTestTarget
344 default: '{make-target-1t8gemtest}'
345 description: 'Makefile target to invoke during 1t8gem test'
346
347 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000348 name: makeReconcileTestTarget
349 default: '{make-target-reconciletest}'
350 description: 'Makefile target to invoke during reconcile test'
351
352 - string:
353 name: makeReconcileDtTestTarget
354 default: '{make-target-reconciledttest}'
355 description: 'Makefile target to invoke during reconcile dt test'
356
357 - string:
358 name: makeReconcileTtTestTarget
359 default: '{make-target-reconciletttest}'
360 description: 'Makefile target to invoke during reconcile tt test'
361
362 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700363 name: manifestUrl
364 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700365 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700366
367 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700368 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700369 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700370 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700371
Andy Bavier3708d072019-12-10 15:22:18 -0700372 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700373 name: gerritProject
374 default: '{gerrit-project}'
375 description: 'Name of the Gerrit project'
376
377 - string:
378 name: gerritChangeNumber
379 default: ''
380 description: 'Changeset number in Gerrit'
381
382 - string:
383 name: gerritPatchsetNumber
384 default: ''
385 description: 'PatchSet number in Gerrit'
386
387 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700388 name: testRuns
389 default: '{test-runs}'
390 description: 'How many times to repeat the tests'
391
392 - string:
393 name: extraRobotArgs
394 default: '{robot-args}'
395 description: 'Arguments to pass to robot'
396
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700397 - string:
398 name: workFlow
399 default: '{work-flow}'
400 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700401
pierventref48ebc12020-07-17 16:01:32 +0200402 - string:
403 name: karafHome
404 default: '{karaf-home}'
405 description: 'Karaf home'
406
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700407 - string:
408 name: volthaSystemTestsChange
409 default: '{volthaSystemTestsChange}'
410 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
411
412 - string:
413 name: kindVolthaChange
414 default: '{kindVolthaChange}'
415 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
416
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800417 - string:
418 name: olts
419 default: '{olts}'
420 description: 'How many BBSim instances to run'
421
Kailash8b8de742019-07-30 08:54:51 -0700422 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700423 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700424
Zack Williamsb3292082019-10-11 17:15:18 -0700425 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700426
427 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700428 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700429 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700430 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700431
432- job-template:
433 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800434 name: 'verify_{project}_sanity-test{name-extension}'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700435 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700436 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800437 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700438 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800439 volthaHelmChartsChange: ''
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700440 kindVolthaChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800441 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700442
443 description: |
444 <!-- Managed by Jenkins Job Builder -->
445 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
446 E2E Validation for Voltha 2.X
447
448 properties:
449 - cord-infra-properties:
450 build-days-to-keep: '{build-days-to-keep}'
451 artifact-num-to-keep: '{artifact-num-to-keep}'
452
453 wrappers:
454 - lf-infra-wrappers:
455 build-timeout: '{build-timeout}'
456 jenkins-ssh-credential: '{jenkins-ssh-credential}'
457
458 parameters:
459 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700460 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700461 default: 'ubuntu16.04-basebuild-4c-8g'
462 description: 'Name of the Jenkins node to run the job on'
463
464 - string:
hwchiu14f97852019-10-08 10:51:11 -0700465 name: gerritProject
466 default: '$GERRIT_PROJECT'
467 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700468
469 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700470 name: gerritRefspec
471 default: '$GERRIT_REFSPEC'
472 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700473
474 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700475 name: extraHelmFlags
Andy Bavier10926f12020-03-27 16:53:43 -0700476 default: ''
Andy Bavierbedd0392019-10-16 13:58:18 -0700477 description: 'Helm flags to pass to ./voltha up'
478
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700479 - string:
480 name: volthaSystemTestsChange
481 default: '{volthaSystemTestsChange}'
482 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
483
484 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800485 name: volthaSystemTestsChange
486 default: '{volthaSystemTestsChange}'
487 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
488
489 - string:
490 name: volthaHelmChartsChange
491 default: '{volthaHelmChartsChange}'
492 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
493
494 - string:
495 name: branch
496 default: '{override-branch}'
497 description: 'Name of the branch to use'
498
499 # deprecated params (not used in master, remove after 2.6 support is dropped)
500 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700501 name: kindVolthaChange
502 default: '{kindVolthaChange}'
503 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
504
Kailashaad71012019-08-27 10:36:53 -0700505 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700506 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700507
Zack Williamsb3292082019-10-11 17:15:18 -0700508 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700509
510 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700511 - gerrit:
512 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700513 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700514 silent-start: true
515 trigger-on:
516 - patchset-created-event:
517 exclude-drafts: true
518 exclude-trivial-rebase: false
519 exclude-no-code-change: true
520 - draft-published-event
521 - comment-added-contains-event:
522 comment-contains-value: '(?i)^.*recheck$'
523 projects:
524 - project-compare-type: REG_EXP
525 project-pattern: '^{project}$'
526 branches:
527 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800528 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700529 file-paths:
530 - compare-type: REG_EXP
531 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700532
533# POD Per Patchset Pipeline Jobs
534
535- job-template:
Andy Bavier19c98a22019-11-11 13:57:11 -0700536 name: '{name}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700537 id: verify_physical_voltha_patchset_auto
538 description: |
539 <!-- Managed by Jenkins Job Builder -->
540 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
541 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
542 Created by Andy Bavier, andy@opennetworking.org <br />
543 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700544 sandbox: true
545 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700546 default-test-args: '-i sanityORDeleteOLT -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700547
548 properties:
549 - cord-infra-properties:
550 build-days-to-keep: '{build-days-to-keep}'
551 artifact-num-to-keep: '{artifact-num-to-keep}'
552
553 parameters:
554 - string:
555 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700556 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700557 description: 'Pod management node'
558
559 - string:
560 name: manifestUrl
561 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
562 description: 'URL to the repo manifest'
563
564 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700565 name: branch
566 default: '$GERRIT_BRANCH'
567 description: 'Name of the branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700568
569 - string:
570 name: gerritProject
571 default: '$GERRIT_PROJECT'
572 description: 'Name of the Gerrit project'
573
574 - string:
575 name: gerritChangeNumber
576 default: '$GERRIT_CHANGE_NUMBER'
577 description: 'Changeset number in Gerrit'
578
579 - string:
580 name: gerritPatchsetNumber
581 default: '$GERRIT_PATCHSET_NUMBER'
582 description: 'PatchSet number in Gerrit'
583
584 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700585 name: gerritRefspec
586 default: '$GERRIT_REFSPEC'
587 description: 'RefSpec number in Gerrit'
588
589 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700590 name: cordRepoUrl
591 default: '{gerrit-server-url}'
592 description: 'The URL of the CORD Project repository'
593
594 - string:
595 name: podName
596 default: '{config-pod}'
597
598 - string:
599 name: deploymentConfigFile
600 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
601 description: 'Path of deployment config file'
602
603 - string:
604 name: kindVolthaValuesFile
605 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
606 description: 'Path of kind-voltha values override file'
607
608 - string:
609 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700610 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700611 description: 'Path of SADIS config to load'
612
613 - string:
614 name: localConfigDir
615 default: null
616 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
617
618 - string:
619 name: configRepo
620 default: 'pod-configs'
621 description: 'A repository containing the config files, will be checked out if specified'
622
623 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700624 name: oltDebVersionMaster
625 default: '{oltDebVersionMaster}'
626 description: 'OLT Software version to install for master branch builds'
627
628 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700629 name: oltDebVersion
Andy Bavier893d2442020-05-21 12:41:17 -0700630 default: '{oltDebVersionVoltha23}'
631 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700632
633 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700634 name: profile
635 default: '{profile}'
636 description: 'Technology Profile pushed to the ETCD'
637
638 - string:
639 name: notificationEmail
640 default: 'andy@opennetworking.org'
641 description: ''
642
643 - bool:
644 name: reinstallOlt
645 default: true
646 description: "Re-install OLT software"
647
Zack Williams03ebb272020-03-27 09:42:33 -0700648 - string:
649 name: manualBranch
650 default: '{manualBranch}'
651 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700652
653 - string:
654 name: extraRobotArgs
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700655 default: '{default-test-args}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700656 description: 'Arguments to pass to robot'
657
658 project-type: pipeline
659 concurrent: true
660
661 dsl: !include-raw-escape: pipeline/{pipeline-script}
662
663 triggers:
664 - gerrit:
665 server-name: '{gerrit-server-name}'
666 dependency-jobs: '{dependency-jobs}'
667 silent-start: false
668 successful-message: "PASSED hardware test"
669 failure-message: "FAILED hardware test"
670 unstable-message: "UNSTABLE hardware test"
671 trigger-on:
672 - comment-added-event:
673 approval-category: 'Code-Review'
674 approval-value: '+2'
675 projects:
676 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800677 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700678 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700679 - branch-compare-type: REG_EXP
Andy Baviera654abd2020-04-03 12:43:54 -0700680 branch-pattern: '{all-branches-regexp}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700681
682
683- job-template:
684 name: '{name}'
685 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700686 description: |
687 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700688 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700689 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700690 Created by Andy Bavier, andy@opennetworking.org <br />
691 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700692 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700693 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700694 trigger-string: 'hardware test'
695 default-test-args: '-i sanityORDeleteOLT -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700696
697 properties:
698 - cord-infra-properties:
699 build-days-to-keep: '{build-days-to-keep}'
700 artifact-num-to-keep: '{artifact-num-to-keep}'
701
702 parameters:
703 - string:
Andy Bavier97ebbba2019-11-08 10:47:46 -0700704 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700705 default: '{build-node}'
Andy Bavier97ebbba2019-11-08 10:47:46 -0700706 description: 'Pod management node'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700707
708 - string:
709 name: manifestUrl
710 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
711 description: 'URL to the repo manifest'
712
713 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700714 name: branch
715 default: '$GERRIT_BRANCH'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700716 description: 'Name of the repo branch to use'
717
718 - string:
719 name: gerritProject
720 default: '$GERRIT_PROJECT'
721 description: 'Name of the Gerrit project'
722
723 - string:
724 name: gerritChangeNumber
725 default: '$GERRIT_CHANGE_NUMBER'
726 description: 'Changeset number in Gerrit'
727
728 - string:
729 name: gerritPatchsetNumber
730 default: '$GERRIT_PATCHSET_NUMBER'
731 description: 'PatchSet number in Gerrit'
732
733 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700734 name: gerritRefspec
735 default: '$GERRIT_REFSPEC'
736 description: 'RefSpec number in Gerrit'
737
738 - string:
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700739 name: cordRepoUrl
740 default: '{gerrit-server-url}'
741 description: 'The URL of the CORD Project repository'
742
743 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700744 name: podName
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700745 default: '{config-pod}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700746
747 - string:
748 name: deploymentConfigFile
749 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
750 description: 'Path of deployment config file'
751
752 - string:
753 name: kindVolthaValuesFile
754 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
755 description: 'Path of kind-voltha values override file'
756
757 - string:
758 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700759 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700760 description: 'Path of SADIS config to load'
761
762 - string:
763 name: localConfigDir
764 default: null
765 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
766
767 - string:
768 name: configRepo
769 default: 'pod-configs'
770 description: 'A repository containing the config files, will be checked out if specified'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700771
772 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700773 name: oltDebVersionMaster
774 default: '{oltDebVersionMaster}'
775 description: 'OLT Software version to install for master branch builds'
776
777 - string:
778 name: oltDebVersionVoltha23
779 default: '{oltDebVersionVoltha23}'
780 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700781
782 - string:
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700783 name: profile
784 default: '{profile}'
785 description: 'Technology Profile pushed to the ETCD'
786
787 - string:
788 name: notificationEmail
789 default: 'andy@opennetworking.org'
790 description: ''
791
792 - bool:
793 name: reinstallOlt
794 default: true
795 description: "Re-install OLT software"
796
Zack Williams03ebb272020-03-27 09:42:33 -0700797 - string:
798 name: manualBranch
799 default: '{manualBranch}'
800 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier19c98a22019-11-11 13:57:11 -0700801
Andy Bavier8c11d462019-12-17 08:19:34 -0700802 - string:
803 name: extraRobotArgs
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700804 default: '{default-test-args}'
Andy Bavier8c11d462019-12-17 08:19:34 -0700805 description: 'Arguments to pass to robot'
806
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700807 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700808 concurrent: true
809
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700810 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700811
Andy Bavier1f465592019-11-06 10:03:56 -0700812 triggers:
813 - gerrit:
814 server-name: '{gerrit-server-name}'
815 dependency-jobs: '{dependency-jobs}'
816 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700817 successful-message: "PASSED {trigger-string}"
818 failure-message: "FAILED {trigger-string}"
819 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700820 trigger-on:
821 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700822 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800823 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700824 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700825 projects:
826 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800827 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-api-server|voltha-system-tests|ofagent-py|ofagent-go|voltha-onos|kind-voltha|voltha-helm-charts)$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700828 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700829 - branch-compare-type: REG_EXP
Andy Baviera654abd2020-04-03 12:43:54 -0700830 branch-pattern: '{all-branches-regexp}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700831
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700832
833- job-template:
834 name: '{name}'
835 id: build_physical_voltha_manual
836 description: |
837 <!-- Managed by Jenkins Job Builder -->
838 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
839 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
840 Created by Andy Bavier, andy@opennetworking.org <br />
841 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700842 sandbox: true
Andy Bavier358aa0b2019-11-22 11:55:39 -0700843 pipeline-script: 'voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700844
845 properties:
846 - cord-infra-properties:
847 build-days-to-keep: '{build-days-to-keep}'
848 artifact-num-to-keep: '{artifact-num-to-keep}'
849
850 parameters:
851 - string:
852 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700853 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700854 description: 'Pod management node'
855
856 - string:
857 name: manifestUrl
858 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
859 description: 'URL to the repo manifest'
860
861 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700862 name: branch
863 default: "$GERRIT_BRANCH"
864 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700865
866 - string:
867 name: gerritProject
868 default: '$GERRIT_PROJECT'
869 description: 'Name of the Gerrit project'
870
871 - string:
872 name: gerritChangeNumber
873 default: '$GERRIT_CHANGE_NUMBER'
874 description: 'Changeset number in Gerrit'
875
876 - string:
877 name: gerritPatchsetNumber
878 default: '$GERRIT_PATCHSET_NUMBER'
879 description: 'PatchSet number in Gerrit'
880
881 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700882 name: gerritRefspec
883 default: '$GERRIT_REFSPEC'
884 description: 'RefSpec number in Gerrit'
885
886 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700887 name: cordRepoUrl
888 default: '{gerrit-server-url}'
889 description: 'The URL of the CORD Project repository'
890
891 - string:
892 name: podName
893 default: '{config-pod}'
894
895 - string:
896 name: deploymentConfigFile
897 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
898 description: 'Path of deployment config file'
899
900 - string:
901 name: kindVolthaValuesFile
902 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
903 description: 'Path of kind-voltha values override file'
904
905 - string:
906 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700907 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700908 description: 'Path of SADIS config to load'
909
910 - string:
911 name: localConfigDir
912 default: null
913 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
914
915 - string:
916 name: configRepo
917 default: 'pod-configs'
918 description: 'A repository containing the config files, will be checked out if specified'
919
920 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700921 name: oltDebVersionMaster
922 default: '{oltDebVersionMaster}'
923 description: 'OLT Software version to install for master branch builds'
924
925 - string:
926 name: oltDebVersionVoltha23
927 default: '{oltDebVersionVoltha23}'
928 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700929
930 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700931 name: profile
932 default: '{profile}'
933 description: 'Technology Profile pushed to the ETCD'
934
935 - string:
936 name: notificationEmail
937 default: 'andy@opennetworking.org'
938 description: ''
939
940 - bool:
941 name: reinstallOlt
942 default: false
943 description: "Re-install OLT software"
944
Zack Williams03ebb272020-03-27 09:42:33 -0700945 - string:
946 name: manualBranch
947 default: '{manualBranch}'
948 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700949
Andy Bavier8c11d462019-12-17 08:19:34 -0700950 - string:
951 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -0700952 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -0700953 description: 'Arguments to pass to robot'
954
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700955 project-type: pipeline
956 concurrent: true
957
958 dsl: !include-raw-escape: pipeline/{pipeline-script}