blob: ff05de937b78d26453c537bffbdefacadb2c22a3 [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:
13 build-days-to-keep: '{build-days-to-keep}'
14 artifact-num-to-keep: '{artifact-num-to-keep}'
15
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: |
21 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070022 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -070023 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070024 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
25 Copyright (c) 2018 Open Networking Foundation (ONF)
26
27 <<: *test-pipe-job-boiler-plate
28
29 parameters:
30 - string:
hwchiu14f97852019-10-08 10:51:11 -070031 name: TestNodeName
32 default: '{testvm}'
33 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070034
35 - string:
hwchiu14f97852019-10-08 10:51:11 -070036 name: cordRepoUrl
37 default: '{gerrit-server-url}'
38 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070039
40 - string:
hwchiu14f97852019-10-08 10:51:11 -070041 name: configBaseDir
42 default: 'pod-configs'
43 description: 'The directory inside the POD configs repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070044
45 - string:
hwchiu14f97852019-10-08 10:51:11 -070046 name: configDeploymentDir
47 default: 'deployment-configs'
48 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070049
50 - string:
hwchiu14f97852019-10-08 10:51:11 -070051 name: configKubernetesDir
52 default: 'kubernetes-configs'
53 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070054
55 - string:
hwchiu14f97852019-10-08 10:51:11 -070056 name: configToscaDir
57 default: 'tosca-configs'
58 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -070059
60 - string:
hwchiu14f97852019-10-08 10:51:11 -070061 name: configFileName
62 default: '{config-pod}'
63 description: 'The config file'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070064
65 - string:
hwchiu14f97852019-10-08 10:51:11 -070066 name: oltDebVersion
67 default: '{oltDebVersion}'
68 description: 'OLT Software version to install'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070069
70 - string:
hwchiu14f97852019-10-08 10:51:11 -070071 name: branch
72 default: '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070073
Kailash Khalasi9559f362018-09-14 13:53:28 -070074 - string:
hwchiu14f97852019-10-08 10:51:11 -070075 name: helmRepoUrl
76 default: 'https://charts.opencord.org'
77 description: 'URL where helm-charts are published'
Kailash876b9012019-03-13 13:22:34 -070078
79 - string:
hwchiu14f97852019-10-08 10:51:11 -070080 name: profile
81 default: '{profile}'
82 description: 'Profile in which this job installs'
Kailash Khalasi9559f362018-09-14 13:53:28 -070083
Kailashdee47a02018-11-29 08:46:32 -080084 - string:
hwchiu14f97852019-10-08 10:51:11 -070085 name: notificationEmail
86 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
87 description: ''
Kailashdee47a02018-11-29 08:46:32 -080088
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
101 default: true
102 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
111 default: '16'
112 description: "Onus per PonPort"
113
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700114 concurrent: true
115
116 pipeline-scm:
117 script-path: '{Jenkinsfile}'
118 scm:
119 - git:
hwchiu14f97852019-10-08 10:51:11 -0700120 url: '{gerrit-server-url}/{test-repo}'
121 branches:
122 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700123
124- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700125 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700126 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700127 description: |
128 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700129 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuri917aa612019-09-23 19:35:31 -0700130 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700131 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
132 Copyright (c) 2017 Open Networking Foundation (ONF)
Kailash85b40372019-08-28 08:51:23 -0700133 disabled: false
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700134
135 <<: *test-pipe-job-boiler-plate
136
137 parameters:
138 - string:
hwchiu14f97852019-10-08 10:51:11 -0700139 name: TestNodeName
140 default: '{testvm}'
141 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700142
143 - string:
hwchiu14f97852019-10-08 10:51:11 -0700144 name: cordRepoUrl
145 default: '{gerrit-server-url}'
146 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700147
148 - string:
hwchiu14f97852019-10-08 10:51:11 -0700149 name: configBaseDir
150 default: 'pod-configs'
151 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700152
153 - string:
hwchiu14f97852019-10-08 10:51:11 -0700154 name: configDeploymentDir
155 default: 'deployment-configs'
156 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700157
158 - string:
hwchiu14f97852019-10-08 10:51:11 -0700159 name: configKubernetesDir
160 default: 'kubernetes-configs'
161 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700162
163 - string:
hwchiu14f97852019-10-08 10:51:11 -0700164 name: configToscaDir
165 default: 'tosca-configs'
166 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700167
168 - string:
hwchiu14f97852019-10-08 10:51:11 -0700169 name: configFileName
170 default: '{config-pod}'
171 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700172
173 - string:
hwchiu14f97852019-10-08 10:51:11 -0700174 name: oltDebVersion
175 default: '{oltDebVersion}'
176 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700177
178 - string:
hwchiu14f97852019-10-08 10:51:11 -0700179 name: branch
180 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700181
182 - string:
hwchiu14f97852019-10-08 10:51:11 -0700183 name: helmRepoUrl
184 default: 'https://charts.opencord.org'
185 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700186
187 - string:
hwchiu14f97852019-10-08 10:51:11 -0700188 name: profile
189 default: '{profile}'
190 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700191
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700192 - bool:
193 name: configurePod
194 default: true
195 description: "Configure POD via TOSCA post build"
196
Kailashdee47a02018-11-29 08:46:32 -0800197 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700198 name: reinstallOlt
199 default: true
200 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800201
202 - bool:
203 name: installBBSim
204 default: false
205 description: "Install the BBSim container"
206
207 - string:
208 name: onuNumber
209 default: '16'
210 description: "Onus per PonPort"
211
Kailash Khalasi9559f362018-09-14 13:53:28 -0700212 - string:
hwchiu14f97852019-10-08 10:51:11 -0700213 name: notificationEmail
214 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
215 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700216
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700217 concurrent: true
218
219 pipeline-scm:
220 script-path: '{Jenkinsfile}'
221 scm:
222 - git:
hwchiu14f97852019-10-08 10:51:11 -0700223 url: '{gerrit-server-url}/{test-repo}'
224 branches:
225 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700226
227 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700228 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700229 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700230 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700231
232- job-template:
233 name: 'build_{profile}_{config-pod}_{branch}_test'
234 id: build_pod_test
235 description: |
236 <!-- Managed by Jenkins Job Builder -->
237 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700238 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi9559f362018-09-14 13:53:28 -0700239 Created by Kailash Khalasi - kailash@opennetworking.org <br />
240 Copyright (c) 2017 Open Networking Foundation (ONF)
241
242 <<: *test-pipe-job-boiler-plate
243
244 parameters:
245 - string:
hwchiu14f97852019-10-08 10:51:11 -0700246 name: TestNodeName
247 default: '{testvm}'
248 description: 'Jenkins node name of TestVM Node'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700249
250 - string:
hwchiu14f97852019-10-08 10:51:11 -0700251 name: cordRepoUrl
252 default: '{gerrit-server-url}'
253 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700254
255 - string:
hwchiu14f97852019-10-08 10:51:11 -0700256 name: configBaseDir
257 default: 'pod-configs'
258 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700259
260 - string:
hwchiu14f97852019-10-08 10:51:11 -0700261 name: configDeploymentDir
262 default: 'deployment-configs'
263 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700264
265 - string:
hwchiu14f97852019-10-08 10:51:11 -0700266 name: configKubernetesDir
267 default: 'kubernetes-configs'
268 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700269
270 - string:
hwchiu14f97852019-10-08 10:51:11 -0700271 name: configToscaDir
272 default: 'tosca-configs'
273 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700274
275 - string:
hwchiu14f97852019-10-08 10:51:11 -0700276 name: configFileName
277 default: '{config-pod}'
278 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700279
280 - string:
hwchiu14f97852019-10-08 10:51:11 -0700281 name: branch
282 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700283
284 - string:
hwchiu14f97852019-10-08 10:51:11 -0700285 name: notificationEmail
286 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
287 description: ''
Kailash Khalasi9559f362018-09-14 13:53:28 -0700288
289 concurrent: true
290
291 pipeline-scm:
292 script-path: '{Jenkinsfile}'
293 scm:
294 - git:
hwchiu14f97852019-10-08 10:51:11 -0700295 url: '{gerrit-server-url}/{test-repo}'
296 branches:
297 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700298
299 triggers:
300 - reverse:
301 jobs: 'build_{profile}_{config-pod}_{branch}'
302 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800303
304- job-template:
305 name: 'build_{profile}_{config-pod}_{branch}_post_actions'
306 id: post_build_actions
307 description: |
308 <!-- Managed by Jenkins Job Builder -->
309 Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700310 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800311 Created by Kailash Khalasi - kailash@opennetworking.org <br />
312 Copyright (c) 2017 Open Networking Foundation (ONF)
313
314 <<: *test-pipe-job-boiler-plate
315
316 parameters:
317 - string:
hwchiu14f97852019-10-08 10:51:11 -0700318 name: TestNodeName
319 default: '{testvm}'
320 description: 'Jenkins node name of TestVM Node'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800321
322 - string:
hwchiu14f97852019-10-08 10:51:11 -0700323 name: cordRepoUrl
324 default: '{gerrit-server-url}'
325 description: 'The URL of the CORD Project repository'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800326
327 - string:
hwchiu14f97852019-10-08 10:51:11 -0700328 name: configBaseDir
329 default: 'pod-configs'
330 description: 'The directory inside the POD configs repository'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800331
332 - string:
hwchiu14f97852019-10-08 10:51:11 -0700333 name: configDeploymentDir
334 default: 'deployment-configs'
335 description: 'The deployment configs folder'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800336
337 - string:
hwchiu14f97852019-10-08 10:51:11 -0700338 name: configKubernetesDir
339 default: 'kubernetes-configs'
340 description: 'The kubernetes config folder'
Kailashc7d9e4e2018-11-13 14:48:23 -0800341
342 - string:
hwchiu14f97852019-10-08 10:51:11 -0700343 name: configFileName
344 default: '{config-pod}'
345 description: 'The config file'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800346
347 - string:
hwchiu14f97852019-10-08 10:51:11 -0700348 name: branch
349 default: '{branch}'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800350
351 - string:
hwchiu14f97852019-10-08 10:51:11 -0700352 name: notificationEmail
353 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
354 description: ''
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800355
356 concurrent: true
357
358 pipeline-scm:
359 script-path: '{Jenkinsfile}'
360 scm:
361 - git:
hwchiu14f97852019-10-08 10:51:11 -0700362 url: '{gerrit-server-url}/cord-tester'
363 branches:
364 - '{branch}'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800365
366 triggers:
367 - reverse:
368 jobs: 'build_{profile}_{config-pod}_{branch}'
369 result: 'failure'
Kailashd1963d12018-12-17 15:11:01 -0800370
Kailashd1963d12018-12-17 15:11:01 -0800371- job-template:
372 name: 'build_{config-pod}_seba_release_{release}'
373 id: build_pod_manual_release
374 description: |
375 <!-- Managed by Jenkins Job Builder -->
376 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700377 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800378 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
379 Copyright (c) 2018 Open Networking Foundation (ONF)
380
381 <<: *test-pipe-job-boiler-plate
382
383 parameters:
384 - string:
hwchiu14f97852019-10-08 10:51:11 -0700385 name: TestNodeName
386 default: '{testvm}'
387 description: 'Jenkins node name of TestVM Node'
Kailashd1963d12018-12-17 15:11:01 -0800388
389 - string:
hwchiu14f97852019-10-08 10:51:11 -0700390 name: cordRepoUrl
391 default: '{gerrit-server-url}'
392 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800393
394 - string:
hwchiu14f97852019-10-08 10:51:11 -0700395 name: configBaseDir
396 default: 'pod-configs'
397 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800398
399 - string:
hwchiu14f97852019-10-08 10:51:11 -0700400 name: configDeploymentDir
401 default: 'deployment-configs'
402 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800403
404 - string:
hwchiu14f97852019-10-08 10:51:11 -0700405 name: configKubernetesDir
406 default: 'kubernetes-configs'
407 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800408
409 - string:
hwchiu14f97852019-10-08 10:51:11 -0700410 name: configToscaDir
411 default: 'tosca-configs'
412 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800413
414 - string:
hwchiu14f97852019-10-08 10:51:11 -0700415 name: configFileName
416 default: '{config-pod}'
417 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800418
419 - string:
hwchiu14f97852019-10-08 10:51:11 -0700420 name: oltDebVersion
421 default: '{oltDebVersion}'
422 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800423
424 - string:
hwchiu14f97852019-10-08 10:51:11 -0700425 name: branch
426 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800427
428 - string:
hwchiu14f97852019-10-08 10:51:11 -0700429 name: notificationEmail
430 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
431 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800432
433 - bool:
434 name: configurePod
435 default: true
436 description: "Configure POD via TOSCA post build"
437
438 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700439 name: reinstallOlt
440 default: true
441 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800442
443 - bool:
444 name: installBBSim
445 default: false
446 description: "Install the BBSim container"
447
448 - string:
449 name: onuNumber
450 default: '16'
451 description: "Onus per PonPort"
452
453 concurrent: true
454
455 pipeline-scm:
456 script-path: '{Jenkinsfile}'
457 scm:
458 - git:
hwchiu14f97852019-10-08 10:51:11 -0700459 url: '{gerrit-server-url}/cord-tester'
460 branches:
461 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800462
463- job-template:
464 name: 'build_{config-pod}_seba_release_{release}'
465 id: build_pod_release
466 description: |
467 <!-- Managed by Jenkins Job Builder -->
468 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700469 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800470 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
471 Copyright (c) 2018 Open Networking Foundation (ONF)
472
473 <<: *test-pipe-job-boiler-plate
474
475 parameters:
476 - string:
hwchiu14f97852019-10-08 10:51:11 -0700477 name: TestNodeName
478 default: '{testvm}'
479 description: 'Jenkins node name of TestVM Node'
Kailashd1963d12018-12-17 15:11:01 -0800480
481 - string:
hwchiu14f97852019-10-08 10:51:11 -0700482 name: cordRepoUrl
483 default: '{gerrit-server-url}'
484 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800485
486 - string:
hwchiu14f97852019-10-08 10:51:11 -0700487 name: configBaseDir
488 default: 'pod-configs'
489 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800490
491 - string:
hwchiu14f97852019-10-08 10:51:11 -0700492 name: configDeploymentDir
493 default: 'deployment-configs'
494 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800495
496 - string:
hwchiu14f97852019-10-08 10:51:11 -0700497 name: configKubernetesDir
498 default: 'kubernetes-configs'
499 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800500
501 - string:
hwchiu14f97852019-10-08 10:51:11 -0700502 name: configToscaDir
503 default: 'tosca-configs'
504 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800505
506 - string:
hwchiu14f97852019-10-08 10:51:11 -0700507 name: configFileName
508 default: '{config-pod}'
509 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800510
511 - string:
hwchiu14f97852019-10-08 10:51:11 -0700512 name: oltDebVersion
513 default: '{oltDebVersion}'
514 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800515
516 - string:
hwchiu14f97852019-10-08 10:51:11 -0700517 name: helmRepoUrl
518 default: 'https://charts.opencord.org'
519 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700520
521 - string:
hwchiu14f97852019-10-08 10:51:11 -0700522 name: branch
523 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800524
525 - string:
hwchiu14f97852019-10-08 10:51:11 -0700526 name: notificationEmail
527 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
528 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800529
530 - bool:
531 name: configurePod
532 default: true
533 description: "Configure POD via TOSCA post build"
534
535 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700536 name: reinstallOlt
537 default: true
538 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800539
540 - bool:
541 name: installBBSim
542 default: false
543 description: "Install the BBSim container"
544
545 - string:
546 name: onuNumber
547 default: '16'
548 description: "Onus per PonPort"
549
550 concurrent: true
551
552 pipeline-scm:
553 script-path: '{Jenkinsfile}'
554 scm:
555 - git:
hwchiu14f97852019-10-08 10:51:11 -0700556 url: '{gerrit-server-url}/cord-tester'
557 branches:
558 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800559
560 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700561 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800562 TZ=America/Los_Angeles
563 H {time} * * *
564
565- job-template:
566 name: 'build_{config-pod}_seba_release_{release}_test'
567 id: build_pod_release_test
568 description: |
569 <!-- Managed by Jenkins Job Builder -->
570 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700571 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800572 Created by Kailash Khalasi - kailash@opennetworking.org <br />
573 Copyright (c) 2017 Open Networking Foundation (ONF)
574
575 <<: *test-pipe-job-boiler-plate
576
577 parameters:
578 - string:
hwchiu14f97852019-10-08 10:51:11 -0700579 name: TestNodeName
580 default: '{testvm}'
581 description: 'Jenkins node name of TestVM Node'
Kailashd1963d12018-12-17 15:11:01 -0800582
583 - string:
hwchiu14f97852019-10-08 10:51:11 -0700584 name: cordRepoUrl
585 default: '{gerrit-server-url}'
586 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800587
588 - string:
hwchiu14f97852019-10-08 10:51:11 -0700589 name: configBaseDir
590 default: 'pod-configs'
591 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800592
593 - string:
hwchiu14f97852019-10-08 10:51:11 -0700594 name: configDeploymentDir
595 default: 'deployment-configs'
596 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800597
598 - string:
hwchiu14f97852019-10-08 10:51:11 -0700599 name: configKubernetesDir
600 default: 'kubernetes-configs'
601 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800602
603 - string:
hwchiu14f97852019-10-08 10:51:11 -0700604 name: configToscaDir
605 default: 'tosca-configs'
606 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800607
608 - string:
hwchiu14f97852019-10-08 10:51:11 -0700609 name: configFileName
610 default: '{config-pod}'
611 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800612
613 - string:
hwchiu14f97852019-10-08 10:51:11 -0700614 name: branch
615 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800616
617 - string:
hwchiu14f97852019-10-08 10:51:11 -0700618 name: notificationEmail
619 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
620 description: ''
Kailashd1963d12018-12-17 15:11:01 -0800621
622 concurrent: true
623
624 pipeline-scm:
625 script-path: '{Jenkinsfile}'
626 scm:
627 - git:
hwchiu14f97852019-10-08 10:51:11 -0700628 url: '{gerrit-server-url}/cord-tester'
629 branches:
630 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800631
632 triggers:
633 - reverse:
634 jobs: 'build_{config-pod}_seba_release_{release}'
635 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800636
637
638- job-template:
639 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
640 id: build_pod_release_test_microcharts
641 description: |
642 <!-- Managed by Jenkins Job Builder -->
643 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700644 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800645 Created by Kailash Khalasi - kailash@opennetworking.org <br />
646 Copyright (c) 2017 Open Networking Foundation (ONF)
647
648 <<: *test-pipe-job-boiler-plate
649
650 parameters:
651 - string:
hwchiu14f97852019-10-08 10:51:11 -0700652 name: TestNodeName
653 default: '{testvm}'
654 description: 'Jenkins node name of TestVM Node'
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
690 - string:
hwchiu14f97852019-10-08 10:51:11 -0700691 name: notificationEmail
692 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
693 description: ''
Kailash5b1a1612018-12-21 15:17:21 -0800694
695 concurrent: true
696
697 pipeline-scm:
698 script-path: '{Jenkinsfile}'
699 scm:
700 - git:
hwchiu14f97852019-10-08 10:51:11 -0700701 url: '{gerrit-server-url}/cord-tester'
702 branches:
703 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800704
705 triggers:
706 - reverse:
707 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
708 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800709
710
711- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800712 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800713 id: build_mcord_pod_manual
714 description: |
715 <!-- Managed by Jenkins Job Builder -->
716 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
717 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
718 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
719 Copyright (c) 2019 Open Networking Foundation (ONF)
720
721 <<: *test-pipe-job-boiler-plate
722
723 parameters:
724 - string:
hwchiu14f97852019-10-08 10:51:11 -0700725 name: TestNodeName
726 default: '{testvm}'
727 description: 'Jenkins node name of TestVM Node'
Kailashc8c05d52019-01-15 20:01:11 -0800728
729 - string:
hwchiu14f97852019-10-08 10:51:11 -0700730 name: cordRepoUrl
731 default: '{gerrit-server-url}'
732 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800733
734 - string:
hwchiu14f97852019-10-08 10:51:11 -0700735 name: configBaseDir
736 default: 'pod-configs'
737 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800738
739 - string:
hwchiu14f97852019-10-08 10:51:11 -0700740 name: configDeploymentDir
741 default: 'deployment-configs'
742 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800743
744 - string:
hwchiu14f97852019-10-08 10:51:11 -0700745 name: configKubernetesDir
746 default: 'kubernetes-configs'
747 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800748
749 - string:
hwchiu14f97852019-10-08 10:51:11 -0700750 name: configToscaDir
751 default: 'tosca-configs'
752 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800753
754 - string:
hwchiu14f97852019-10-08 10:51:11 -0700755 name: configFileName
756 default: '{config-pod}'
757 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800758
759 - string:
hwchiu14f97852019-10-08 10:51:11 -0700760 name: branch
761 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800762
763 - string:
hwchiu14f97852019-10-08 10:51:11 -0700764 name: profile
765 default: '{profile}'
766 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800767
768 - string:
hwchiu14f97852019-10-08 10:51:11 -0700769 name: notificationEmail
770 default: 'luca@opennetworking.org, teo@opennetworking.org, weiyu@opennetworking.org'
771 description: ''
Kailashc8c05d52019-01-15 20:01:11 -0800772
773 - bool:
774 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800775 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800776 description: "Configure POD via TOSCA post build"
777
Matteo Scandoloa6791892019-01-25 15:46:03 -0800778 - bool:
779 name: installEpcControlPlane
780 default: true
781 description: "Install the EPC control plane"
782
Kailashc8c05d52019-01-15 20:01:11 -0800783 concurrent: true
784
785 pipeline-scm:
786 script-path: '{Jenkinsfile}'
787 scm:
788 - git:
hwchiu14f97852019-10-08 10:51:11 -0700789 url: '{gerrit-server-url}/cord-tester'
790 branches:
791 - '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700792
793- job-template:
Suchitra Vemuri1ee34042019-10-22 13:28:07 -0700794 name: 'build_{config-pod}_{profile}_voltha_{release}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700795 id: build_voltha_pod_release
796 description: |
797 <!-- Managed by Jenkins Job Builder -->
798 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
799 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
800 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
801 Copyright (c) 2018 Open Networking Foundation (ONF)
802
803 <<: *test-pipe-job-boiler-plate
804
805 parameters:
806 - string:
hwchiu14f97852019-10-08 10:51:11 -0700807 name: TestNodeName
808 default: '{testvm}'
809 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700810
811 - string:
hwchiu14f97852019-10-08 10:51:11 -0700812 name: cordRepoUrl
813 default: '{gerrit-server-url}'
814 description: 'The URL of the CORD Project repository'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700815
816 - string:
hwchiu14f97852019-10-08 10:51:11 -0700817 name: configBaseDir
818 default: 'pod-configs'
819 description: 'The directory inside the POD configs repository'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700820
821 - string:
hwchiu14f97852019-10-08 10:51:11 -0700822 name: configDeploymentDir
823 default: 'deployment-configs'
824 description: 'The deployment configs folder'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700825
826 - string:
hwchiu14f97852019-10-08 10:51:11 -0700827 name: configKubernetesDir
828 default: 'kubernetes-configs'
829 description: 'The kubernetes config folder'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700830
831 - string:
hwchiu14f97852019-10-08 10:51:11 -0700832 name: configToscaDir
833 default: 'tosca-configs'
834 description: 'The tosca config folder'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700835
836 - string:
hwchiu14f97852019-10-08 10:51:11 -0700837 name: configFileName
838 default: '{config-pod}'
839 description: 'The config file'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700840
841 - string:
Suchitra Vemuri1ee34042019-10-22 13:28:07 -0700842 name: profile
843 default: '{profile}'
844 description: 'Technology Profile pushed to the ETCD'
845
846 - string:
hwchiu14f97852019-10-08 10:51:11 -0700847 name: oltDebVersion
848 default: '{oltDebVersion}'
849 description: 'OLT Software version to install'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700850
851 - string:
hwchiu14f97852019-10-08 10:51:11 -0700852 name: helmRepoUrl
853 default: 'https://charts.opencord.org'
854 description: 'URL where helm-charts are published'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700855
856 - string:
hwchiu14f97852019-10-08 10:51:11 -0700857 name: branch
858 default: '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700859
860 - string:
hwchiu14f97852019-10-08 10:51:11 -0700861 name: notificationEmail
862 default: 'you@opennetworking.org, suchitra@opennetworking.org'
863 description: ''
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700864
Suchitra Vemuriaa9b17f2020-02-14 14:46:07 -0800865 - string:
866 name: onosVersion
867 default: '{onos-version}'
868 description: 'ONOS version that needs to be configured'
869
870
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700871 - bool:
Suchitra Vemuri6fb7b872019-11-05 15:20:51 -0800872 name: released
Suchitra Vemuri3341f5b2019-11-06 21:41:38 -0800873 default: '{released}'
Suchitra Vemuri6fb7b872019-11-05 15:20:51 -0800874 description: "Pulls released version images when true"
875
876 - bool:
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700877 name: configurePod
878 default: true
879 description: "Configure POD via TOSCA post build"
880
881 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700882 name: reinstallOlt
883 default: true
884 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700885
Andrea Campanella32aff122020-02-03 17:02:32 +0100886 - bool:
887 name: withKind
Zack Williams21e3d162020-02-07 08:38:16 -0700888 default: '{with-kind}'
Andrea Campanella32aff122020-02-03 17:02:32 +0100889 description: "The pods uses kind and a physical fabric thus port forward to the management is needed"
890
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700891 concurrent: true
892
893 pipeline-scm:
894 script-path: '{Jenkinsfile}'
895 scm:
896 - git:
hwchiu14f97852019-10-08 10:51:11 -0700897 url: '{gerrit-server-url}/voltha-system-tests'
898 branches:
899 - '{branch}'
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700900
901 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700902 - timed: |
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700903 TZ=America/Los_Angeles
Suchitra Vemuri04b55a72019-10-29 18:17:31 -0700904 H {time} * * *
Suchitra Vemuri23b19792019-09-25 17:41:19 -0700905
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700906- job-template:
Suchitra Vemuri1ee34042019-10-22 13:28:07 -0700907 name: 'build_{config-pod}_{profile}_voltha_{release}_test'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700908 id: build_voltha_pod_test
909 description: |
910 <!-- Managed by Jenkins Job Builder -->
911 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700912 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700913 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
914 Copyright (c) 2017 Open Networking Foundation (ONF)
915
916 <<: *test-pipe-job-boiler-plate
Andy Bavier358aa0b2019-11-22 11:55:39 -0700917 pipeline-script: 'voltha-physical-functional-tests.groovy'
918 manifest-url: 'https://gerrit.opencord.org/voltha-test-manifest.git'
919 manifest-branch: 'master'
920
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700921 parameters:
922 - string:
Andy Bavier358aa0b2019-11-22 11:55:39 -0700923 name: buildNode
hwchiu14f97852019-10-08 10:51:11 -0700924 default: '{testvm}'
925 description: 'Jenkins node name of TestVM Node'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700926
927 - string:
hwchiu14f97852019-10-08 10:51:11 -0700928 name: cordRepoUrl
929 default: '{gerrit-server-url}'
930 description: 'The URL of the CORD Project repository'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700931
932 - string:
hwchiu14f97852019-10-08 10:51:11 -0700933 name: configBaseDir
934 default: 'pod-configs'
935 description: 'The directory inside the POD configs repository'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700936
937 - string:
hwchiu14f97852019-10-08 10:51:11 -0700938 name: configDeploymentDir
939 default: 'deployment-configs'
940 description: 'The deployment configs folder'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700941
942 - string:
hwchiu14f97852019-10-08 10:51:11 -0700943 name: configKubernetesDir
944 default: 'kubernetes-configs'
945 description: 'The kubernetes config folder'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700946
947 - string:
hwchiu14f97852019-10-08 10:51:11 -0700948 name: configToscaDir
949 default: 'tosca-configs'
950 description: 'The tosca config folder'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700951
952 - string:
hwchiu14f97852019-10-08 10:51:11 -0700953 name: configFileName
954 default: '{config-pod}'
955 description: 'The config file'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700956
957 - string:
Suchitra Vemuri1ee34042019-10-22 13:28:07 -0700958 name: profile
959 default: '{profile}'
960 description: 'Technology Profile pushed to the ETCD'
961
Suchitra Vemurifbc4a742020-01-08 16:55:26 -0800962 - bool:
963 name: released
964 default: '{released}'
965 description: "Pulls tests that are tagged with released as identifier"
966
Suchitra Vemuri1ee34042019-10-22 13:28:07 -0700967 - string:
hwchiu14f97852019-10-08 10:51:11 -0700968 name: branch
969 default: '{branch}'
Andy Bavier358aa0b2019-11-22 11:55:39 -0700970 description: 'Branch of the test libraries to check out'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700971
972 - string:
Andy Bavier358aa0b2019-11-22 11:55:39 -0700973 name: manifestUrl
974 default: '{manifest-url}'
975 description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
976
977 - string:
978 name: manifestBranch
979 default: '{manifest-branch}'
980 description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
981
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700982
983 concurrent: true
984
Andy Bavier358aa0b2019-11-22 11:55:39 -0700985 project-type: pipeline
986 dsl: !include-raw-escape: ../pipeline/{pipeline-script}
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700987
988 triggers:
989 - reverse:
Suchitra Vemuric4c741f2019-10-22 22:02:53 -0700990 jobs: 'build_{config-pod}_{profile}_voltha_{release}'
Suchitra Vemurif921cda2019-09-25 22:53:45 -0700991 result: 'success'