blob: 940b610ee6d37bf2c63629fe0476bee1fbf873af [file] [log] [blame]
Kailash Khalasi417d13f2018-04-17 12:38:48 -07001---
2# POD Nightly Build Pipeline Jobs
3
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -080013 build-days-to-keep: '{big-build-days-to-keep}'
14 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash Khalasi417d13f2018-04-17 12:38:48 -070015
Kailash Khalasi417d13f2018-04-17 12:38:48 -070016
17- job-template:
Suchitra Vemurifad6ee42020-09-01 22:14:53 -070018 name: 'build_{profile}{name-extension}_{config-pod}_{branch}_manual'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070019 id: build_pod_manual
20 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -070021 Manual Build on POD {config-pod} using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -070022 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070023 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
24 Copyright (c) 2018 Open Networking Foundation (ONF)
25
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +010026 openoltAdapterChart: onf/voltha-adapter-openolt
27
Andrea Campanella20361592021-08-26 18:45:28 +020028 oltAdapterReleaseName: open-olt
29
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070030 <<: *test-pipe-job-boiler-plate
31
32 parameters:
33 - string:
Zack Williams8ef79812019-10-29 11:09:18 -070034 name: buildNode
35 default: '{build-node}'
36 description: 'Name of the Jenkins executor node to run the job on'
37
38 - string:
hwchiu14f97852019-10-08 10:51:11 -070039 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -070040 default: '{build-node}'
41 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070042
43 - string:
hwchiu14f97852019-10-08 10:51:11 -070044 name: cordRepoUrl
45 default: '{gerrit-server-url}'
46 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070047
48 - string:
hwchiu14f97852019-10-08 10:51:11 -070049 name: configBaseDir
50 default: 'pod-configs'
51 description: 'The directory inside the POD configs repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070052
53 - string:
hwchiu14f97852019-10-08 10:51:11 -070054 name: configDeploymentDir
55 default: 'deployment-configs'
56 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070057
58 - string:
hwchiu14f97852019-10-08 10:51:11 -070059 name: configKubernetesDir
60 default: 'kubernetes-configs'
61 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070062
63 - string:
hwchiu14f97852019-10-08 10:51:11 -070064 name: configToscaDir
65 default: 'tosca-configs'
66 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -070067
68 - string:
hwchiu14f97852019-10-08 10:51:11 -070069 name: configFileName
70 default: '{config-pod}'
71 description: 'The config file'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070072
73 - string:
hwchiu14f97852019-10-08 10:51:11 -070074 name: branch
75 default: '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070076
Kailash Khalasi9559f362018-09-14 13:53:28 -070077 - string:
hwchiu14f97852019-10-08 10:51:11 -070078 name: helmRepoUrl
79 default: 'https://charts.opencord.org'
80 description: 'URL where helm-charts are published'
Kailash876b9012019-03-13 13:22:34 -070081
82 - string:
hwchiu14f97852019-10-08 10:51:11 -070083 name: profile
84 default: '{profile}'
85 description: 'Profile in which this job installs'
Kailash Khalasi9559f362018-09-14 13:53:28 -070086
Kailash Khalasice9eaec2018-09-14 12:01:56 -070087 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070088 name: installMonitoringAndLogging
89 default: false
90 description: "Wether to install prometheus and Elk-stack"
91
92 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070093 name: configurePod
94 default: true
95 description: "Configure POD via TOSCA post build"
96
Kailashdee47a02018-11-29 08:46:32 -080097 - bool:
hwchiu14f97852019-10-08 10:51:11 -070098 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -070099 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700100 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700101
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800102 - bool:
103 name: installBBSim
104 default: false
105 description: "Install the BBSim container"
106
107 - string:
108 name: onuNumber
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800109 default: '{num-of-onus}'
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800110 description: "Onus per PonPort"
111
Suchitra Vemurie0451712020-05-06 22:51:23 -0700112 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800113 name: ponNumber
114 default: '{num-of-ponports}'
115 description: "Number of PON Ports"
116
117 - string:
Suchitra Vemurie0451712020-05-06 22:51:23 -0700118 name: workFlow
119 default: '{work-flow}'
120 description: 'Installs and uses the specified work flow on the POD'
121
122 - string:
123 name: NumOfOpenOnu
124 default: '{num-of-openonu}'
125 description: 'Installs the specified Number of OpenOnu Adapters'
126
127 - string:
128 name: NumOfOnos
129 default: '{num-of-onos}'
130 description: 'Installs the specified Number of ONOS instances'
131
Suchitra Vemuria0d92052020-07-15 11:36:12 -0700132 - bool:
133 name: inBandManagement
134 default: '{in-band-management}'
135 description: 'Indicates whether POD is configured for in band management'
136
Suchitra Vemurie0451712020-05-06 22:51:23 -0700137 - string:
138 name: NumOfAtomix
139 default: '{num-of-atomix}'
140 description: 'Installs the specified Number of Atomix Instances'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100141
142 - string:
143 name: openoltAdapterChart
144 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200145 description: 'Olt adapter chart name (or location on file system)'
146
147 - string:
148 name: oltAdapterReleaseName
149 default: '{oltAdapterReleaseName}'
150 description: 'Olt adapter release name'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100151
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700152 concurrent: true
153
154 pipeline-scm:
155 script-path: '{Jenkinsfile}'
156 scm:
157 - git:
hwchiu14f97852019-10-08 10:51:11 -0700158 url: '{gerrit-server-url}/{test-repo}'
159 branches:
160 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700161
162- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700163 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700164 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700165 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700166 Nightly Kubernetes tests on {config-pod} using {Jenkinsfile}<br /><br />
167 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml<br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700168 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
169 Copyright (c) 2017 Open Networking Foundation (ONF)
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100170 disabled: '{disable-job}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700171
172 <<: *test-pipe-job-boiler-plate
173
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100174 openoltAdapterChart: onf/voltha-adapter-openolt
175
Andrea Campanella20361592021-08-26 18:45:28 +0200176 oltAdapterReleaseName: open-olt
177
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700178 parameters:
179 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700180 name: buildNode
181 default: '{build-node}'
182 description: 'Name of the Jenkins executor node to run the job on'
183
184 - string:
hwchiu14f97852019-10-08 10:51:11 -0700185 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700186 default: '{build-node}'
187 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700188
189 - string:
hwchiu14f97852019-10-08 10:51:11 -0700190 name: cordRepoUrl
191 default: '{gerrit-server-url}'
192 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700193
194 - string:
hwchiu14f97852019-10-08 10:51:11 -0700195 name: configBaseDir
196 default: 'pod-configs'
197 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700198
199 - string:
hwchiu14f97852019-10-08 10:51:11 -0700200 name: configDeploymentDir
201 default: 'deployment-configs'
202 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700203
204 - string:
hwchiu14f97852019-10-08 10:51:11 -0700205 name: configKubernetesDir
206 default: 'kubernetes-configs'
207 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700208
209 - string:
hwchiu14f97852019-10-08 10:51:11 -0700210 name: configToscaDir
211 default: 'tosca-configs'
212 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700213
214 - string:
hwchiu14f97852019-10-08 10:51:11 -0700215 name: configFileName
216 default: '{config-pod}'
217 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700218
219 - string:
hwchiu14f97852019-10-08 10:51:11 -0700220 name: oltDebVersion
221 default: '{oltDebVersion}'
222 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700223
224 - string:
hwchiu14f97852019-10-08 10:51:11 -0700225 name: branch
226 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700227
228 - string:
hwchiu14f97852019-10-08 10:51:11 -0700229 name: helmRepoUrl
230 default: 'https://charts.opencord.org'
231 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700232
233 - string:
hwchiu14f97852019-10-08 10:51:11 -0700234 name: profile
235 default: '{profile}'
236 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700237
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700238 - bool:
239 name: configurePod
240 default: true
241 description: "Configure POD via TOSCA post build"
242
Kailashdee47a02018-11-29 08:46:32 -0800243 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700244 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700245 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700246 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800247
248 - bool:
249 name: installBBSim
250 default: false
251 description: "Install the BBSim container"
252
253 - string:
254 name: onuNumber
255 default: '16'
256 description: "Onus per PonPort"
257
Kailash Khalasi9559f362018-09-14 13:53:28 -0700258 - string:
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100259 name: openoltAdapterChart
260 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200261 description: 'Olt adapter chart name (or location on file system)'
262
263 - string:
264 name: oltAdapterReleaseName
265 default: '{oltAdapterReleaseName}'
266 description: 'Olt adapter release name'
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100267
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700268 concurrent: true
269
270 pipeline-scm:
271 script-path: '{Jenkinsfile}'
272 scm:
273 - git:
hwchiu14f97852019-10-08 10:51:11 -0700274 url: '{gerrit-server-url}/{test-repo}'
275 branches:
276 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700277
278 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700279 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700280 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700281 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700282
283- job-template:
284 name: 'build_{profile}_{config-pod}_{branch}_test'
285 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100286
287 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700288 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700289 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700290 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700291 Created by Kailash Khalasi - kailash@opennetworking.org <br />
292 Copyright (c) 2017 Open Networking Foundation (ONF)
293
294 <<: *test-pipe-job-boiler-plate
295
296 parameters:
297 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700298 name: buildNode
299 default: '{build-node}'
300 description: 'Name of the Jenkins executor node to run the job on'
301
302 - string:
hwchiu14f97852019-10-08 10:51:11 -0700303 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700304 default: '{build-node}'
305 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700306
307 - string:
hwchiu14f97852019-10-08 10:51:11 -0700308 name: cordRepoUrl
309 default: '{gerrit-server-url}'
310 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700311
312 - string:
hwchiu14f97852019-10-08 10:51:11 -0700313 name: configBaseDir
314 default: 'pod-configs'
315 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700316
317 - string:
hwchiu14f97852019-10-08 10:51:11 -0700318 name: configDeploymentDir
319 default: 'deployment-configs'
320 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700321
322 - string:
hwchiu14f97852019-10-08 10:51:11 -0700323 name: configKubernetesDir
324 default: 'kubernetes-configs'
325 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700326
327 - string:
hwchiu14f97852019-10-08 10:51:11 -0700328 name: configToscaDir
329 default: 'tosca-configs'
330 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700331
332 - string:
hwchiu14f97852019-10-08 10:51:11 -0700333 name: configFileName
334 default: '{config-pod}'
335 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700336
337 - string:
hwchiu14f97852019-10-08 10:51:11 -0700338 name: branch
339 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700340
Kailash Khalasi9559f362018-09-14 13:53:28 -0700341 concurrent: true
342
343 pipeline-scm:
344 script-path: '{Jenkinsfile}'
345 scm:
346 - git:
hwchiu14f97852019-10-08 10:51:11 -0700347 url: '{gerrit-server-url}/{test-repo}'
348 branches:
349 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700350
351 triggers:
352 - reverse:
353 jobs: 'build_{profile}_{config-pod}_{branch}'
354 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800355
356- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800357 name: 'build_{config-pod}_seba_release_{release}'
358 id: build_pod_manual_release
359 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700360 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700361 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800362 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
363 Copyright (c) 2018 Open Networking Foundation (ONF)
364
365 <<: *test-pipe-job-boiler-plate
366
367 parameters:
368 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700369 name: buildNode
370 default: '{build-node}'
371 description: 'Name of the Jenkins executor node to run the job on'
372
373 - string:
hwchiu14f97852019-10-08 10:51:11 -0700374 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700375 default: '{build-node}'
376 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800377
378 - string:
hwchiu14f97852019-10-08 10:51:11 -0700379 name: cordRepoUrl
380 default: '{gerrit-server-url}'
381 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800382
383 - string:
hwchiu14f97852019-10-08 10:51:11 -0700384 name: configBaseDir
385 default: 'pod-configs'
386 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800387
388 - string:
hwchiu14f97852019-10-08 10:51:11 -0700389 name: configDeploymentDir
390 default: 'deployment-configs'
391 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800392
393 - string:
hwchiu14f97852019-10-08 10:51:11 -0700394 name: configKubernetesDir
395 default: 'kubernetes-configs'
396 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800397
398 - string:
hwchiu14f97852019-10-08 10:51:11 -0700399 name: configToscaDir
400 default: 'tosca-configs'
401 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800402
403 - string:
hwchiu14f97852019-10-08 10:51:11 -0700404 name: configFileName
405 default: '{config-pod}'
406 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800407
408 - string:
hwchiu14f97852019-10-08 10:51:11 -0700409 name: oltDebVersion
410 default: '{oltDebVersion}'
411 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800412
413 - string:
hwchiu14f97852019-10-08 10:51:11 -0700414 name: branch
415 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800416
Kailashd1963d12018-12-17 15:11:01 -0800417 - bool:
418 name: configurePod
419 default: true
420 description: "Configure POD via TOSCA post build"
421
422 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700423 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700424 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700425 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800426
427 - bool:
428 name: installBBSim
429 default: false
430 description: "Install the BBSim container"
431
432 - string:
433 name: onuNumber
434 default: '16'
435 description: "Onus per PonPort"
436
437 concurrent: true
438
439 pipeline-scm:
440 script-path: '{Jenkinsfile}'
441 scm:
442 - git:
hwchiu14f97852019-10-08 10:51:11 -0700443 url: '{gerrit-server-url}/cord-tester'
444 branches:
445 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800446
447- job-template:
448 name: 'build_{config-pod}_seba_release_{release}'
449 id: build_pod_release
450 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700451 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700452 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800453 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
454 Copyright (c) 2018 Open Networking Foundation (ONF)
455
456 <<: *test-pipe-job-boiler-plate
457
458 parameters:
459 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700460 name: buildNode
461 default: '{build-node}'
462 description: 'Name of the Jenkins executor node to run the job on'
463
464 - string:
hwchiu14f97852019-10-08 10:51:11 -0700465 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700466 default: '{build-node}'
467 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800468
469 - string:
hwchiu14f97852019-10-08 10:51:11 -0700470 name: cordRepoUrl
471 default: '{gerrit-server-url}'
472 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800473
474 - string:
hwchiu14f97852019-10-08 10:51:11 -0700475 name: configBaseDir
476 default: 'pod-configs'
477 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800478
479 - string:
hwchiu14f97852019-10-08 10:51:11 -0700480 name: configDeploymentDir
481 default: 'deployment-configs'
482 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800483
484 - string:
hwchiu14f97852019-10-08 10:51:11 -0700485 name: configKubernetesDir
486 default: 'kubernetes-configs'
487 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800488
489 - string:
hwchiu14f97852019-10-08 10:51:11 -0700490 name: configToscaDir
491 default: 'tosca-configs'
492 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800493
494 - string:
hwchiu14f97852019-10-08 10:51:11 -0700495 name: configFileName
496 default: '{config-pod}'
497 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800498
499 - string:
hwchiu14f97852019-10-08 10:51:11 -0700500 name: oltDebVersion
501 default: '{oltDebVersion}'
502 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800503
504 - string:
hwchiu14f97852019-10-08 10:51:11 -0700505 name: helmRepoUrl
506 default: 'https://charts.opencord.org'
507 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700508
509 - string:
hwchiu14f97852019-10-08 10:51:11 -0700510 name: branch
511 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800512
Kailashd1963d12018-12-17 15:11:01 -0800513 - bool:
514 name: configurePod
515 default: true
516 description: "Configure POD via TOSCA post build"
517
518 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700519 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700520 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700521 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800522
523 - bool:
524 name: installBBSim
525 default: false
526 description: "Install the BBSim container"
527
528 - string:
529 name: onuNumber
530 default: '16'
531 description: "Onus per PonPort"
532
533 concurrent: true
534
535 pipeline-scm:
536 script-path: '{Jenkinsfile}'
537 scm:
538 - git:
hwchiu14f97852019-10-08 10:51:11 -0700539 url: '{gerrit-server-url}/cord-tester'
540 branches:
541 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800542
543 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700544 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800545 TZ=America/Los_Angeles
546 H {time} * * *
547
548- job-template:
549 name: 'build_{config-pod}_seba_release_{release}_test'
550 id: build_pod_release_test
551 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700552 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700553 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800554 Created by Kailash Khalasi - kailash@opennetworking.org <br />
555 Copyright (c) 2017 Open Networking Foundation (ONF)
556
557 <<: *test-pipe-job-boiler-plate
558
559 parameters:
560 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700561 name: buildNode
562 default: '{build-node}'
563 description: 'Name of the Jenkins executor node to run the job on'
564
565 - string:
hwchiu14f97852019-10-08 10:51:11 -0700566 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700567 default: '{build-node}'
568 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800569
570 - string:
hwchiu14f97852019-10-08 10:51:11 -0700571 name: cordRepoUrl
572 default: '{gerrit-server-url}'
573 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800574
575 - string:
hwchiu14f97852019-10-08 10:51:11 -0700576 name: configBaseDir
577 default: 'pod-configs'
578 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800579
580 - string:
hwchiu14f97852019-10-08 10:51:11 -0700581 name: configDeploymentDir
582 default: 'deployment-configs'
583 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800584
585 - string:
hwchiu14f97852019-10-08 10:51:11 -0700586 name: configKubernetesDir
587 default: 'kubernetes-configs'
588 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800589
590 - string:
hwchiu14f97852019-10-08 10:51:11 -0700591 name: configToscaDir
592 default: 'tosca-configs'
593 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800594
595 - string:
hwchiu14f97852019-10-08 10:51:11 -0700596 name: configFileName
597 default: '{config-pod}'
598 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800599
600 - string:
hwchiu14f97852019-10-08 10:51:11 -0700601 name: branch
602 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800603
Kailashd1963d12018-12-17 15:11:01 -0800604 concurrent: true
605
606 pipeline-scm:
607 script-path: '{Jenkinsfile}'
608 scm:
609 - git:
hwchiu14f97852019-10-08 10:51:11 -0700610 url: '{gerrit-server-url}/cord-tester'
611 branches:
612 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800613
614 triggers:
615 - reverse:
616 jobs: 'build_{config-pod}_seba_release_{release}'
617 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800618
619
620- job-template:
621 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
622 id: build_pod_release_test_microcharts
623 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700624 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700625 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800626 Created by Kailash Khalasi - kailash@opennetworking.org <br />
627 Copyright (c) 2017 Open Networking Foundation (ONF)
628
629 <<: *test-pipe-job-boiler-plate
630
631 parameters:
632 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700633 name: buildNode
634 default: '{build-node}'
635 description: 'Name of the Jenkins executor node to run the job on'
636
637 - string:
hwchiu14f97852019-10-08 10:51:11 -0700638 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700639 default: '{build-node}'
640 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800641
642 - string:
hwchiu14f97852019-10-08 10:51:11 -0700643 name: cordRepoUrl
644 default: '{gerrit-server-url}'
645 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800646
647 - string:
hwchiu14f97852019-10-08 10:51:11 -0700648 name: configBaseDir
649 default: 'pod-configs'
650 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800651
652 - string:
hwchiu14f97852019-10-08 10:51:11 -0700653 name: configDeploymentDir
654 default: 'deployment-configs'
655 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800656
657 - string:
hwchiu14f97852019-10-08 10:51:11 -0700658 name: configKubernetesDir
659 default: 'kubernetes-configs'
660 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800661
662 - string:
hwchiu14f97852019-10-08 10:51:11 -0700663 name: configToscaDir
664 default: 'tosca-configs'
665 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800666
667 - string:
hwchiu14f97852019-10-08 10:51:11 -0700668 name: configFileName
669 default: '{config-pod}'
670 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800671
672 - string:
hwchiu14f97852019-10-08 10:51:11 -0700673 name: branch
674 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800675
Kailash5b1a1612018-12-21 15:17:21 -0800676 concurrent: true
677
678 pipeline-scm:
679 script-path: '{Jenkinsfile}'
680 scm:
681 - git:
hwchiu14f97852019-10-08 10:51:11 -0700682 url: '{gerrit-server-url}/cord-tester'
683 branches:
684 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800685
686 triggers:
687 - reverse:
688 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
689 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800690
691
692- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800693 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800694 id: build_mcord_pod_manual
695 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700696 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800697 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
698 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
699 Copyright (c) 2019 Open Networking Foundation (ONF)
700
701 <<: *test-pipe-job-boiler-plate
702
703 parameters:
704 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700705 name: buildNode
706 default: '{build-node}'
707 description: 'Name of the Jenkins executor node to run the job on'
708
709 - string:
hwchiu14f97852019-10-08 10:51:11 -0700710 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700711 default: '{build-node}'
712 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800713
714 - string:
hwchiu14f97852019-10-08 10:51:11 -0700715 name: cordRepoUrl
716 default: '{gerrit-server-url}'
717 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800718
719 - string:
hwchiu14f97852019-10-08 10:51:11 -0700720 name: configBaseDir
721 default: 'pod-configs'
722 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800723
724 - string:
hwchiu14f97852019-10-08 10:51:11 -0700725 name: configDeploymentDir
726 default: 'deployment-configs'
727 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800728
729 - string:
hwchiu14f97852019-10-08 10:51:11 -0700730 name: configKubernetesDir
731 default: 'kubernetes-configs'
732 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800733
734 - string:
hwchiu14f97852019-10-08 10:51:11 -0700735 name: configToscaDir
736 default: 'tosca-configs'
737 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800738
739 - string:
hwchiu14f97852019-10-08 10:51:11 -0700740 name: configFileName
741 default: '{config-pod}'
742 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800743
744 - string:
hwchiu14f97852019-10-08 10:51:11 -0700745 name: branch
746 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800747
748 - string:
hwchiu14f97852019-10-08 10:51:11 -0700749 name: profile
750 default: '{profile}'
751 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800752
Kailashc8c05d52019-01-15 20:01:11 -0800753 - bool:
754 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800755 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800756 description: "Configure POD via TOSCA post build"
757
Matteo Scandoloa6791892019-01-25 15:46:03 -0800758 - bool:
759 name: installEpcControlPlane
760 default: true
761 description: "Install the EPC control plane"
762
Kailashc8c05d52019-01-15 20:01:11 -0800763 concurrent: true
764
765 pipeline-scm:
766 script-path: '{Jenkinsfile}'
767 scm:
768 - git:
hwchiu14f97852019-10-08 10:51:11 -0700769 url: '{gerrit-server-url}/cord-tester'
770 branches:
771 - '{branch}'