blob: c81b0935939cb325d14ceab43af8960b9f829b1a [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
26 <<: *test-pipe-job-boiler-plate
27
28 parameters:
29 - string:
Zack Williams8ef79812019-10-29 11:09:18 -070030 name: buildNode
31 default: '{build-node}'
32 description: 'Name of the Jenkins executor node to run the job on'
33
34 - string:
hwchiu14f97852019-10-08 10:51:11 -070035 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -070036 default: '{build-node}'
37 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070038
39 - string:
hwchiu14f97852019-10-08 10:51:11 -070040 name: cordRepoUrl
41 default: '{gerrit-server-url}'
42 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070043
44 - string:
hwchiu14f97852019-10-08 10:51:11 -070045 name: configBaseDir
46 default: 'pod-configs'
47 description: 'The directory inside the POD configs repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070048
49 - string:
hwchiu14f97852019-10-08 10:51:11 -070050 name: configDeploymentDir
51 default: 'deployment-configs'
52 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070053
54 - string:
hwchiu14f97852019-10-08 10:51:11 -070055 name: configKubernetesDir
56 default: 'kubernetes-configs'
57 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070058
59 - string:
hwchiu14f97852019-10-08 10:51:11 -070060 name: configToscaDir
61 default: 'tosca-configs'
62 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -070063
64 - string:
hwchiu14f97852019-10-08 10:51:11 -070065 name: configFileName
66 default: '{config-pod}'
67 description: 'The config file'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070068
69 - string:
hwchiu14f97852019-10-08 10:51:11 -070070 name: branch
71 default: '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070072
Kailash Khalasi9559f362018-09-14 13:53:28 -070073 - string:
hwchiu14f97852019-10-08 10:51:11 -070074 name: helmRepoUrl
75 default: 'https://charts.opencord.org'
76 description: 'URL where helm-charts are published'
Kailash876b9012019-03-13 13:22:34 -070077
78 - string:
hwchiu14f97852019-10-08 10:51:11 -070079 name: profile
80 default: '{profile}'
81 description: 'Profile in which this job installs'
Kailash Khalasi9559f362018-09-14 13:53:28 -070082
Kailashdee47a02018-11-29 08:46:32 -080083 - string:
hwchiu14f97852019-10-08 10:51:11 -070084 name: notificationEmail
85 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
86 description: ''
Kailashdee47a02018-11-29 08:46:32 -080087
Kailash Khalasice9eaec2018-09-14 12:01:56 -070088 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070089 name: installMonitoringAndLogging
90 default: false
91 description: "Wether to install prometheus and Elk-stack"
92
93 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070094 name: configurePod
95 default: true
96 description: "Configure POD via TOSCA post build"
97
Kailashdee47a02018-11-29 08:46:32 -080098 - bool:
hwchiu14f97852019-10-08 10:51:11 -070099 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700100 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700101 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700102
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800103 - bool:
104 name: installBBSim
105 default: false
106 description: "Install the BBSim container"
107
108 - string:
109 name: onuNumber
110 default: '16'
111 description: "Onus per PonPort"
112
Suchitra Vemurie0451712020-05-06 22:51:23 -0700113 - string:
114 name: workFlow
115 default: '{work-flow}'
116 description: 'Installs and uses the specified work flow on the POD'
117
118 - string:
119 name: NumOfOpenOnu
120 default: '{num-of-openonu}'
121 description: 'Installs the specified Number of OpenOnu Adapters'
122
123 - string:
124 name: NumOfOnos
125 default: '{num-of-onos}'
126 description: 'Installs the specified Number of ONOS instances'
127
Suchitra Vemuria0d92052020-07-15 11:36:12 -0700128 - bool:
129 name: inBandManagement
130 default: '{in-band-management}'
131 description: 'Indicates whether POD is configured for in band management'
132
Suchitra Vemurie0451712020-05-06 22:51:23 -0700133 - string:
134 name: NumOfAtomix
135 default: '{num-of-atomix}'
136 description: 'Installs the specified Number of Atomix Instances'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700137 concurrent: true
138
139 pipeline-scm:
140 script-path: '{Jenkinsfile}'
141 scm:
142 - git:
hwchiu14f97852019-10-08 10:51:11 -0700143 url: '{gerrit-server-url}/{test-repo}'
144 branches:
145 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700146
147- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700148 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700149 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700150 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700151 Nightly Kubernetes tests on {config-pod} using {Jenkinsfile}<br /><br />
152 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml<br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700153 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
154 Copyright (c) 2017 Open Networking Foundation (ONF)
Kailash85b40372019-08-28 08:51:23 -0700155 disabled: false
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700156
157 <<: *test-pipe-job-boiler-plate
158
159 parameters:
160 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700161 name: buildNode
162 default: '{build-node}'
163 description: 'Name of the Jenkins executor node to run the job on'
164
165 - string:
hwchiu14f97852019-10-08 10:51:11 -0700166 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700167 default: '{build-node}'
168 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700169
170 - string:
hwchiu14f97852019-10-08 10:51:11 -0700171 name: cordRepoUrl
172 default: '{gerrit-server-url}'
173 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700174
175 - string:
hwchiu14f97852019-10-08 10:51:11 -0700176 name: configBaseDir
177 default: 'pod-configs'
178 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700179
180 - string:
hwchiu14f97852019-10-08 10:51:11 -0700181 name: configDeploymentDir
182 default: 'deployment-configs'
183 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700184
185 - string:
hwchiu14f97852019-10-08 10:51:11 -0700186 name: configKubernetesDir
187 default: 'kubernetes-configs'
188 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700189
190 - string:
hwchiu14f97852019-10-08 10:51:11 -0700191 name: configToscaDir
192 default: 'tosca-configs'
193 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700194
195 - string:
hwchiu14f97852019-10-08 10:51:11 -0700196 name: configFileName
197 default: '{config-pod}'
198 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700199
200 - string:
hwchiu14f97852019-10-08 10:51:11 -0700201 name: oltDebVersion
202 default: '{oltDebVersion}'
203 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700204
205 - string:
hwchiu14f97852019-10-08 10:51:11 -0700206 name: branch
207 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700208
209 - string:
hwchiu14f97852019-10-08 10:51:11 -0700210 name: helmRepoUrl
211 default: 'https://charts.opencord.org'
212 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700213
214 - string:
hwchiu14f97852019-10-08 10:51:11 -0700215 name: profile
216 default: '{profile}'
217 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700218
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700219 - bool:
220 name: configurePod
221 default: true
222 description: "Configure POD via TOSCA post build"
223
Kailashdee47a02018-11-29 08:46:32 -0800224 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700225 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700226 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700227 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800228
229 - bool:
230 name: installBBSim
231 default: false
232 description: "Install the BBSim container"
233
234 - string:
235 name: onuNumber
236 default: '16'
237 description: "Onus per PonPort"
238
Kailash Khalasi9559f362018-09-14 13:53:28 -0700239 - string:
hwchiu14f97852019-10-08 10:51:11 -0700240 name: notificationEmail
241 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
242 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700243
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700244 concurrent: true
245
246 pipeline-scm:
247 script-path: '{Jenkinsfile}'
248 scm:
249 - git:
hwchiu14f97852019-10-08 10:51:11 -0700250 url: '{gerrit-server-url}/{test-repo}'
251 branches:
252 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700253
254 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700255 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700256 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700257 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700258
259- job-template:
260 name: 'build_{profile}_{config-pod}_{branch}_test'
261 id: build_pod_test
262 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700263 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700264 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700265 Created by Kailash Khalasi - kailash@opennetworking.org <br />
266 Copyright (c) 2017 Open Networking Foundation (ONF)
267
268 <<: *test-pipe-job-boiler-plate
269
270 parameters:
271 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700272 name: buildNode
273 default: '{build-node}'
274 description: 'Name of the Jenkins executor node to run the job on'
275
276 - string:
hwchiu14f97852019-10-08 10:51:11 -0700277 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700278 default: '{build-node}'
279 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700280
281 - string:
hwchiu14f97852019-10-08 10:51:11 -0700282 name: cordRepoUrl
283 default: '{gerrit-server-url}'
284 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700285
286 - string:
hwchiu14f97852019-10-08 10:51:11 -0700287 name: configBaseDir
288 default: 'pod-configs'
289 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700290
291 - string:
hwchiu14f97852019-10-08 10:51:11 -0700292 name: configDeploymentDir
293 default: 'deployment-configs'
294 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700295
296 - string:
hwchiu14f97852019-10-08 10:51:11 -0700297 name: configKubernetesDir
298 default: 'kubernetes-configs'
299 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700300
301 - string:
hwchiu14f97852019-10-08 10:51:11 -0700302 name: configToscaDir
303 default: 'tosca-configs'
304 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700305
306 - string:
hwchiu14f97852019-10-08 10:51:11 -0700307 name: configFileName
308 default: '{config-pod}'
309 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700310
311 - string:
hwchiu14f97852019-10-08 10:51:11 -0700312 name: branch
313 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700314
315 - string:
hwchiu14f97852019-10-08 10:51:11 -0700316 name: notificationEmail
317 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
318 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700319
320 concurrent: true
321
322 pipeline-scm:
323 script-path: '{Jenkinsfile}'
324 scm:
325 - git:
hwchiu14f97852019-10-08 10:51:11 -0700326 url: '{gerrit-server-url}/{test-repo}'
327 branches:
328 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700329
330 triggers:
331 - reverse:
332 jobs: 'build_{profile}_{config-pod}_{branch}'
333 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800334
335- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800336 name: 'build_{config-pod}_seba_release_{release}'
337 id: build_pod_manual_release
338 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700339 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700340 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800341 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
342 Copyright (c) 2018 Open Networking Foundation (ONF)
343
344 <<: *test-pipe-job-boiler-plate
345
346 parameters:
347 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700348 name: buildNode
349 default: '{build-node}'
350 description: 'Name of the Jenkins executor node to run the job on'
351
352 - string:
hwchiu14f97852019-10-08 10:51:11 -0700353 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700354 default: '{build-node}'
355 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800356
357 - string:
hwchiu14f97852019-10-08 10:51:11 -0700358 name: cordRepoUrl
359 default: '{gerrit-server-url}'
360 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800361
362 - string:
hwchiu14f97852019-10-08 10:51:11 -0700363 name: configBaseDir
364 default: 'pod-configs'
365 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800366
367 - string:
hwchiu14f97852019-10-08 10:51:11 -0700368 name: configDeploymentDir
369 default: 'deployment-configs'
370 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800371
372 - string:
hwchiu14f97852019-10-08 10:51:11 -0700373 name: configKubernetesDir
374 default: 'kubernetes-configs'
375 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800376
377 - string:
hwchiu14f97852019-10-08 10:51:11 -0700378 name: configToscaDir
379 default: 'tosca-configs'
380 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800381
382 - string:
hwchiu14f97852019-10-08 10:51:11 -0700383 name: configFileName
384 default: '{config-pod}'
385 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800386
387 - string:
hwchiu14f97852019-10-08 10:51:11 -0700388 name: oltDebVersion
389 default: '{oltDebVersion}'
390 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800391
392 - string:
hwchiu14f97852019-10-08 10:51:11 -0700393 name: branch
394 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800395
396 - string:
hwchiu14f97852019-10-08 10:51:11 -0700397 name: notificationEmail
398 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
399 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800400
401 - bool:
402 name: configurePod
403 default: true
404 description: "Configure POD via TOSCA post build"
405
406 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700407 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700408 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700409 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800410
411 - bool:
412 name: installBBSim
413 default: false
414 description: "Install the BBSim container"
415
416 - string:
417 name: onuNumber
418 default: '16'
419 description: "Onus per PonPort"
420
421 concurrent: true
422
423 pipeline-scm:
424 script-path: '{Jenkinsfile}'
425 scm:
426 - git:
hwchiu14f97852019-10-08 10:51:11 -0700427 url: '{gerrit-server-url}/cord-tester'
428 branches:
429 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800430
431- job-template:
432 name: 'build_{config-pod}_seba_release_{release}'
433 id: build_pod_release
434 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700435 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700436 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800437 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
438 Copyright (c) 2018 Open Networking Foundation (ONF)
439
440 <<: *test-pipe-job-boiler-plate
441
442 parameters:
443 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700444 name: buildNode
445 default: '{build-node}'
446 description: 'Name of the Jenkins executor node to run the job on'
447
448 - string:
hwchiu14f97852019-10-08 10:51:11 -0700449 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700450 default: '{build-node}'
451 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800452
453 - string:
hwchiu14f97852019-10-08 10:51:11 -0700454 name: cordRepoUrl
455 default: '{gerrit-server-url}'
456 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800457
458 - string:
hwchiu14f97852019-10-08 10:51:11 -0700459 name: configBaseDir
460 default: 'pod-configs'
461 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800462
463 - string:
hwchiu14f97852019-10-08 10:51:11 -0700464 name: configDeploymentDir
465 default: 'deployment-configs'
466 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800467
468 - string:
hwchiu14f97852019-10-08 10:51:11 -0700469 name: configKubernetesDir
470 default: 'kubernetes-configs'
471 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800472
473 - string:
hwchiu14f97852019-10-08 10:51:11 -0700474 name: configToscaDir
475 default: 'tosca-configs'
476 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800477
478 - string:
hwchiu14f97852019-10-08 10:51:11 -0700479 name: configFileName
480 default: '{config-pod}'
481 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800482
483 - string:
hwchiu14f97852019-10-08 10:51:11 -0700484 name: oltDebVersion
485 default: '{oltDebVersion}'
486 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800487
488 - string:
hwchiu14f97852019-10-08 10:51:11 -0700489 name: helmRepoUrl
490 default: 'https://charts.opencord.org'
491 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700492
493 - string:
hwchiu14f97852019-10-08 10:51:11 -0700494 name: branch
495 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800496
497 - string:
hwchiu14f97852019-10-08 10:51:11 -0700498 name: notificationEmail
499 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
500 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800501
502 - bool:
503 name: configurePod
504 default: true
505 description: "Configure POD via TOSCA post build"
506
507 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700508 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700509 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700510 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800511
512 - bool:
513 name: installBBSim
514 default: false
515 description: "Install the BBSim container"
516
517 - string:
518 name: onuNumber
519 default: '16'
520 description: "Onus per PonPort"
521
522 concurrent: true
523
524 pipeline-scm:
525 script-path: '{Jenkinsfile}'
526 scm:
527 - git:
hwchiu14f97852019-10-08 10:51:11 -0700528 url: '{gerrit-server-url}/cord-tester'
529 branches:
530 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800531
532 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700533 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800534 TZ=America/Los_Angeles
535 H {time} * * *
536
537- job-template:
538 name: 'build_{config-pod}_seba_release_{release}_test'
539 id: build_pod_release_test
540 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700541 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700542 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800543 Created by Kailash Khalasi - kailash@opennetworking.org <br />
544 Copyright (c) 2017 Open Networking Foundation (ONF)
545
546 <<: *test-pipe-job-boiler-plate
547
548 parameters:
549 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700550 name: buildNode
551 default: '{build-node}'
552 description: 'Name of the Jenkins executor node to run the job on'
553
554 - string:
hwchiu14f97852019-10-08 10:51:11 -0700555 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700556 default: '{build-node}'
557 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800558
559 - string:
hwchiu14f97852019-10-08 10:51:11 -0700560 name: cordRepoUrl
561 default: '{gerrit-server-url}'
562 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800563
564 - string:
hwchiu14f97852019-10-08 10:51:11 -0700565 name: configBaseDir
566 default: 'pod-configs'
567 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800568
569 - string:
hwchiu14f97852019-10-08 10:51:11 -0700570 name: configDeploymentDir
571 default: 'deployment-configs'
572 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800573
574 - string:
hwchiu14f97852019-10-08 10:51:11 -0700575 name: configKubernetesDir
576 default: 'kubernetes-configs'
577 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800578
579 - string:
hwchiu14f97852019-10-08 10:51:11 -0700580 name: configToscaDir
581 default: 'tosca-configs'
582 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800583
584 - string:
hwchiu14f97852019-10-08 10:51:11 -0700585 name: configFileName
586 default: '{config-pod}'
587 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800588
589 - string:
hwchiu14f97852019-10-08 10:51:11 -0700590 name: branch
591 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800592
593 - string:
hwchiu14f97852019-10-08 10:51:11 -0700594 name: notificationEmail
595 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
596 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800597
598 concurrent: true
599
600 pipeline-scm:
601 script-path: '{Jenkinsfile}'
602 scm:
603 - git:
hwchiu14f97852019-10-08 10:51:11 -0700604 url: '{gerrit-server-url}/cord-tester'
605 branches:
606 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800607
608 triggers:
609 - reverse:
610 jobs: 'build_{config-pod}_seba_release_{release}'
611 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800612
613
614- job-template:
615 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
616 id: build_pod_release_test_microcharts
617 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700618 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700619 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800620 Created by Kailash Khalasi - kailash@opennetworking.org <br />
621 Copyright (c) 2017 Open Networking Foundation (ONF)
622
623 <<: *test-pipe-job-boiler-plate
624
625 parameters:
626 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700627 name: buildNode
628 default: '{build-node}'
629 description: 'Name of the Jenkins executor node to run the job on'
630
631 - string:
hwchiu14f97852019-10-08 10:51:11 -0700632 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700633 default: '{build-node}'
634 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800635
636 - string:
hwchiu14f97852019-10-08 10:51:11 -0700637 name: cordRepoUrl
638 default: '{gerrit-server-url}'
639 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800640
641 - string:
hwchiu14f97852019-10-08 10:51:11 -0700642 name: configBaseDir
643 default: 'pod-configs'
644 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800645
646 - string:
hwchiu14f97852019-10-08 10:51:11 -0700647 name: configDeploymentDir
648 default: 'deployment-configs'
649 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800650
651 - string:
hwchiu14f97852019-10-08 10:51:11 -0700652 name: configKubernetesDir
653 default: 'kubernetes-configs'
654 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800655
656 - string:
hwchiu14f97852019-10-08 10:51:11 -0700657 name: configToscaDir
658 default: 'tosca-configs'
659 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800660
661 - string:
hwchiu14f97852019-10-08 10:51:11 -0700662 name: configFileName
663 default: '{config-pod}'
664 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800665
666 - string:
hwchiu14f97852019-10-08 10:51:11 -0700667 name: branch
668 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800669
670 - string:
hwchiu14f97852019-10-08 10:51:11 -0700671 name: notificationEmail
672 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
673 description: ''
Kailash5b1a1612018-12-21 15:17:21 -0800674
675 concurrent: true
676
677 pipeline-scm:
678 script-path: '{Jenkinsfile}'
679 scm:
680 - git:
hwchiu14f97852019-10-08 10:51:11 -0700681 url: '{gerrit-server-url}/cord-tester'
682 branches:
683 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800684
685 triggers:
686 - reverse:
687 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
688 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800689
690
691- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800692 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800693 id: build_mcord_pod_manual
694 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700695 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800696 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
697 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
698 Copyright (c) 2019 Open Networking Foundation (ONF)
699
700 <<: *test-pipe-job-boiler-plate
701
702 parameters:
703 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700704 name: buildNode
705 default: '{build-node}'
706 description: 'Name of the Jenkins executor node to run the job on'
707
708 - string:
hwchiu14f97852019-10-08 10:51:11 -0700709 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700710 default: '{build-node}'
711 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800712
713 - string:
hwchiu14f97852019-10-08 10:51:11 -0700714 name: cordRepoUrl
715 default: '{gerrit-server-url}'
716 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800717
718 - string:
hwchiu14f97852019-10-08 10:51:11 -0700719 name: configBaseDir
720 default: 'pod-configs'
721 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800722
723 - string:
hwchiu14f97852019-10-08 10:51:11 -0700724 name: configDeploymentDir
725 default: 'deployment-configs'
726 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800727
728 - string:
hwchiu14f97852019-10-08 10:51:11 -0700729 name: configKubernetesDir
730 default: 'kubernetes-configs'
731 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800732
733 - string:
hwchiu14f97852019-10-08 10:51:11 -0700734 name: configToscaDir
735 default: 'tosca-configs'
736 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800737
738 - string:
hwchiu14f97852019-10-08 10:51:11 -0700739 name: configFileName
740 default: '{config-pod}'
741 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800742
743 - string:
hwchiu14f97852019-10-08 10:51:11 -0700744 name: branch
745 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800746
747 - string:
hwchiu14f97852019-10-08 10:51:11 -0700748 name: profile
749 default: '{profile}'
750 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800751
752 - string:
hwchiu14f97852019-10-08 10:51:11 -0700753 name: notificationEmail
754 default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org'
755 description: ''
Kailashc8c05d52019-01-15 20:01:11 -0800756
757 - bool:
758 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800759 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800760 description: "Configure POD via TOSCA post build"
761
Matteo Scandoloa6791892019-01-25 15:46:03 -0800762 - bool:
763 name: installEpcControlPlane
764 default: true
765 description: "Install the EPC control plane"
766
Kailashc8c05d52019-01-15 20:01:11 -0800767 concurrent: true
768
769 pipeline-scm:
770 script-path: '{Jenkinsfile}'
771 scm:
772 - git:
hwchiu14f97852019-10-08 10:51:11 -0700773 url: '{gerrit-server-url}/cord-tester'
774 branches:
775 - '{branch}'