blob: d5b8bade4b5de036cd317f54ea54ec94824bb970 [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 Vemuri5fc1c6a2021-04-13 19:12:38 -070070 time-trigger: "H H * * *"
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 Vemuri5fc1c6a2021-04-13 19:12:38 -0700164 time-trigger: "H H * * *"
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
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700219 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700220 - 'verify_physical_voltha_patchset_auto':
221 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800222 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700223
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700224 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
225 - 'verify_physical_voltha_patchset_auto':
226 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700227 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
228 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700229 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
230 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
231 branch-pattern: voltha-2.7
232
233 # Per-patchset Pod builds on Tucson pod (master)
234 - 'verify_physical_voltha_patchset_manual':
235 name: 'verify_physical_voltha_patchset_manual'
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'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700239 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700240
241
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700242 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700243 - 'verify_physical_voltha_patchset_manual':
244 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700245 workflow: 'dt'
246 profile: 'Default'
247 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
248 trigger-string: 'DT hardware test'
249 default-test-args: '-i sanityDt -i PowerSwitch -X'
250 branch-pattern: master
251
252 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
253 - 'verify_physical_voltha_patchset_manual':
254 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700255 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
256 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700257 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700258 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
259 trigger-string: 'hardware test'
260 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
261 branch-pattern: voltha-2.7
262
263
264 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
265 - 'verify_physical_voltha_patchset_manual':
266 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
267 workflow: 'dt'
268 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
269 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
270 profile: 'Default'
271 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700272 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800273 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700274 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700275
276 # Manual build job for Tucson pod
277 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700278 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700279 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700280 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700281 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700282 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
283 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700284 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800285 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700286
Kailash8b8de742019-07-30 08:54:51 -0700287- job-template:
Kailashaad71012019-08-27 10:36:53 -0700288 id: 'voltha-periodic-test'
289 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700290 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700291 test-runs: 1
292 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700293 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700294 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700295 volthaSystemTestsChange: ''
296 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200297 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700298 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800299 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800300 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700301
Kailash8b8de742019-07-30 08:54:51 -0700302 description: |
303 <!-- Managed by Jenkins Job Builder -->
304 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
305 E2E Validation for Voltha 2.X
306
307 properties:
308 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800309 build-days-to-keep: '{big-build-days-to-keep}'
310 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700311
312 wrappers:
313 - lf-infra-wrappers:
314 build-timeout: '{build-timeout}'
315 jenkins-ssh-credential: '{jenkins-ssh-credential}'
316
317 parameters:
318 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700319 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700320 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700321 description: 'Name of the Jenkins node to run the job on'
322
323 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700324 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200325 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700326 description: 'Helm flags to pass to ./voltha up'
327
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800328 - bool:
329 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800330 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800331 description: "Run alarm based tests when true"
332
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700333 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700334 name: makeTarget
335 default: '{make-target}'
336 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700337
Andy Bavier4c8b3232019-11-22 16:17:47 -0700338 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800339 name: makeFailtestTarget
340 default: '{make-target-failtest}'
341 description: 'Makefile target to invoke during failure/based test'
342
343 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800344 name: makeMultiOltTarget
345 default: '{make-target-multipleolt}'
346 description: 'Makefile target to invoke during multiple olt test'
347
348 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800349 name: makeErrortestTarget
350 default: '{make-target-errortest}'
351 description: 'Makefile target to invoke during error test'
352
353 - string:
354 name: makeAlarmtestTarget
355 default: '{make-target-alarmtest}'
356 description: 'Makefile target to invoke during alarm test'
357
358 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000359 name: make1t4gemTestTarget
360 default: '{make-target-1t4gemtest}'
361 description: 'Makefile target to invoke during 1t4gem test'
362
363 - string:
364 name: make1t8gemTestTarget
365 default: '{make-target-1t8gemtest}'
366 description: 'Makefile target to invoke during 1t8gem test'
367
368 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000369 name: makeReconcileTestTarget
370 default: '{make-target-reconciletest}'
371 description: 'Makefile target to invoke during reconcile test'
372
373 - string:
374 name: makeReconcileDtTestTarget
375 default: '{make-target-reconciledttest}'
376 description: 'Makefile target to invoke during reconcile dt test'
377
378 - string:
379 name: makeReconcileTtTestTarget
380 default: '{make-target-reconciletttest}'
381 description: 'Makefile target to invoke during reconcile tt test'
382
383 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700384 name: manifestUrl
385 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700386 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700387
388 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700389 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700390 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700391 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700392
Andy Bavier3708d072019-12-10 15:22:18 -0700393 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700394 name: gerritProject
395 default: '{gerrit-project}'
396 description: 'Name of the Gerrit project'
397
398 - string:
399 name: gerritChangeNumber
400 default: ''
401 description: 'Changeset number in Gerrit'
402
403 - string:
404 name: gerritPatchsetNumber
405 default: ''
406 description: 'PatchSet number in Gerrit'
407
408 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700409 name: testRuns
410 default: '{test-runs}'
411 description: 'How many times to repeat the tests'
412
413 - string:
414 name: extraRobotArgs
415 default: '{robot-args}'
416 description: 'Arguments to pass to robot'
417
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700418 - string:
419 name: workFlow
420 default: '{work-flow}'
421 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700422
pierventref48ebc12020-07-17 16:01:32 +0200423 - string:
424 name: karafHome
425 default: '{karaf-home}'
426 description: 'Karaf home'
427
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700428 - string:
429 name: volthaSystemTestsChange
430 default: '{volthaSystemTestsChange}'
431 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
432
433 - string:
434 name: kindVolthaChange
435 default: '{kindVolthaChange}'
436 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
437
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800438 - string:
439 name: olts
440 default: '{olts}'
441 description: 'How many BBSim instances to run'
442
Kailash8b8de742019-07-30 08:54:51 -0700443 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700444 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700445
Zack Williamsb3292082019-10-11 17:15:18 -0700446 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700447
448 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700449 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700450 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700451 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700452
453- job-template:
454 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800455 name: 'verify_{project}_sanity-test{name-extension}'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700456 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700457 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800458 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700459 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800460 volthaHelmChartsChange: ''
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700461 kindVolthaChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800462 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700463
464 description: |
465 <!-- Managed by Jenkins Job Builder -->
466 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
467 E2E Validation for Voltha 2.X
468
469 properties:
470 - cord-infra-properties:
471 build-days-to-keep: '{build-days-to-keep}'
472 artifact-num-to-keep: '{artifact-num-to-keep}'
473
474 wrappers:
475 - lf-infra-wrappers:
476 build-timeout: '{build-timeout}'
477 jenkins-ssh-credential: '{jenkins-ssh-credential}'
478
479 parameters:
480 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700481 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700482 default: 'ubuntu16.04-basebuild-4c-8g'
483 description: 'Name of the Jenkins node to run the job on'
484
485 - string:
hwchiu14f97852019-10-08 10:51:11 -0700486 name: gerritProject
487 default: '$GERRIT_PROJECT'
488 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700489
490 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700491 name: gerritRefspec
492 default: '$GERRIT_REFSPEC'
493 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700494
495 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700496 name: extraHelmFlags
Andy Bavier10926f12020-03-27 16:53:43 -0700497 default: ''
Andy Bavierbedd0392019-10-16 13:58:18 -0700498 description: 'Helm flags to pass to ./voltha up'
499
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700500 - string:
501 name: volthaSystemTestsChange
502 default: '{volthaSystemTestsChange}'
503 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
504
505 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800506 name: volthaHelmChartsChange
507 default: '{volthaHelmChartsChange}'
508 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
509
510 - string:
511 name: branch
512 default: '{override-branch}'
513 description: 'Name of the branch to use'
514
515 # deprecated params (not used in master, remove after 2.6 support is dropped)
516 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700517 name: kindVolthaChange
518 default: '{kindVolthaChange}'
519 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
520
Kailashaad71012019-08-27 10:36:53 -0700521 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700522 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700523
Zack Williamsb3292082019-10-11 17:15:18 -0700524 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700525
526 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700527 - gerrit:
528 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700529 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700530 silent-start: true
531 trigger-on:
532 - patchset-created-event:
533 exclude-drafts: true
534 exclude-trivial-rebase: false
535 exclude-no-code-change: true
536 - draft-published-event
537 - comment-added-contains-event:
538 comment-contains-value: '(?i)^.*recheck$'
539 projects:
540 - project-compare-type: REG_EXP
541 project-pattern: '^{project}$'
542 branches:
543 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800544 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700545 file-paths:
546 - compare-type: REG_EXP
547 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700548
549# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700550# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
551- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
552 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700553 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:
Zack Williams03ebb272020-03-27 09:42:33 -0700560 name: branch
561 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700562 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700563
564 - string:
565 name: gerritProject
566 default: '$GERRIT_PROJECT'
567 description: 'Name of the Gerrit project'
568
569 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700570 name: gerritRefspec
571 default: '$GERRIT_REFSPEC'
572 description: 'RefSpec number in Gerrit'
573
574 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700575 name: gerritComment
576 default: '$GERRIT_EVENT_COMMENT_TEXT'
577 description: 'RefSpec number in Gerrit'
578
579 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700580 name: cordRepoUrl
581 default: '{gerrit-server-url}'
582 description: 'The URL of the CORD Project repository'
583
584 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700585 name: configBaseDir
586 default: 'pod-configs'
587 description: 'The directory inside the POD configs repository'
588
589 - string:
590 name: configDeploymentDir
591 default: 'deployment-configs'
592 description: 'The deployment configs folder'
593
594 - string:
595 name: configKubernetesDir
596 default: 'kubernetes-configs'
597 description: 'The kubernetes config folder'
598
599 - string:
600 name: configFileName
601 default: '{config-pod}'
602 description: 'The config file'
603
604 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700605 name: podName
606 default: '{config-pod}'
607
608 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700609 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:
Andy Bavier893d2442020-05-21 12:41:17 -0700614 name: oltDebVersionMaster
615 default: '{oltDebVersionMaster}'
616 description: 'OLT Software version to install for master branch builds'
617
618 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700619 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700620 default: '{oltDebVersionVoltha23}'
621 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700622
623 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700624 name: profile
625 default: '{profile}'
626 description: 'Technology Profile pushed to the ETCD'
627
628 - string:
629 name: notificationEmail
630 default: 'andy@opennetworking.org'
631 description: ''
632
633 - bool:
634 name: reinstallOlt
635 default: true
636 description: "Re-install OLT software"
637
Zack Williams03ebb272020-03-27 09:42:33 -0700638 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700639 name: extraRobotArgs
640 default: '{default-test-args}'
641 description: 'Arguments to pass to robot'
642
643 - string:
644 name: volthaSystemTestsChange
645 default: '{volthaSystemTestsChange}'
646 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
647
648 - string:
649 name: volthaHelmChartsChange
650 default: '{volthaHelmChartsChange}'
651 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
652
653 - string:
654 name: workflow
655 default: '{workflow}'
656 description: 'Installs and uses the specified work flow on the POD'
657
658 # deprecated parameters, remove after VOLTHA-2.8 is released
659 - string:
660 name: deploymentConfigFile
661 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
662 description: 'Path of deployment config file'
663
664 - string:
665 name: kindVolthaValuesFile
666 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
667 description: 'Path of kind-voltha values override file'
668
669 - string:
670 name: manifestUrl
671 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
672 description: 'URL to the repo manifest'
673
674 - string:
675 name: gerritChangeNumber
676 default: '$GERRIT_CHANGE_NUMBER'
677 description: 'Changeset number in Gerrit'
678
679 - string:
680 name: gerritPatchsetNumber
681 default: '$GERRIT_PATCHSET_NUMBER'
682 description: 'PatchSet number in Gerrit'
683
684 - string:
685 name: localConfigDir
686 default: null
687 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
688
689 - string:
690 name: configRepo
691 default: 'pod-configs'
692 description: 'A repository containing the config files, will be checked out if specified'
693
694 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700695 name: manualBranch
696 default: '{manualBranch}'
697 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700698
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700699- job-template:
700 name: '{name}'
701 id: verify_physical_voltha_patchset_auto
702 description: |
703 <!-- Managed by Jenkins Job Builder -->
704 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
705 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
706 Created by Andy Bavier, andy@opennetworking.org <br />
707 Copyright (c) 2019 Open Networking Foundation (ONF)
708 sandbox: true
709 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
710 default-test-args: '-i sanityORDeleteOLT -X'
711 branch-pattern: '{all-branches-regexp}'
712 build-node: 'tucson-pod'
713 config-pod: 'tucson-pod'
714 workflow: 'att'
715 profile: 'Default'
716 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
717 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
718 volthaSystemTestsChange: ''
719 volthaHelmChartsChange: ''
720
721 properties:
722 - cord-infra-properties:
723 build-days-to-keep: '{build-days-to-keep}'
724 artifact-num-to-keep: '{artifact-num-to-keep}'
725
726 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700727
728 project-type: pipeline
729 concurrent: true
730
731 dsl: !include-raw-escape: pipeline/{pipeline-script}
732
733 triggers:
734 - gerrit:
735 server-name: '{gerrit-server-name}'
736 dependency-jobs: '{dependency-jobs}'
737 silent-start: false
738 successful-message: "PASSED hardware test"
739 failure-message: "FAILED hardware test"
740 unstable-message: "UNSTABLE hardware test"
741 trigger-on:
742 - comment-added-event:
743 approval-category: 'Code-Review'
744 approval-value: '+2'
745 projects:
746 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800747 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700748 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700749 - branch-compare-type: REG_EXP
Andy Baviera654abd2020-04-03 12:43:54 -0700750 branch-pattern: '{all-branches-regexp}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700751
752
753- job-template:
754 name: '{name}'
755 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700756 description: |
757 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700758 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700759 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700760 Created by Andy Bavier, andy@opennetworking.org <br />
761 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700762 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700763 build-node: 'tucson-pod'
764 config-pod: 'tucson-pod'
765 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
766 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
767 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700768 trigger-string: 'hardware test'
769 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700770 branch-pattern: '{all-branches-regexp}'
771 volthaSystemTestsChange: ''
772 volthaHelmChartsChange: ''
773 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700774
775 properties:
776 - cord-infra-properties:
777 build-days-to-keep: '{build-days-to-keep}'
778 artifact-num-to-keep: '{artifact-num-to-keep}'
779
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700780 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700781
Andy Bavier8c11d462019-12-17 08:19:34 -0700782
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700783 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700784 concurrent: true
785
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700786 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700787
Andy Bavier1f465592019-11-06 10:03:56 -0700788 triggers:
789 - gerrit:
790 server-name: '{gerrit-server-name}'
791 dependency-jobs: '{dependency-jobs}'
792 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700793 successful-message: "PASSED {trigger-string}"
794 failure-message: "FAILED {trigger-string}"
795 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700796 trigger-on:
797 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700798 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800799 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700800 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700801 projects:
802 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800803 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 -0700804 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700805 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700806 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700807
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700808
809- job-template:
810 name: '{name}'
811 id: build_physical_voltha_manual
812 description: |
813 <!-- Managed by Jenkins Job Builder -->
814 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
815 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
816 Created by Andy Bavier, andy@opennetworking.org <br />
817 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700818 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700819 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700820
821 properties:
822 - cord-infra-properties:
823 build-days-to-keep: '{build-days-to-keep}'
824 artifact-num-to-keep: '{artifact-num-to-keep}'
825
826 parameters:
827 - string:
828 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700829 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700830 description: 'Pod management node'
831
832 - string:
833 name: manifestUrl
834 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
835 description: 'URL to the repo manifest'
836
837 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700838 name: branch
839 default: "$GERRIT_BRANCH"
840 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700841
842 - string:
843 name: gerritProject
844 default: '$GERRIT_PROJECT'
845 description: 'Name of the Gerrit project'
846
847 - string:
848 name: gerritChangeNumber
849 default: '$GERRIT_CHANGE_NUMBER'
850 description: 'Changeset number in Gerrit'
851
852 - string:
853 name: gerritPatchsetNumber
854 default: '$GERRIT_PATCHSET_NUMBER'
855 description: 'PatchSet number in Gerrit'
856
857 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700858 name: gerritRefspec
859 default: '$GERRIT_REFSPEC'
860 description: 'RefSpec number in Gerrit'
861
862 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700863 name: cordRepoUrl
864 default: '{gerrit-server-url}'
865 description: 'The URL of the CORD Project repository'
866
867 - string:
868 name: podName
869 default: '{config-pod}'
870
871 - string:
872 name: deploymentConfigFile
873 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
874 description: 'Path of deployment config file'
875
876 - string:
877 name: kindVolthaValuesFile
878 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
879 description: 'Path of kind-voltha values override file'
880
881 - string:
882 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700883 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700884 description: 'Path of SADIS config to load'
885
886 - string:
887 name: localConfigDir
888 default: null
889 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
890
891 - string:
892 name: configRepo
893 default: 'pod-configs'
894 description: 'A repository containing the config files, will be checked out if specified'
895
896 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700897 name: oltDebVersionMaster
898 default: '{oltDebVersionMaster}'
899 description: 'OLT Software version to install for master branch builds'
900
901 - string:
902 name: oltDebVersionVoltha23
903 default: '{oltDebVersionVoltha23}'
904 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700905
906 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700907 name: profile
908 default: '{profile}'
909 description: 'Technology Profile pushed to the ETCD'
910
911 - string:
912 name: notificationEmail
913 default: 'andy@opennetworking.org'
914 description: ''
915
916 - bool:
917 name: reinstallOlt
918 default: false
919 description: "Re-install OLT software"
920
Zack Williams03ebb272020-03-27 09:42:33 -0700921 - string:
922 name: manualBranch
923 default: '{manualBranch}'
924 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700925
Andy Bavier8c11d462019-12-17 08:19:34 -0700926 - string:
927 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -0700928 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -0700929 description: 'Arguments to pass to robot'
930
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700931 project-type: pipeline
932 concurrent: true
933
934 dsl: !include-raw-escape: pipeline/{pipeline-script}