blob: 4f20609e08c7451ade351093e363070245c3bd4d [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 />
Joey Armstrong775a20f2022-12-02 12:55:43 -050024 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070025
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +010026 openoltAdapterChart: onf/voltha-adapter-openolt
27
Andrea Campanella20361592021-08-26 18:45:28 +020028 oltAdapterReleaseName: open-olt
29
Andrea Campanellaecefbc82021-08-27 11:06:31 +020030 waitTimerForOltUp: 360
31
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070032 <<: *test-pipe-job-boiler-plate
33
34 parameters:
35 - string:
Zack Williams8ef79812019-10-29 11:09:18 -070036 name: buildNode
37 default: '{build-node}'
38 description: 'Name of the Jenkins executor node to run the job on'
39
40 - string:
hwchiu14f97852019-10-08 10:51:11 -070041 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -070042 default: '{build-node}'
43 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070044
45 - string:
hwchiu14f97852019-10-08 10:51:11 -070046 name: cordRepoUrl
47 default: '{gerrit-server-url}'
48 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070049
50 - string:
hwchiu14f97852019-10-08 10:51:11 -070051 name: configBaseDir
52 default: 'pod-configs'
53 description: 'The directory inside the POD configs repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070054
55 - string:
hwchiu14f97852019-10-08 10:51:11 -070056 name: configDeploymentDir
57 default: 'deployment-configs'
58 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070059
60 - string:
hwchiu14f97852019-10-08 10:51:11 -070061 name: configKubernetesDir
62 default: 'kubernetes-configs'
63 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070064
65 - string:
hwchiu14f97852019-10-08 10:51:11 -070066 name: configToscaDir
67 default: 'tosca-configs'
68 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -070069
70 - string:
hwchiu14f97852019-10-08 10:51:11 -070071 name: configFileName
72 default: '{config-pod}'
73 description: 'The config file'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070074
75 - string:
hwchiu14f97852019-10-08 10:51:11 -070076 name: branch
77 default: '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070078
Kailash Khalasi9559f362018-09-14 13:53:28 -070079 - string:
hwchiu14f97852019-10-08 10:51:11 -070080 name: helmRepoUrl
81 default: 'https://charts.opencord.org'
82 description: 'URL where helm-charts are published'
Kailash876b9012019-03-13 13:22:34 -070083
84 - string:
hwchiu14f97852019-10-08 10:51:11 -070085 name: profile
86 default: '{profile}'
87 description: 'Profile in which this job installs'
Kailash Khalasi9559f362018-09-14 13:53:28 -070088
Kailash Khalasice9eaec2018-09-14 12:01:56 -070089 - bool:
Matteo Scandolo38127362019-04-16 14:14:22 -070090 name: installMonitoringAndLogging
91 default: false
92 description: "Wether to install prometheus and Elk-stack"
93
94 - bool:
Kailash Khalasice9eaec2018-09-14 12:01:56 -070095 name: configurePod
96 default: true
97 description: "Configure POD via TOSCA post build"
98
Kailashdee47a02018-11-29 08:46:32 -080099 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700100 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700101 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700102 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700103
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800104 - bool:
105 name: installBBSim
106 default: false
107 description: "Install the BBSim container"
108
109 - string:
110 name: onuNumber
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800111 default: '{num-of-onus}'
Matteo Scandolofe69a8c2018-11-27 11:50:06 -0800112 description: "Onus per PonPort"
113
Suchitra Vemurie0451712020-05-06 22:51:23 -0700114 - string:
Suchitra Vemuridddc3ac2021-02-11 15:40:43 -0800115 name: ponNumber
116 default: '{num-of-ponports}'
117 description: "Number of PON Ports"
118
119 - string:
Suchitra Vemurie0451712020-05-06 22:51:23 -0700120 name: workFlow
121 default: '{work-flow}'
122 description: 'Installs and uses the specified work flow on the POD'
123
124 - string:
125 name: NumOfOpenOnu
126 default: '{num-of-openonu}'
127 description: 'Installs the specified Number of OpenOnu Adapters'
128
129 - string:
130 name: NumOfOnos
131 default: '{num-of-onos}'
132 description: 'Installs the specified Number of ONOS instances'
133
Suchitra Vemuria0d92052020-07-15 11:36:12 -0700134 - bool:
135 name: inBandManagement
136 default: '{in-band-management}'
137 description: 'Indicates whether POD is configured for in band management'
138
Suchitra Vemurie0451712020-05-06 22:51:23 -0700139 - string:
140 name: NumOfAtomix
141 default: '{num-of-atomix}'
142 description: 'Installs the specified Number of Atomix Instances'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100143
144 - string:
145 name: openoltAdapterChart
146 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200147 description: 'Olt adapter chart name (or location on file system)'
148
149 - string:
150 name: oltAdapterReleaseName
151 default: '{oltAdapterReleaseName}'
152 description: 'Olt adapter release name'
Andrea Campanellaf6a6fb32020-12-16 12:14:47 +0100153
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200154 - string:
155 name: waitTimerForOltUp
156 default: '{waitTimerForOltUp}'
157 description: 'Wait timer for the OLT to come up after reboot'
158
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700159 concurrent: true
160
161 pipeline-scm:
162 script-path: '{Jenkinsfile}'
163 scm:
164 - git:
hwchiu14f97852019-10-08 10:51:11 -0700165 url: '{gerrit-server-url}/{test-repo}'
166 branches:
167 - '{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700168
169- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700170 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700171 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700172 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700173 Nightly Kubernetes tests on {config-pod} using {Jenkinsfile}<br /><br />
174 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml<br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500175 Created by Suchitra Vemuri, suchitra@opennetworking.org <br /> Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100176 disabled: '{disable-job}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700177
178 <<: *test-pipe-job-boiler-plate
179
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100180 openoltAdapterChart: onf/voltha-adapter-openolt
181
Andrea Campanella20361592021-08-26 18:45:28 +0200182 oltAdapterReleaseName: open-olt
183
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200184 waitTimerForOltUp: 360
185
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700186 parameters:
187 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700188 name: buildNode
189 default: '{build-node}'
190 description: 'Name of the Jenkins executor node to run the job on'
191
192 - string:
hwchiu14f97852019-10-08 10:51:11 -0700193 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700194 default: '{build-node}'
195 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700196
197 - string:
hwchiu14f97852019-10-08 10:51:11 -0700198 name: cordRepoUrl
199 default: '{gerrit-server-url}'
200 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700201
202 - string:
hwchiu14f97852019-10-08 10:51:11 -0700203 name: configBaseDir
204 default: 'pod-configs'
205 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700206
207 - string:
hwchiu14f97852019-10-08 10:51:11 -0700208 name: configDeploymentDir
209 default: 'deployment-configs'
210 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700211
212 - string:
hwchiu14f97852019-10-08 10:51:11 -0700213 name: configKubernetesDir
214 default: 'kubernetes-configs'
215 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700216
217 - string:
hwchiu14f97852019-10-08 10:51:11 -0700218 name: configToscaDir
219 default: 'tosca-configs'
220 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700221
222 - string:
hwchiu14f97852019-10-08 10:51:11 -0700223 name: configFileName
224 default: '{config-pod}'
225 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700226
227 - string:
hwchiu14f97852019-10-08 10:51:11 -0700228 name: oltDebVersion
229 default: '{oltDebVersion}'
230 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700231
232 - string:
hwchiu14f97852019-10-08 10:51:11 -0700233 name: branch
234 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700235
236 - string:
hwchiu14f97852019-10-08 10:51:11 -0700237 name: helmRepoUrl
238 default: 'https://charts.opencord.org'
239 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700240
241 - string:
hwchiu14f97852019-10-08 10:51:11 -0700242 name: profile
243 default: '{profile}'
244 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700245
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700246 - bool:
247 name: configurePod
248 default: true
249 description: "Configure POD via TOSCA post build"
250
Kailashdee47a02018-11-29 08:46:32 -0800251 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700252 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700253 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700254 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800255
256 - bool:
257 name: installBBSim
258 default: false
259 description: "Install the BBSim container"
260
261 - string:
262 name: onuNumber
263 default: '16'
264 description: "Onus per PonPort"
265
Kailash Khalasi9559f362018-09-14 13:53:28 -0700266 - string:
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100267 name: openoltAdapterChart
268 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200269 description: 'Olt adapter chart name (or location on file system)'
270
271 - string:
272 name: oltAdapterReleaseName
273 default: '{oltAdapterReleaseName}'
274 description: 'Olt adapter release name'
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100275
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200276 - string:
277 name: waitTimerForOltUp
278 default: '{waitTimerForOltUp}'
279 description: 'Wait timer for the OLT to come up after reboot'
280
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700281 concurrent: true
282
283 pipeline-scm:
284 script-path: '{Jenkinsfile}'
285 scm:
286 - git:
hwchiu14f97852019-10-08 10:51:11 -0700287 url: '{gerrit-server-url}/{test-repo}'
288 branches:
289 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700290
291 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700292 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700293 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700294 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700295
296- job-template:
297 name: 'build_{profile}_{config-pod}_{branch}_test'
298 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100299
300 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700301 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700302 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700303 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500304 Created by Kailash Khalasi - kailash@opennetworking.org <br /> Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Kailash Khalasi9559f362018-09-14 13:53:28 -0700305
306 <<: *test-pipe-job-boiler-plate
307
308 parameters:
309 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700310 name: buildNode
311 default: '{build-node}'
312 description: 'Name of the Jenkins executor node to run the job on'
313
314 - string:
hwchiu14f97852019-10-08 10:51:11 -0700315 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700316 default: '{build-node}'
317 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700318
319 - string:
hwchiu14f97852019-10-08 10:51:11 -0700320 name: cordRepoUrl
321 default: '{gerrit-server-url}'
322 description: 'The URL of the CORD Project repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700323
324 - string:
hwchiu14f97852019-10-08 10:51:11 -0700325 name: configBaseDir
326 default: 'pod-configs'
327 description: 'The directory inside the POD configs repository'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700328
329 - string:
hwchiu14f97852019-10-08 10:51:11 -0700330 name: configDeploymentDir
331 default: 'deployment-configs'
332 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700333
334 - string:
hwchiu14f97852019-10-08 10:51:11 -0700335 name: configKubernetesDir
336 default: 'kubernetes-configs'
337 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700338
339 - string:
hwchiu14f97852019-10-08 10:51:11 -0700340 name: configToscaDir
341 default: 'tosca-configs'
342 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700343
344 - string:
hwchiu14f97852019-10-08 10:51:11 -0700345 name: configFileName
346 default: '{config-pod}'
347 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700348
349 - string:
hwchiu14f97852019-10-08 10:51:11 -0700350 name: branch
351 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700352
Kailash Khalasi9559f362018-09-14 13:53:28 -0700353 concurrent: true
354
355 pipeline-scm:
356 script-path: '{Jenkinsfile}'
357 scm:
358 - git:
hwchiu14f97852019-10-08 10:51:11 -0700359 url: '{gerrit-server-url}/{test-repo}'
360 branches:
361 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700362
363 triggers:
364 - reverse:
365 jobs: 'build_{profile}_{config-pod}_{branch}'
366 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800367
368- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800369 name: 'build_{config-pod}_seba_release_{release}'
370 id: build_pod_manual_release
371 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700372 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700373 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800374 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500375 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Kailashd1963d12018-12-17 15:11:01 -0800376
377 <<: *test-pipe-job-boiler-plate
378
379 parameters:
380 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700381 name: buildNode
382 default: '{build-node}'
383 description: 'Name of the Jenkins executor node to run the job on'
384
385 - string:
hwchiu14f97852019-10-08 10:51:11 -0700386 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700387 default: '{build-node}'
388 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800389
390 - string:
hwchiu14f97852019-10-08 10:51:11 -0700391 name: cordRepoUrl
392 default: '{gerrit-server-url}'
393 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800394
395 - string:
hwchiu14f97852019-10-08 10:51:11 -0700396 name: configBaseDir
397 default: 'pod-configs'
398 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800399
400 - string:
hwchiu14f97852019-10-08 10:51:11 -0700401 name: configDeploymentDir
402 default: 'deployment-configs'
403 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800404
405 - string:
hwchiu14f97852019-10-08 10:51:11 -0700406 name: configKubernetesDir
407 default: 'kubernetes-configs'
408 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800409
410 - string:
hwchiu14f97852019-10-08 10:51:11 -0700411 name: configToscaDir
412 default: 'tosca-configs'
413 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800414
415 - string:
hwchiu14f97852019-10-08 10:51:11 -0700416 name: configFileName
417 default: '{config-pod}'
418 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800419
420 - string:
hwchiu14f97852019-10-08 10:51:11 -0700421 name: oltDebVersion
422 default: '{oltDebVersion}'
423 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800424
425 - string:
hwchiu14f97852019-10-08 10:51:11 -0700426 name: branch
427 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800428
Kailashd1963d12018-12-17 15:11:01 -0800429 - bool:
430 name: configurePod
431 default: true
432 description: "Configure POD via TOSCA post build"
433
434 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700435 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700436 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700437 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800438
439 - bool:
440 name: installBBSim
441 default: false
442 description: "Install the BBSim container"
443
444 - string:
445 name: onuNumber
446 default: '16'
447 description: "Onus per PonPort"
448
449 concurrent: true
450
451 pipeline-scm:
452 script-path: '{Jenkinsfile}'
453 scm:
454 - git:
hwchiu14f97852019-10-08 10:51:11 -0700455 url: '{gerrit-server-url}/cord-tester'
456 branches:
457 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800458
459- job-template:
460 name: 'build_{config-pod}_seba_release_{release}'
461 id: build_pod_release
462 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700463 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700464 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800465 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500466 Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Kailashd1963d12018-12-17 15:11:01 -0800467
468 <<: *test-pipe-job-boiler-plate
469
470 parameters:
471 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700472 name: buildNode
473 default: '{build-node}'
474 description: 'Name of the Jenkins executor node to run the job on'
475
476 - string:
hwchiu14f97852019-10-08 10:51:11 -0700477 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700478 default: '{build-node}'
479 description: 'DEPRECATED - use buildNode instead'
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
Kailashd1963d12018-12-17 15:11:01 -0800525 - bool:
526 name: configurePod
527 default: true
528 description: "Configure POD via TOSCA post build"
529
530 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700531 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700532 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700533 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800534
535 - bool:
536 name: installBBSim
537 default: false
538 description: "Install the BBSim container"
539
540 - string:
541 name: onuNumber
542 default: '16'
543 description: "Onus per PonPort"
544
545 concurrent: true
546
547 pipeline-scm:
548 script-path: '{Jenkinsfile}'
549 scm:
550 - git:
hwchiu14f97852019-10-08 10:51:11 -0700551 url: '{gerrit-server-url}/cord-tester'
552 branches:
553 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800554
555 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700556 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800557 TZ=America/Los_Angeles
558 H {time} * * *
559
560- job-template:
561 name: 'build_{config-pod}_seba_release_{release}_test'
562 id: build_pod_release_test
563 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700564 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700565 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800566 Created by Kailash Khalasi - kailash@opennetworking.org <br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500567 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Kailashd1963d12018-12-17 15:11:01 -0800568
569 <<: *test-pipe-job-boiler-plate
570
571 parameters:
572 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700573 name: buildNode
574 default: '{build-node}'
575 description: 'Name of the Jenkins executor node to run the job on'
576
577 - string:
hwchiu14f97852019-10-08 10:51:11 -0700578 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700579 default: '{build-node}'
580 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800581
582 - string:
hwchiu14f97852019-10-08 10:51:11 -0700583 name: cordRepoUrl
584 default: '{gerrit-server-url}'
585 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800586
587 - string:
hwchiu14f97852019-10-08 10:51:11 -0700588 name: configBaseDir
589 default: 'pod-configs'
590 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800591
592 - string:
hwchiu14f97852019-10-08 10:51:11 -0700593 name: configDeploymentDir
594 default: 'deployment-configs'
595 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800596
597 - string:
hwchiu14f97852019-10-08 10:51:11 -0700598 name: configKubernetesDir
599 default: 'kubernetes-configs'
600 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800601
602 - string:
hwchiu14f97852019-10-08 10:51:11 -0700603 name: configToscaDir
604 default: 'tosca-configs'
605 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800606
607 - string:
hwchiu14f97852019-10-08 10:51:11 -0700608 name: configFileName
609 default: '{config-pod}'
610 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800611
612 - string:
hwchiu14f97852019-10-08 10:51:11 -0700613 name: branch
614 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800615
Kailashd1963d12018-12-17 15:11:01 -0800616 concurrent: true
617
618 pipeline-scm:
619 script-path: '{Jenkinsfile}'
620 scm:
621 - git:
hwchiu14f97852019-10-08 10:51:11 -0700622 url: '{gerrit-server-url}/cord-tester'
623 branches:
624 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800625
626 triggers:
627 - reverse:
628 jobs: 'build_{config-pod}_seba_release_{release}'
629 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800630
631
632- job-template:
633 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
634 id: build_pod_release_test_microcharts
635 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700636 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700637 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800638 Created by Kailash Khalasi - kailash@opennetworking.org <br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500639 Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Kailash5b1a1612018-12-21 15:17:21 -0800640
641 <<: *test-pipe-job-boiler-plate
642
643 parameters:
644 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700645 name: buildNode
646 default: '{build-node}'
647 description: 'Name of the Jenkins executor node to run the job on'
648
649 - string:
hwchiu14f97852019-10-08 10:51:11 -0700650 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700651 default: '{build-node}'
652 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800653
654 - string:
hwchiu14f97852019-10-08 10:51:11 -0700655 name: cordRepoUrl
656 default: '{gerrit-server-url}'
657 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800658
659 - string:
hwchiu14f97852019-10-08 10:51:11 -0700660 name: configBaseDir
661 default: 'pod-configs'
662 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800663
664 - string:
hwchiu14f97852019-10-08 10:51:11 -0700665 name: configDeploymentDir
666 default: 'deployment-configs'
667 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800668
669 - string:
hwchiu14f97852019-10-08 10:51:11 -0700670 name: configKubernetesDir
671 default: 'kubernetes-configs'
672 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800673
674 - string:
hwchiu14f97852019-10-08 10:51:11 -0700675 name: configToscaDir
676 default: 'tosca-configs'
677 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800678
679 - string:
hwchiu14f97852019-10-08 10:51:11 -0700680 name: configFileName
681 default: '{config-pod}'
682 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800683
684 - string:
hwchiu14f97852019-10-08 10:51:11 -0700685 name: branch
686 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800687
Kailash5b1a1612018-12-21 15:17:21 -0800688 concurrent: true
689
690 pipeline-scm:
691 script-path: '{Jenkinsfile}'
692 scm:
693 - git:
hwchiu14f97852019-10-08 10:51:11 -0700694 url: '{gerrit-server-url}/cord-tester'
695 branches:
696 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800697
698 triggers:
699 - reverse:
700 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
701 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800702
703
704- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800705 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800706 id: build_mcord_pod_manual
707 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700708 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800709 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
710 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
Joey Armstrong775a20f2022-12-02 12:55:43 -0500711 Copyright 2019-2023 Open Networking Foundation (ONF) and the ONF Contributors
Kailashc8c05d52019-01-15 20:01:11 -0800712
713 <<: *test-pipe-job-boiler-plate
714
715 parameters:
716 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700717 name: buildNode
718 default: '{build-node}'
719 description: 'Name of the Jenkins executor node to run the job on'
720
721 - string:
hwchiu14f97852019-10-08 10:51:11 -0700722 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700723 default: '{build-node}'
724 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800725
726 - string:
hwchiu14f97852019-10-08 10:51:11 -0700727 name: cordRepoUrl
728 default: '{gerrit-server-url}'
729 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800730
731 - string:
hwchiu14f97852019-10-08 10:51:11 -0700732 name: configBaseDir
733 default: 'pod-configs'
734 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800735
736 - string:
hwchiu14f97852019-10-08 10:51:11 -0700737 name: configDeploymentDir
738 default: 'deployment-configs'
739 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800740
741 - string:
hwchiu14f97852019-10-08 10:51:11 -0700742 name: configKubernetesDir
743 default: 'kubernetes-configs'
744 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800745
746 - string:
hwchiu14f97852019-10-08 10:51:11 -0700747 name: configToscaDir
748 default: 'tosca-configs'
749 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800750
751 - string:
hwchiu14f97852019-10-08 10:51:11 -0700752 name: configFileName
753 default: '{config-pod}'
754 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800755
756 - string:
hwchiu14f97852019-10-08 10:51:11 -0700757 name: branch
758 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800759
760 - string:
hwchiu14f97852019-10-08 10:51:11 -0700761 name: profile
762 default: '{profile}'
763 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800764
Kailashc8c05d52019-01-15 20:01:11 -0800765 - bool:
766 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800767 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800768 description: "Configure POD via TOSCA post build"
769
Matteo Scandoloa6791892019-01-25 15:46:03 -0800770 - bool:
771 name: installEpcControlPlane
772 default: true
773 description: "Install the EPC control plane"
774
Kailashc8c05d52019-01-15 20:01:11 -0800775 concurrent: true
776
777 pipeline-scm:
778 script-path: '{Jenkinsfile}'
779 scm:
780 - git:
hwchiu14f97852019-10-08 10:51:11 -0700781 url: '{gerrit-server-url}/cord-tester'
782 branches:
783 - '{branch}'