blob: 6a3f5071d8faa8006665f15ab741487661b50a40 [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:
Zack Williams5412fbf2020-08-03 16:03:29 -070013 build-days-to-keep: 30
14 artifact-num-to-keep: 15
Kailash Khalasi417d13f2018-04-17 12:38:48 -070015
Kailash Khalasi417d13f2018-04-17 12:38:48 -070016
17- job-template:
Kailash Khalasie3b91482018-10-11 08:31:29 -070018 name: 'build_{profile}_{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:
336 name: 'build_{profile}_{config-pod}_{branch}_post_actions'
337 id: post_build_actions
338 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700339 Post Actions on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br />
340 Service ofagent restart required <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700341 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800342 Created by Kailash Khalasi - kailash@opennetworking.org <br />
343 Copyright (c) 2017 Open Networking Foundation (ONF)
344
345 <<: *test-pipe-job-boiler-plate
346
347 parameters:
348 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700349 name: buildNode
350 default: '{build-node}'
351 description: 'Name of the Jenkins executor node to run the job on'
352
353 - string:
hwchiu14f97852019-10-08 10:51:11 -0700354 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700355 default: '{build-node}'
356 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800357
358 - string:
hwchiu14f97852019-10-08 10:51:11 -0700359 name: cordRepoUrl
360 default: '{gerrit-server-url}'
361 description: 'The URL of the CORD Project repository'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800362
363 - string:
hwchiu14f97852019-10-08 10:51:11 -0700364 name: configBaseDir
365 default: 'pod-configs'
366 description: 'The directory inside the POD configs repository'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800367
368 - string:
hwchiu14f97852019-10-08 10:51:11 -0700369 name: configDeploymentDir
370 default: 'deployment-configs'
371 description: 'The deployment configs folder'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800372
373 - string:
hwchiu14f97852019-10-08 10:51:11 -0700374 name: configKubernetesDir
375 default: 'kubernetes-configs'
376 description: 'The kubernetes config folder'
Kailashc7d9e4e2018-11-13 14:48:23 -0800377
378 - string:
hwchiu14f97852019-10-08 10:51:11 -0700379 name: configFileName
380 default: '{config-pod}'
381 description: 'The config file'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800382
383 - string:
hwchiu14f97852019-10-08 10:51:11 -0700384 name: branch
385 default: '{branch}'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800386
387 - string:
hwchiu14f97852019-10-08 10:51:11 -0700388 name: notificationEmail
389 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
390 description: ''
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800391
392 concurrent: true
393
394 pipeline-scm:
395 script-path: '{Jenkinsfile}'
396 scm:
397 - git:
hwchiu14f97852019-10-08 10:51:11 -0700398 url: '{gerrit-server-url}/cord-tester'
399 branches:
400 - '{branch}'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800401
402 triggers:
403 - reverse:
404 jobs: 'build_{profile}_{config-pod}_{branch}'
405 result: 'failure'
Kailashd1963d12018-12-17 15:11:01 -0800406
Kailashd1963d12018-12-17 15:11:01 -0800407- job-template:
408 name: 'build_{config-pod}_seba_release_{release}'
409 id: build_pod_manual_release
410 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700411 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700412 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800413 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
414 Copyright (c) 2018 Open Networking Foundation (ONF)
415
416 <<: *test-pipe-job-boiler-plate
417
418 parameters:
419 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700420 name: buildNode
421 default: '{build-node}'
422 description: 'Name of the Jenkins executor node to run the job on'
423
424 - string:
hwchiu14f97852019-10-08 10:51:11 -0700425 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700426 default: '{build-node}'
427 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800428
429 - string:
hwchiu14f97852019-10-08 10:51:11 -0700430 name: cordRepoUrl
431 default: '{gerrit-server-url}'
432 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800433
434 - string:
hwchiu14f97852019-10-08 10:51:11 -0700435 name: configBaseDir
436 default: 'pod-configs'
437 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800438
439 - string:
hwchiu14f97852019-10-08 10:51:11 -0700440 name: configDeploymentDir
441 default: 'deployment-configs'
442 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800443
444 - string:
hwchiu14f97852019-10-08 10:51:11 -0700445 name: configKubernetesDir
446 default: 'kubernetes-configs'
447 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800448
449 - string:
hwchiu14f97852019-10-08 10:51:11 -0700450 name: configToscaDir
451 default: 'tosca-configs'
452 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800453
454 - string:
hwchiu14f97852019-10-08 10:51:11 -0700455 name: configFileName
456 default: '{config-pod}'
457 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800458
459 - string:
hwchiu14f97852019-10-08 10:51:11 -0700460 name: oltDebVersion
461 default: '{oltDebVersion}'
462 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800463
464 - string:
hwchiu14f97852019-10-08 10:51:11 -0700465 name: branch
466 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800467
468 - string:
hwchiu14f97852019-10-08 10:51:11 -0700469 name: notificationEmail
470 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
471 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800472
473 - bool:
474 name: configurePod
475 default: true
476 description: "Configure POD via TOSCA post build"
477
478 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700479 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700480 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700481 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800482
483 - bool:
484 name: installBBSim
485 default: false
486 description: "Install the BBSim container"
487
488 - string:
489 name: onuNumber
490 default: '16'
491 description: "Onus per PonPort"
492
493 concurrent: true
494
495 pipeline-scm:
496 script-path: '{Jenkinsfile}'
497 scm:
498 - git:
hwchiu14f97852019-10-08 10:51:11 -0700499 url: '{gerrit-server-url}/cord-tester'
500 branches:
501 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800502
503- job-template:
504 name: 'build_{config-pod}_seba_release_{release}'
505 id: build_pod_release
506 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700507 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700508 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800509 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
510 Copyright (c) 2018 Open Networking Foundation (ONF)
511
512 <<: *test-pipe-job-boiler-plate
513
514 parameters:
515 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700516 name: buildNode
517 default: '{build-node}'
518 description: 'Name of the Jenkins executor node to run the job on'
519
520 - string:
hwchiu14f97852019-10-08 10:51:11 -0700521 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700522 default: '{build-node}'
523 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800524
525 - string:
hwchiu14f97852019-10-08 10:51:11 -0700526 name: cordRepoUrl
527 default: '{gerrit-server-url}'
528 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800529
530 - string:
hwchiu14f97852019-10-08 10:51:11 -0700531 name: configBaseDir
532 default: 'pod-configs'
533 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800534
535 - string:
hwchiu14f97852019-10-08 10:51:11 -0700536 name: configDeploymentDir
537 default: 'deployment-configs'
538 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800539
540 - string:
hwchiu14f97852019-10-08 10:51:11 -0700541 name: configKubernetesDir
542 default: 'kubernetes-configs'
543 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800544
545 - string:
hwchiu14f97852019-10-08 10:51:11 -0700546 name: configToscaDir
547 default: 'tosca-configs'
548 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800549
550 - string:
hwchiu14f97852019-10-08 10:51:11 -0700551 name: configFileName
552 default: '{config-pod}'
553 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800554
555 - string:
hwchiu14f97852019-10-08 10:51:11 -0700556 name: oltDebVersion
557 default: '{oltDebVersion}'
558 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800559
560 - string:
hwchiu14f97852019-10-08 10:51:11 -0700561 name: helmRepoUrl
562 default: 'https://charts.opencord.org'
563 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700564
565 - string:
hwchiu14f97852019-10-08 10:51:11 -0700566 name: branch
567 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800568
569 - string:
hwchiu14f97852019-10-08 10:51:11 -0700570 name: notificationEmail
571 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
572 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800573
574 - bool:
575 name: configurePod
576 default: true
577 description: "Configure POD via TOSCA post build"
578
579 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700580 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700581 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700582 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800583
584 - bool:
585 name: installBBSim
586 default: false
587 description: "Install the BBSim container"
588
589 - string:
590 name: onuNumber
591 default: '16'
592 description: "Onus per PonPort"
593
594 concurrent: true
595
596 pipeline-scm:
597 script-path: '{Jenkinsfile}'
598 scm:
599 - git:
hwchiu14f97852019-10-08 10:51:11 -0700600 url: '{gerrit-server-url}/cord-tester'
601 branches:
602 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800603
604 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700605 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800606 TZ=America/Los_Angeles
607 H {time} * * *
608
609- job-template:
610 name: 'build_{config-pod}_seba_release_{release}_test'
611 id: build_pod_release_test
612 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700613 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700614 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800615 Created by Kailash Khalasi - kailash@opennetworking.org <br />
616 Copyright (c) 2017 Open Networking Foundation (ONF)
617
618 <<: *test-pipe-job-boiler-plate
619
620 parameters:
621 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700622 name: buildNode
623 default: '{build-node}'
624 description: 'Name of the Jenkins executor node to run the job on'
625
626 - string:
hwchiu14f97852019-10-08 10:51:11 -0700627 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700628 default: '{build-node}'
629 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800630
631 - string:
hwchiu14f97852019-10-08 10:51:11 -0700632 name: cordRepoUrl
633 default: '{gerrit-server-url}'
634 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800635
636 - string:
hwchiu14f97852019-10-08 10:51:11 -0700637 name: configBaseDir
638 default: 'pod-configs'
639 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800640
641 - string:
hwchiu14f97852019-10-08 10:51:11 -0700642 name: configDeploymentDir
643 default: 'deployment-configs'
644 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800645
646 - string:
hwchiu14f97852019-10-08 10:51:11 -0700647 name: configKubernetesDir
648 default: 'kubernetes-configs'
649 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800650
651 - string:
hwchiu14f97852019-10-08 10:51:11 -0700652 name: configToscaDir
653 default: 'tosca-configs'
654 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800655
656 - string:
hwchiu14f97852019-10-08 10:51:11 -0700657 name: configFileName
658 default: '{config-pod}'
659 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800660
661 - string:
hwchiu14f97852019-10-08 10:51:11 -0700662 name: branch
663 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800664
665 - string:
hwchiu14f97852019-10-08 10:51:11 -0700666 name: notificationEmail
667 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
668 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800669
670 concurrent: true
671
672 pipeline-scm:
673 script-path: '{Jenkinsfile}'
674 scm:
675 - git:
hwchiu14f97852019-10-08 10:51:11 -0700676 url: '{gerrit-server-url}/cord-tester'
677 branches:
678 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800679
680 triggers:
681 - reverse:
682 jobs: 'build_{config-pod}_seba_release_{release}'
683 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800684
685
686- job-template:
687 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
688 id: build_pod_release_test_microcharts
689 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700690 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700691 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800692 Created by Kailash Khalasi - kailash@opennetworking.org <br />
693 Copyright (c) 2017 Open Networking Foundation (ONF)
694
695 <<: *test-pipe-job-boiler-plate
696
697 parameters:
698 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700699 name: buildNode
700 default: '{build-node}'
701 description: 'Name of the Jenkins executor node to run the job on'
702
703 - string:
hwchiu14f97852019-10-08 10:51:11 -0700704 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700705 default: '{build-node}'
706 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800707
708 - string:
hwchiu14f97852019-10-08 10:51:11 -0700709 name: cordRepoUrl
710 default: '{gerrit-server-url}'
711 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800712
713 - string:
hwchiu14f97852019-10-08 10:51:11 -0700714 name: configBaseDir
715 default: 'pod-configs'
716 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800717
718 - string:
hwchiu14f97852019-10-08 10:51:11 -0700719 name: configDeploymentDir
720 default: 'deployment-configs'
721 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800722
723 - string:
hwchiu14f97852019-10-08 10:51:11 -0700724 name: configKubernetesDir
725 default: 'kubernetes-configs'
726 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800727
728 - string:
hwchiu14f97852019-10-08 10:51:11 -0700729 name: configToscaDir
730 default: 'tosca-configs'
731 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800732
733 - string:
hwchiu14f97852019-10-08 10:51:11 -0700734 name: configFileName
735 default: '{config-pod}'
736 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800737
738 - string:
hwchiu14f97852019-10-08 10:51:11 -0700739 name: branch
740 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800741
742 - string:
hwchiu14f97852019-10-08 10:51:11 -0700743 name: notificationEmail
744 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
745 description: ''
Kailash5b1a1612018-12-21 15:17:21 -0800746
747 concurrent: true
748
749 pipeline-scm:
750 script-path: '{Jenkinsfile}'
751 scm:
752 - git:
hwchiu14f97852019-10-08 10:51:11 -0700753 url: '{gerrit-server-url}/cord-tester'
754 branches:
755 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800756
757 triggers:
758 - reverse:
759 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
760 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800761
762
763- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800764 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800765 id: build_mcord_pod_manual
766 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700767 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800768 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
769 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
770 Copyright (c) 2019 Open Networking Foundation (ONF)
771
772 <<: *test-pipe-job-boiler-plate
773
774 parameters:
775 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700776 name: buildNode
777 default: '{build-node}'
778 description: 'Name of the Jenkins executor node to run the job on'
779
780 - string:
hwchiu14f97852019-10-08 10:51:11 -0700781 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700782 default: '{build-node}'
783 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800784
785 - string:
hwchiu14f97852019-10-08 10:51:11 -0700786 name: cordRepoUrl
787 default: '{gerrit-server-url}'
788 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800789
790 - string:
hwchiu14f97852019-10-08 10:51:11 -0700791 name: configBaseDir
792 default: 'pod-configs'
793 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800794
795 - string:
hwchiu14f97852019-10-08 10:51:11 -0700796 name: configDeploymentDir
797 default: 'deployment-configs'
798 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800799
800 - string:
hwchiu14f97852019-10-08 10:51:11 -0700801 name: configKubernetesDir
802 default: 'kubernetes-configs'
803 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800804
805 - string:
hwchiu14f97852019-10-08 10:51:11 -0700806 name: configToscaDir
807 default: 'tosca-configs'
808 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800809
810 - string:
hwchiu14f97852019-10-08 10:51:11 -0700811 name: configFileName
812 default: '{config-pod}'
813 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800814
815 - string:
hwchiu14f97852019-10-08 10:51:11 -0700816 name: branch
817 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800818
819 - string:
hwchiu14f97852019-10-08 10:51:11 -0700820 name: profile
821 default: '{profile}'
822 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800823
824 - string:
hwchiu14f97852019-10-08 10:51:11 -0700825 name: notificationEmail
826 default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org'
827 description: ''
Kailashc8c05d52019-01-15 20:01:11 -0800828
829 - bool:
830 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800831 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800832 description: "Configure POD via TOSCA post build"
833
Matteo Scandoloa6791892019-01-25 15:46:03 -0800834 - bool:
835 name: installEpcControlPlane
836 default: true
837 description: "Install the EPC control plane"
838
Kailashc8c05d52019-01-15 20:01:11 -0800839 concurrent: true
840
841 pipeline-scm:
842 script-path: '{Jenkinsfile}'
843 scm:
844 - git:
hwchiu14f97852019-10-08 10:51:11 -0700845 url: '{gerrit-server-url}/cord-tester'
846 branches:
847 - '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700848
849- job-template:
Suchitra Vemurie6dd15a2020-03-04 18:15:58 -0800850 name: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700851 id: build_voltha_pod_release
852 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700853 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700854 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
855 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
856 Copyright (c) 2018 Open Networking Foundation (ONF)
857
858 <<: *test-pipe-job-boiler-plate
Andy Bavier08a76b52020-06-03 12:45:54 -0700859 VolthaEtcdPort: '2379'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700860
861 parameters:
862 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700863 name: buildNode
864 default: '{build-node}'
865 description: 'Name of the Jenkins executor node to run the job on'
866
867 - string:
hwchiu14f97852019-10-08 10:51:11 -0700868 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700869 default: '{build-node}'
870 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700871
872 - string:
hwchiu14f97852019-10-08 10:51:11 -0700873 name: cordRepoUrl
874 default: '{gerrit-server-url}'
875 description: 'The URL of the CORD Project repository'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700876
877 - string:
hwchiu14f97852019-10-08 10:51:11 -0700878 name: configBaseDir
879 default: 'pod-configs'
880 description: 'The directory inside the POD configs repository'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700881
882 - string:
hwchiu14f97852019-10-08 10:51:11 -0700883 name: configDeploymentDir
884 default: 'deployment-configs'
885 description: 'The deployment configs folder'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700886
887 - string:
hwchiu14f97852019-10-08 10:51:11 -0700888 name: configKubernetesDir
889 default: 'kubernetes-configs'
890 description: 'The kubernetes config folder'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700891
892 - string:
hwchiu14f97852019-10-08 10:51:11 -0700893 name: configToscaDir
894 default: 'tosca-configs'
895 description: 'The tosca config folder'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700896
897 - string:
hwchiu14f97852019-10-08 10:51:11 -0700898 name: configFileName
899 default: '{config-pod}'
900 description: 'The config file'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700901
902 - string:
Suchitra Vemuri1ee34042019-10-22 13:28:07 -0700903 name: profile
904 default: '{profile}'
905 description: 'Technology Profile pushed to the ETCD'
906
907 - string:
hwchiu14f97852019-10-08 10:51:11 -0700908 name: helmRepoUrl
909 default: 'https://charts.opencord.org'
910 description: 'URL where helm-charts are published'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700911
912 - string:
hwchiu14f97852019-10-08 10:51:11 -0700913 name: branch
914 default: '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700915
916 - string:
hwchiu14f97852019-10-08 10:51:11 -0700917 name: notificationEmail
918 default: 'you@opennetworking.org, suchitra@opennetworking.org'
919 description: ''
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700920
Suchitra Vemuriaa9b17f2020-02-14 14:46:07 -0800921 - string:
Suchitra Vemuri8d180ab2020-03-12 17:38:24 -0700922 name: workFlow
923 default: '{work-flow}'
Andrea Campanellad924ce22020-04-20 16:40:41 +0200924 description: 'Installs and uses the specified work flow on the POD'
Suchitra Vemuriaa9b17f2020-02-14 14:46:07 -0800925
Suchitra Vemuri91896d42020-04-15 16:33:26 -0700926 - string:
927 name: NumOfOpenOnu
928 default: '{num-of-openonu}'
929 description: 'Installs the specified Number of OpenOnu Adapters'
930
Suchitra Vemuri50e62792020-05-06 16:48:28 -0700931 - string:
932 name: NumOfOnos
933 default: '{num-of-onos}'
934 description: 'Installs the specified Number of ONOS instances'
935
936 - string:
937 name: NumOfAtomix
938 default: '{num-of-atomix}'
939 description: 'Installs the specified Number of Atomix Instances'
940
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700941 - bool:
942 name: configurePod
943 default: true
944 description: "Configure POD via TOSCA post build"
945
946 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700947 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700948 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700949 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700950
Andrea Campanella32aff122020-02-03 17:02:32 +0100951 - bool:
952 name: withKind
Zack Williams21e3d162020-02-07 08:38:16 -0700953 default: '{with-kind}'
Andrea Campanella32aff122020-02-03 17:02:32 +0100954 description: "The pods uses kind and a physical fabric thus port forward to the management is needed"
955
Andy Bavier08a76b52020-06-03 12:45:54 -0700956 - string:
957 name: VolthaEtcdPort
958 default: '{VolthaEtcdPort}'
959 description: 'Localhost port that is forwarded to VOLTHA etcd'
960
Andrea Campanella12ea28f2020-05-21 12:05:55 +0200961 - bool:
962 name: inBandManagement
963 default: '{in-band-management}'
964 description: 'Indicates whether POD is configured for in band management'
965
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700966 concurrent: true
967
968 pipeline-scm:
969 script-path: '{Jenkinsfile}'
970 scm:
971 - git:
hwchiu14f97852019-10-08 10:51:11 -0700972 url: '{gerrit-server-url}/voltha-system-tests'
973 branches:
974 - '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700975
976 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700977 - timed: |
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700978 TZ=America/Los_Angeles
Suchitra Vemuri04b55a72019-10-29 18:17:31 -0700979 H {time} * * *
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700980
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700981- job-template:
Suchitra Vemurie6dd15a2020-03-04 18:15:58 -0800982 name: 'build_{config-pod}_{profile}_voltha{name-extension}_{release}_test'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700983 id: build_voltha_pod_test
984 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700985 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {pipeline-script}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700986 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700987 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
988 Copyright (c) 2017 Open Networking Foundation (ONF)
989
990 <<: *test-pipe-job-boiler-plate
Andy Bavier358aa0b2019-11-22 11:55:39 -0700991 pipeline-script: 'voltha-physical-functional-tests.groovy'
992 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
993 manifest-branch: 'master'
994
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700995 parameters:
996 - string:
Andy Bavier358aa0b2019-11-22 11:55:39 -0700997 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700998 default: '{build-node}'
999 description: 'Name of the Jenkins executor node to run the job on'
1000
1001 - string:
1002 name: TestNodeName
1003 default: '{build-node}'
1004 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001005
1006 - string:
hwchiu14f97852019-10-08 10:51:11 -07001007 name: cordRepoUrl
1008 default: '{gerrit-server-url}'
1009 description: 'The URL of the CORD Project repository'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001010
1011 - string:
hwchiu14f97852019-10-08 10:51:11 -07001012 name: configBaseDir
1013 default: 'pod-configs'
1014 description: 'The directory inside the POD configs repository'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001015
1016 - string:
hwchiu14f97852019-10-08 10:51:11 -07001017 name: configDeploymentDir
1018 default: 'deployment-configs'
1019 description: 'The deployment configs folder'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001020
1021 - string:
hwchiu14f97852019-10-08 10:51:11 -07001022 name: configKubernetesDir
1023 default: 'kubernetes-configs'
1024 description: 'The kubernetes config folder'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001025
1026 - string:
hwchiu14f97852019-10-08 10:51:11 -07001027 name: configToscaDir
1028 default: 'tosca-configs'
1029 description: 'The tosca config folder'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001030
1031 - string:
hwchiu14f97852019-10-08 10:51:11 -07001032 name: configFileName
1033 default: '{config-pod}'
1034 description: 'The config file'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001035
1036 - string:
Suchitra Vemuri1ee34042019-10-22 13:28:07 -07001037 name: profile
1038 default: '{profile}'
1039 description: 'Technology Profile pushed to the ETCD'
1040
1041 - string:
hwchiu14f97852019-10-08 10:51:11 -07001042 name: branch
1043 default: '{branch}'
Andy Bavier358aa0b2019-11-22 11:55:39 -07001044 description: 'Branch of the test libraries to check out'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001045
1046 - string:
Andy Bavier358aa0b2019-11-22 11:55:39 -07001047 name: manifestUrl
1048 default: '{manifest-url}'
1049 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
1050
1051 - string:
1052 name: manifestBranch
1053 default: '{manifest-branch}'
1054 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
1055
Andrea Campanellad924ce22020-04-20 16:40:41 +02001056 - string:
1057 name: workFlow
1058 default: '{work-flow}'
1059 description: 'Installs and uses the specified work flow on the POD'
1060
Suchitra Vemuriaf134ff2020-02-19 16:55:38 -08001061 - bool:
1062 name: powerSwitch
1063 default: '{power-switch}'
1064 description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001065
1066 concurrent: true
1067
Andy Bavier358aa0b2019-11-22 11:55:39 -07001068 project-type: pipeline
1069 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001070
1071 triggers:
1072 - reverse:
Suchitra Vemuri6d9b1db2020-03-05 15:51:10 -08001073 jobs: 'build_{config-pod}_{profile}{name-extension}_voltha_{release}'
Suchitra Vemurif921cda2019-09-25 22:53:45 -07001074 result: 'success'