blob: 7ff300756f13aa6893e208bbc7145a12fca4884f [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
Andrea Campanellaecefbc82021-08-27 11:06:31 +020030 waitTimerForOltUp: 360
31
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070032 <<: *test-pipe-job-boiler-plate
33
34 parameters:
35 - string:
Zack Williams8ef79812019-10-29 11:09:18 -070036 name: buildNode
37 default: '{build-node}'
38 description: 'Name of the Jenkins executor node to run the job on'
39
40 - string:
hwchiu14f97852019-10-08 10:51:11 -070041 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -070042 default: '{build-node}'
43 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070044
45 - string:
hwchiu14f97852019-10-08 10:51:11 -070046 name: cordRepoUrl
47 default: '{gerrit-server-url}'
48 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070049
50 - string:
hwchiu14f97852019-10-08 10:51:11 -070051 name: configBaseDir
52 default: 'pod-configs'
53 description: 'The directory inside the POD configs repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070054
55 - string:
hwchiu14f97852019-10-08 10:51:11 -070056 name: configDeploymentDir
57 default: 'deployment-configs'
58 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070059
60 - string:
hwchiu14f97852019-10-08 10:51:11 -070061 name: configKubernetesDir
62 default: 'kubernetes-configs'
63 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070064
65 - string:
hwchiu14f97852019-10-08 10:51:11 -070066 name: configToscaDir
67 default: 'tosca-configs'
68 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -070069
70 - string:
hwchiu14f97852019-10-08 10:51:11 -070071 name: configFileName
72 default: '{config-pod}'
73 description: 'The config file'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070074
75 - string:
hwchiu14f97852019-10-08 10:51:11 -070076 name: branch
77 default: '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070078
Kailash Khalasi9559f362018-09-14 13:53:28 -070079 - string:
hwchiu14f97852019-10-08 10:51:11 -070080 name: helmRepoUrl
81 default: 'https://charts.opencord.org'
82 description: 'URL where helm-charts are published'
Kailash876b9012019-03-13 13:22:34 -070083
84 - string:
hwchiu14f97852019-10-08 10:51:11 -070085 name: profile
86 default: '{profile}'
87 description: 'Profile in which this job installs'
Kailash Khalasi9559f362018-09-14 13:53:28 -070088
Kailash Khalasice9eaec2018-09-14 12:01:56 -070089 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070090 name: installMonitoringAndLogging
91 default: false
92 description: "Wether to install prometheus and Elk-stack"
93
94 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070095 name: configurePod
96 default: true
97 description: "Configure POD via TOSCA post build"
98
Kailashdee47a02018-11-29 08:46:32 -080099 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700100 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700101 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700102 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700103
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800104 - bool:
105 name: installBBSim
106 default: false
107 description: "Install the BBSim container"
108
109 - string:
110 name: onuNumber
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800111 default: '{num-of-onus}'
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800112 description: "Onus per PonPort"
113
Suchitra Vemurie0451712020-05-06 22:51:23 -0700114 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800115 name: ponNumber
116 default: '{num-of-ponports}'
117 description: "Number of PON Ports"
118
119 - string:
Suchitra Vemurie0451712020-05-06 22:51:23 -0700120 name: workFlow
121 default: '{work-flow}'
122 description: 'Installs and uses the specified work flow on the POD'
123
124 - string:
125 name: NumOfOpenOnu
126 default: '{num-of-openonu}'
127 description: 'Installs the specified Number of OpenOnu Adapters'
128
129 - string:
130 name: NumOfOnos
131 default: '{num-of-onos}'
132 description: 'Installs the specified Number of ONOS instances'
133
Suchitra Vemuria0d92052020-07-15 11:36:12 -0700134 - bool:
135 name: inBandManagement
136 default: '{in-band-management}'
137 description: 'Indicates whether POD is configured for in band management'
138
Suchitra Vemurie0451712020-05-06 22:51:23 -0700139 - string:
140 name: NumOfAtomix
141 default: '{num-of-atomix}'
142 description: 'Installs the specified Number of Atomix Instances'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100143
144 - string:
145 name: openoltAdapterChart
146 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200147 description: 'Olt adapter chart name (or location on file system)'
148
149 - string:
150 name: oltAdapterReleaseName
151 default: '{oltAdapterReleaseName}'
152 description: 'Olt adapter release name'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100153
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200154 - string:
155 name: waitTimerForOltUp
156 default: '{waitTimerForOltUp}'
157 description: 'Wait timer for the OLT to come up after reboot'
158
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700159 concurrent: true
160
161 pipeline-scm:
162 script-path: '{Jenkinsfile}'
163 scm:
164 - git:
hwchiu14f97852019-10-08 10:51:11 -0700165 url: '{gerrit-server-url}/{test-repo}'
166 branches:
167 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700168
169- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700170 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700171 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700172 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700173 Nightly Kubernetes tests on {config-pod} using {Jenkinsfile}<br /><br />
174 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml<br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700175 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
176 Copyright (c) 2017 Open Networking Foundation (ONF)
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100177 disabled: '{disable-job}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700178
179 <<: *test-pipe-job-boiler-plate
180
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100181 openoltAdapterChart: onf/voltha-adapter-openolt
182
Andrea Campanella20361592021-08-26 18:45:28 +0200183 oltAdapterReleaseName: open-olt
184
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200185 waitTimerForOltUp: 360
186
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700187 parameters:
188 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700189 name: buildNode
190 default: '{build-node}'
191 description: 'Name of the Jenkins executor node to run the job on'
192
193 - string:
hwchiu14f97852019-10-08 10:51:11 -0700194 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700195 default: '{build-node}'
196 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700197
198 - string:
hwchiu14f97852019-10-08 10:51:11 -0700199 name: cordRepoUrl
200 default: '{gerrit-server-url}'
201 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700202
203 - string:
hwchiu14f97852019-10-08 10:51:11 -0700204 name: configBaseDir
205 default: 'pod-configs'
206 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700207
208 - string:
hwchiu14f97852019-10-08 10:51:11 -0700209 name: configDeploymentDir
210 default: 'deployment-configs'
211 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700212
213 - string:
hwchiu14f97852019-10-08 10:51:11 -0700214 name: configKubernetesDir
215 default: 'kubernetes-configs'
216 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700217
218 - string:
hwchiu14f97852019-10-08 10:51:11 -0700219 name: configToscaDir
220 default: 'tosca-configs'
221 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700222
223 - string:
hwchiu14f97852019-10-08 10:51:11 -0700224 name: configFileName
225 default: '{config-pod}'
226 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700227
228 - string:
hwchiu14f97852019-10-08 10:51:11 -0700229 name: oltDebVersion
230 default: '{oltDebVersion}'
231 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700232
233 - string:
hwchiu14f97852019-10-08 10:51:11 -0700234 name: branch
235 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700236
237 - string:
hwchiu14f97852019-10-08 10:51:11 -0700238 name: helmRepoUrl
239 default: 'https://charts.opencord.org'
240 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700241
242 - string:
hwchiu14f97852019-10-08 10:51:11 -0700243 name: profile
244 default: '{profile}'
245 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700246
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700247 - bool:
248 name: configurePod
249 default: true
250 description: "Configure POD via TOSCA post build"
251
Kailashdee47a02018-11-29 08:46:32 -0800252 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700253 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700254 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700255 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800256
257 - bool:
258 name: installBBSim
259 default: false
260 description: "Install the BBSim container"
261
262 - string:
263 name: onuNumber
264 default: '16'
265 description: "Onus per PonPort"
266
Kailash Khalasi9559f362018-09-14 13:53:28 -0700267 - string:
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100268 name: openoltAdapterChart
269 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200270 description: 'Olt adapter chart name (or location on file system)'
271
272 - string:
273 name: oltAdapterReleaseName
274 default: '{oltAdapterReleaseName}'
275 description: 'Olt adapter release name'
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100276
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200277 - string:
278 name: waitTimerForOltUp
279 default: '{waitTimerForOltUp}'
280 description: 'Wait timer for the OLT to come up after reboot'
281
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700282 concurrent: true
283
284 pipeline-scm:
285 script-path: '{Jenkinsfile}'
286 scm:
287 - git:
hwchiu14f97852019-10-08 10:51:11 -0700288 url: '{gerrit-server-url}/{test-repo}'
289 branches:
290 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700291
292 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700293 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700294 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700295 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700296
297- job-template:
298 name: 'build_{profile}_{config-pod}_{branch}_test'
299 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100300
301 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700302 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700303 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700304 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700305 Created by Kailash Khalasi - kailash@opennetworking.org <br />
306 Copyright (c) 2017 Open Networking Foundation (ONF)
307
308 <<: *test-pipe-job-boiler-plate
309
310 parameters:
311 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700312 name: buildNode
313 default: '{build-node}'
314 description: 'Name of the Jenkins executor node to run the job on'
315
316 - string:
hwchiu14f97852019-10-08 10:51:11 -0700317 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700318 default: '{build-node}'
319 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700320
321 - string:
hwchiu14f97852019-10-08 10:51:11 -0700322 name: cordRepoUrl
323 default: '{gerrit-server-url}'
324 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700325
326 - string:
hwchiu14f97852019-10-08 10:51:11 -0700327 name: configBaseDir
328 default: 'pod-configs'
329 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700330
331 - string:
hwchiu14f97852019-10-08 10:51:11 -0700332 name: configDeploymentDir
333 default: 'deployment-configs'
334 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700335
336 - string:
hwchiu14f97852019-10-08 10:51:11 -0700337 name: configKubernetesDir
338 default: 'kubernetes-configs'
339 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700340
341 - string:
hwchiu14f97852019-10-08 10:51:11 -0700342 name: configToscaDir
343 default: 'tosca-configs'
344 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700345
346 - string:
hwchiu14f97852019-10-08 10:51:11 -0700347 name: configFileName
348 default: '{config-pod}'
349 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700350
351 - string:
hwchiu14f97852019-10-08 10:51:11 -0700352 name: branch
353 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700354
Kailash Khalasi9559f362018-09-14 13:53:28 -0700355 concurrent: true
356
357 pipeline-scm:
358 script-path: '{Jenkinsfile}'
359 scm:
360 - git:
hwchiu14f97852019-10-08 10:51:11 -0700361 url: '{gerrit-server-url}/{test-repo}'
362 branches:
363 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700364
365 triggers:
366 - reverse:
367 jobs: 'build_{profile}_{config-pod}_{branch}'
368 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800369
370- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800371 name: 'build_{config-pod}_seba_release_{release}'
372 id: build_pod_manual_release
373 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700374 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700375 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800376 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
377 Copyright (c) 2018 Open Networking Foundation (ONF)
378
379 <<: *test-pipe-job-boiler-plate
380
381 parameters:
382 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700383 name: buildNode
384 default: '{build-node}'
385 description: 'Name of the Jenkins executor node to run the job on'
386
387 - string:
hwchiu14f97852019-10-08 10:51:11 -0700388 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700389 default: '{build-node}'
390 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800391
392 - string:
hwchiu14f97852019-10-08 10:51:11 -0700393 name: cordRepoUrl
394 default: '{gerrit-server-url}'
395 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800396
397 - string:
hwchiu14f97852019-10-08 10:51:11 -0700398 name: configBaseDir
399 default: 'pod-configs'
400 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800401
402 - string:
hwchiu14f97852019-10-08 10:51:11 -0700403 name: configDeploymentDir
404 default: 'deployment-configs'
405 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800406
407 - string:
hwchiu14f97852019-10-08 10:51:11 -0700408 name: configKubernetesDir
409 default: 'kubernetes-configs'
410 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800411
412 - string:
hwchiu14f97852019-10-08 10:51:11 -0700413 name: configToscaDir
414 default: 'tosca-configs'
415 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800416
417 - string:
hwchiu14f97852019-10-08 10:51:11 -0700418 name: configFileName
419 default: '{config-pod}'
420 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800421
422 - string:
hwchiu14f97852019-10-08 10:51:11 -0700423 name: oltDebVersion
424 default: '{oltDebVersion}'
425 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800426
427 - string:
hwchiu14f97852019-10-08 10:51:11 -0700428 name: branch
429 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800430
Kailashd1963d12018-12-17 15:11:01 -0800431 - bool:
432 name: configurePod
433 default: true
434 description: "Configure POD via TOSCA post build"
435
436 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700437 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700438 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700439 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800440
441 - bool:
442 name: installBBSim
443 default: false
444 description: "Install the BBSim container"
445
446 - string:
447 name: onuNumber
448 default: '16'
449 description: "Onus per PonPort"
450
451 concurrent: true
452
453 pipeline-scm:
454 script-path: '{Jenkinsfile}'
455 scm:
456 - git:
hwchiu14f97852019-10-08 10:51:11 -0700457 url: '{gerrit-server-url}/cord-tester'
458 branches:
459 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800460
461- job-template:
462 name: 'build_{config-pod}_seba_release_{release}'
463 id: build_pod_release
464 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700465 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700466 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800467 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
468 Copyright (c) 2018 Open Networking Foundation (ONF)
469
470 <<: *test-pipe-job-boiler-plate
471
472 parameters:
473 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700474 name: buildNode
475 default: '{build-node}'
476 description: 'Name of the Jenkins executor node to run the job on'
477
478 - string:
hwchiu14f97852019-10-08 10:51:11 -0700479 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700480 default: '{build-node}'
481 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800482
483 - string:
hwchiu14f97852019-10-08 10:51:11 -0700484 name: cordRepoUrl
485 default: '{gerrit-server-url}'
486 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800487
488 - string:
hwchiu14f97852019-10-08 10:51:11 -0700489 name: configBaseDir
490 default: 'pod-configs'
491 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800492
493 - string:
hwchiu14f97852019-10-08 10:51:11 -0700494 name: configDeploymentDir
495 default: 'deployment-configs'
496 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800497
498 - string:
hwchiu14f97852019-10-08 10:51:11 -0700499 name: configKubernetesDir
500 default: 'kubernetes-configs'
501 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800502
503 - string:
hwchiu14f97852019-10-08 10:51:11 -0700504 name: configToscaDir
505 default: 'tosca-configs'
506 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800507
508 - string:
hwchiu14f97852019-10-08 10:51:11 -0700509 name: configFileName
510 default: '{config-pod}'
511 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800512
513 - string:
hwchiu14f97852019-10-08 10:51:11 -0700514 name: oltDebVersion
515 default: '{oltDebVersion}'
516 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800517
518 - string:
hwchiu14f97852019-10-08 10:51:11 -0700519 name: helmRepoUrl
520 default: 'https://charts.opencord.org'
521 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700522
523 - string:
hwchiu14f97852019-10-08 10:51:11 -0700524 name: branch
525 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800526
Kailashd1963d12018-12-17 15:11:01 -0800527 - bool:
528 name: configurePod
529 default: true
530 description: "Configure POD via TOSCA post build"
531
532 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700533 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700534 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700535 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800536
537 - bool:
538 name: installBBSim
539 default: false
540 description: "Install the BBSim container"
541
542 - string:
543 name: onuNumber
544 default: '16'
545 description: "Onus per PonPort"
546
547 concurrent: true
548
549 pipeline-scm:
550 script-path: '{Jenkinsfile}'
551 scm:
552 - git:
hwchiu14f97852019-10-08 10:51:11 -0700553 url: '{gerrit-server-url}/cord-tester'
554 branches:
555 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800556
557 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700558 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800559 TZ=America/Los_Angeles
560 H {time} * * *
561
562- job-template:
563 name: 'build_{config-pod}_seba_release_{release}_test'
564 id: build_pod_release_test
565 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700566 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700567 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800568 Created by Kailash Khalasi - kailash@opennetworking.org <br />
569 Copyright (c) 2017 Open Networking Foundation (ONF)
570
571 <<: *test-pipe-job-boiler-plate
572
573 parameters:
574 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700575 name: buildNode
576 default: '{build-node}'
577 description: 'Name of the Jenkins executor node to run the job on'
578
579 - string:
hwchiu14f97852019-10-08 10:51:11 -0700580 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700581 default: '{build-node}'
582 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800583
584 - string:
hwchiu14f97852019-10-08 10:51:11 -0700585 name: cordRepoUrl
586 default: '{gerrit-server-url}'
587 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800588
589 - string:
hwchiu14f97852019-10-08 10:51:11 -0700590 name: configBaseDir
591 default: 'pod-configs'
592 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800593
594 - string:
hwchiu14f97852019-10-08 10:51:11 -0700595 name: configDeploymentDir
596 default: 'deployment-configs'
597 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800598
599 - string:
hwchiu14f97852019-10-08 10:51:11 -0700600 name: configKubernetesDir
601 default: 'kubernetes-configs'
602 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800603
604 - string:
hwchiu14f97852019-10-08 10:51:11 -0700605 name: configToscaDir
606 default: 'tosca-configs'
607 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800608
609 - string:
hwchiu14f97852019-10-08 10:51:11 -0700610 name: configFileName
611 default: '{config-pod}'
612 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800613
614 - string:
hwchiu14f97852019-10-08 10:51:11 -0700615 name: branch
616 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800617
Kailashd1963d12018-12-17 15:11:01 -0800618 concurrent: true
619
620 pipeline-scm:
621 script-path: '{Jenkinsfile}'
622 scm:
623 - git:
hwchiu14f97852019-10-08 10:51:11 -0700624 url: '{gerrit-server-url}/cord-tester'
625 branches:
626 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800627
628 triggers:
629 - reverse:
630 jobs: 'build_{config-pod}_seba_release_{release}'
631 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800632
633
634- job-template:
635 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
636 id: build_pod_release_test_microcharts
637 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700638 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700639 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800640 Created by Kailash Khalasi - kailash@opennetworking.org <br />
641 Copyright (c) 2017 Open Networking Foundation (ONF)
642
643 <<: *test-pipe-job-boiler-plate
644
645 parameters:
646 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700647 name: buildNode
648 default: '{build-node}'
649 description: 'Name of the Jenkins executor node to run the job on'
650
651 - string:
hwchiu14f97852019-10-08 10:51:11 -0700652 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700653 default: '{build-node}'
654 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800655
656 - string:
hwchiu14f97852019-10-08 10:51:11 -0700657 name: cordRepoUrl
658 default: '{gerrit-server-url}'
659 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800660
661 - string:
hwchiu14f97852019-10-08 10:51:11 -0700662 name: configBaseDir
663 default: 'pod-configs'
664 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800665
666 - string:
hwchiu14f97852019-10-08 10:51:11 -0700667 name: configDeploymentDir
668 default: 'deployment-configs'
669 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800670
671 - string:
hwchiu14f97852019-10-08 10:51:11 -0700672 name: configKubernetesDir
673 default: 'kubernetes-configs'
674 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800675
676 - string:
hwchiu14f97852019-10-08 10:51:11 -0700677 name: configToscaDir
678 default: 'tosca-configs'
679 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800680
681 - string:
hwchiu14f97852019-10-08 10:51:11 -0700682 name: configFileName
683 default: '{config-pod}'
684 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800685
686 - string:
hwchiu14f97852019-10-08 10:51:11 -0700687 name: branch
688 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800689
Kailash5b1a1612018-12-21 15:17:21 -0800690 concurrent: true
691
692 pipeline-scm:
693 script-path: '{Jenkinsfile}'
694 scm:
695 - git:
hwchiu14f97852019-10-08 10:51:11 -0700696 url: '{gerrit-server-url}/cord-tester'
697 branches:
698 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800699
700 triggers:
701 - reverse:
702 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
703 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800704
705
706- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800707 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800708 id: build_mcord_pod_manual
709 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700710 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800711 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
712 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
713 Copyright (c) 2019 Open Networking Foundation (ONF)
714
715 <<: *test-pipe-job-boiler-plate
716
717 parameters:
718 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700719 name: buildNode
720 default: '{build-node}'
721 description: 'Name of the Jenkins executor node to run the job on'
722
723 - string:
hwchiu14f97852019-10-08 10:51:11 -0700724 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700725 default: '{build-node}'
726 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800727
728 - string:
hwchiu14f97852019-10-08 10:51:11 -0700729 name: cordRepoUrl
730 default: '{gerrit-server-url}'
731 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800732
733 - string:
hwchiu14f97852019-10-08 10:51:11 -0700734 name: configBaseDir
735 default: 'pod-configs'
736 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800737
738 - string:
hwchiu14f97852019-10-08 10:51:11 -0700739 name: configDeploymentDir
740 default: 'deployment-configs'
741 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800742
743 - string:
hwchiu14f97852019-10-08 10:51:11 -0700744 name: configKubernetesDir
745 default: 'kubernetes-configs'
746 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800747
748 - string:
hwchiu14f97852019-10-08 10:51:11 -0700749 name: configToscaDir
750 default: 'tosca-configs'
751 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800752
753 - string:
hwchiu14f97852019-10-08 10:51:11 -0700754 name: configFileName
755 default: '{config-pod}'
756 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800757
758 - string:
hwchiu14f97852019-10-08 10:51:11 -0700759 name: branch
760 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800761
762 - string:
hwchiu14f97852019-10-08 10:51:11 -0700763 name: profile
764 default: '{profile}'
765 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800766
Kailashc8c05d52019-01-15 20:01:11 -0800767 - bool:
768 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800769 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800770 description: "Configure POD via TOSCA post build"
771
Matteo Scandoloa6791892019-01-25 15:46:03 -0800772 - bool:
773 name: installEpcControlPlane
774 default: true
775 description: "Install the EPC control plane"
776
Kailashc8c05d52019-01-15 20:01:11 -0800777 concurrent: true
778
779 pipeline-scm:
780 script-path: '{Jenkinsfile}'
781 scm:
782 - git:
hwchiu14f97852019-10-08 10:51:11 -0700783 url: '{gerrit-server-url}/cord-tester'
784 branches:
785 - '{branch}'