blob: 3b6df79f392c25e65bfd5df7d606dfa97b3034d3 [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 Armstrong6a9013e2024-02-01 17:56:57 -050024 Copyright 2018-2024 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 Armstrongaf679da2023-01-31 14:22:41 -0500175 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500176 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100177 disabled: '{disable-job}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700178
179 <<: *test-pipe-job-boiler-plate
180
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100181 openoltAdapterChart: onf/voltha-adapter-openolt
182
Andrea Campanella20361592021-08-26 18:45:28 +0200183 oltAdapterReleaseName: open-olt
184
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200185 waitTimerForOltUp: 360
186
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700187 parameters:
188 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700189 name: buildNode
190 default: '{build-node}'
191 description: 'Name of the Jenkins executor node to run the job on'
192
193 - string:
hwchiu14f97852019-10-08 10:51:11 -0700194 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700195 default: '{build-node}'
196 description: 'DEPRECATED - use buildNode instead'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700197
198 - string:
hwchiu14f97852019-10-08 10:51:11 -0700199 name: cordRepoUrl
200 default: '{gerrit-server-url}'
201 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700202
203 - string:
hwchiu14f97852019-10-08 10:51:11 -0700204 name: configBaseDir
205 default: 'pod-configs'
206 description: 'The directory inside the POD configs repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700207
208 - string:
hwchiu14f97852019-10-08 10:51:11 -0700209 name: configDeploymentDir
210 default: 'deployment-configs'
211 description: 'The deployment configs folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700212
213 - string:
hwchiu14f97852019-10-08 10:51:11 -0700214 name: configKubernetesDir
215 default: 'kubernetes-configs'
216 description: 'The kubernetes config folder'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700217
218 - string:
hwchiu14f97852019-10-08 10:51:11 -0700219 name: configToscaDir
220 default: 'tosca-configs'
221 description: 'The tosca config folder'
Kailash Khalasi619e6882018-09-13 13:15:37 -0700222
223 - string:
hwchiu14f97852019-10-08 10:51:11 -0700224 name: configFileName
225 default: '{config-pod}'
226 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700227
228 - string:
hwchiu14f97852019-10-08 10:51:11 -0700229 name: oltDebVersion
230 default: '{oltDebVersion}'
231 description: 'OLT Software version to install'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700232
233 - string:
hwchiu14f97852019-10-08 10:51:11 -0700234 name: branch
235 default: '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700236
237 - string:
hwchiu14f97852019-10-08 10:51:11 -0700238 name: helmRepoUrl
239 default: 'https://charts.opencord.org'
240 description: 'URL where helm-charts are published'
Kailash4c745a12019-03-15 11:32:07 -0700241
242 - string:
hwchiu14f97852019-10-08 10:51:11 -0700243 name: profile
244 default: '{profile}'
245 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700246
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700247 - bool:
248 name: configurePod
249 default: true
250 description: "Configure POD via TOSCA post build"
251
Kailashdee47a02018-11-29 08:46:32 -0800252 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700253 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700254 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700255 description: "Re-install olt software bringing up CORD"
Kailashdee47a02018-11-29 08:46:32 -0800256
257 - bool:
258 name: installBBSim
259 default: false
260 description: "Install the BBSim container"
261
262 - string:
263 name: onuNumber
264 default: '16'
265 description: "Onus per PonPort"
266
Kailash Khalasi9559f362018-09-14 13:53:28 -0700267 - string:
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100268 name: openoltAdapterChart
269 default: '{openoltAdapterChart}'
Andrea Campanella20361592021-08-26 18:45:28 +0200270 description: 'Olt adapter chart name (or location on file system)'
271
272 - string:
273 name: oltAdapterReleaseName
274 default: '{oltAdapterReleaseName}'
275 description: 'Olt adapter release name'
Andrea Campanellaa8c4b5c2021-01-12 09:41:52 +0100276
Andrea Campanellaecefbc82021-08-27 11:06:31 +0200277 - string:
278 name: waitTimerForOltUp
279 default: '{waitTimerForOltUp}'
280 description: 'Wait timer for the OLT to come up after reboot'
281
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700282 concurrent: true
283
284 pipeline-scm:
285 script-path: '{Jenkinsfile}'
286 scm:
287 - git:
hwchiu14f97852019-10-08 10:51:11 -0700288 url: '{gerrit-server-url}/{test-repo}'
289 branches:
290 - '{branch}'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700291
292 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700293 - timed: |
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700294 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700295 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700296
297- job-template:
298 name: 'build_{profile}_{config-pod}_{branch}_test'
299 id: build_pod_test
Andrea Campanellab54cabe2020-11-26 14:48:11 +0100300
301 disabled: '{disable-job}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700302 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700303 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700304 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Joey Armstrongaf679da2023-01-31 14:22:41 -0500305 Created by Kailash Khalasi - kailash@opennetworking.org <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400306 UUID: 9f1d0a1a-4058-11ee-93cc-07cf258f407e <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500307 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kailash Khalasi9559f362018-09-14 13:53:28 -0700308
309 <<: *test-pipe-job-boiler-plate
310
311 parameters:
312 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700313 name: buildNode
314 default: '{build-node}'
315 description: 'Name of the Jenkins executor node to run the job on'
316
317 - string:
hwchiu14f97852019-10-08 10:51:11 -0700318 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700319 default: '{build-node}'
320 description: 'DEPRECATED - use buildNode instead'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700321
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 Khalasi9559f362018-09-14 13:53:28 -0700326
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 Khalasi9559f362018-09-14 13:53:28 -0700331
332 - string:
hwchiu14f97852019-10-08 10:51:11 -0700333 name: configDeploymentDir
334 default: 'deployment-configs'
335 description: 'The deployment configs folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700336
337 - string:
hwchiu14f97852019-10-08 10:51:11 -0700338 name: configKubernetesDir
339 default: 'kubernetes-configs'
340 description: 'The kubernetes config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700341
342 - string:
hwchiu14f97852019-10-08 10:51:11 -0700343 name: configToscaDir
344 default: 'tosca-configs'
345 description: 'The tosca config folder'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700346
347 - string:
hwchiu14f97852019-10-08 10:51:11 -0700348 name: configFileName
349 default: '{config-pod}'
350 description: 'The config file'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700351
352 - string:
hwchiu14f97852019-10-08 10:51:11 -0700353 name: branch
354 default: '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700355
Kailash Khalasi9559f362018-09-14 13:53:28 -0700356 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}/{test-repo}'
363 branches:
364 - '{branch}'
Kailash Khalasi9559f362018-09-14 13:53:28 -0700365
366 triggers:
367 - reverse:
368 jobs: 'build_{profile}_{config-pod}_{branch}'
369 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800370
371- job-template:
Kailashd1963d12018-12-17 15:11:01 -0800372 name: 'build_{config-pod}_seba_release_{release}'
373 id: build_pod_manual_release
374 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700375 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700376 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800377 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500378 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kailashd1963d12018-12-17 15:11:01 -0800379
380 <<: *test-pipe-job-boiler-plate
381
382 parameters:
383 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700384 name: buildNode
385 default: '{build-node}'
386 description: 'Name of the Jenkins executor node to run the job on'
387
388 - string:
hwchiu14f97852019-10-08 10:51:11 -0700389 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700390 default: '{build-node}'
391 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800392
393 - string:
hwchiu14f97852019-10-08 10:51:11 -0700394 name: cordRepoUrl
395 default: '{gerrit-server-url}'
396 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800397
398 - string:
hwchiu14f97852019-10-08 10:51:11 -0700399 name: configBaseDir
400 default: 'pod-configs'
401 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800402
403 - string:
hwchiu14f97852019-10-08 10:51:11 -0700404 name: configDeploymentDir
405 default: 'deployment-configs'
406 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800407
408 - string:
hwchiu14f97852019-10-08 10:51:11 -0700409 name: configKubernetesDir
410 default: 'kubernetes-configs'
411 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800412
413 - string:
hwchiu14f97852019-10-08 10:51:11 -0700414 name: configToscaDir
415 default: 'tosca-configs'
416 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800417
418 - string:
hwchiu14f97852019-10-08 10:51:11 -0700419 name: configFileName
420 default: '{config-pod}'
421 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800422
423 - string:
hwchiu14f97852019-10-08 10:51:11 -0700424 name: oltDebVersion
425 default: '{oltDebVersion}'
426 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800427
428 - string:
hwchiu14f97852019-10-08 10:51:11 -0700429 name: branch
430 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800431
Kailashd1963d12018-12-17 15:11:01 -0800432 - bool:
433 name: configurePod
434 default: true
435 description: "Configure POD via TOSCA post build"
436
437 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700438 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700439 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700440 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800441
442 - bool:
443 name: installBBSim
444 default: false
445 description: "Install the BBSim container"
446
447 - string:
448 name: onuNumber
449 default: '16'
450 description: "Onus per PonPort"
451
452 concurrent: true
453
454 pipeline-scm:
455 script-path: '{Jenkinsfile}'
456 scm:
457 - git:
hwchiu14f97852019-10-08 10:51:11 -0700458 url: '{gerrit-server-url}/cord-tester'
459 branches:
460 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800461
462- job-template:
463 name: 'build_{config-pod}_seba_release_{release}'
464 id: build_pod_release
465 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700466 Manual Build on POD {config-pod}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700467 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800468 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500469 Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kailashd1963d12018-12-17 15:11:01 -0800470
471 <<: *test-pipe-job-boiler-plate
472
473 parameters:
474 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700475 name: buildNode
476 default: '{build-node}'
477 description: 'Name of the Jenkins executor node to run the job on'
478
479 - string:
hwchiu14f97852019-10-08 10:51:11 -0700480 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700481 default: '{build-node}'
482 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800483
484 - string:
hwchiu14f97852019-10-08 10:51:11 -0700485 name: cordRepoUrl
486 default: '{gerrit-server-url}'
487 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800488
489 - string:
hwchiu14f97852019-10-08 10:51:11 -0700490 name: configBaseDir
491 default: 'pod-configs'
492 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800493
494 - string:
hwchiu14f97852019-10-08 10:51:11 -0700495 name: configDeploymentDir
496 default: 'deployment-configs'
497 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800498
499 - string:
hwchiu14f97852019-10-08 10:51:11 -0700500 name: configKubernetesDir
501 default: 'kubernetes-configs'
502 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800503
504 - string:
hwchiu14f97852019-10-08 10:51:11 -0700505 name: configToscaDir
506 default: 'tosca-configs'
507 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800508
509 - string:
hwchiu14f97852019-10-08 10:51:11 -0700510 name: configFileName
511 default: '{config-pod}'
512 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800513
514 - string:
hwchiu14f97852019-10-08 10:51:11 -0700515 name: oltDebVersion
516 default: '{oltDebVersion}'
517 description: 'OLT Software version to install'
Kailashd1963d12018-12-17 15:11:01 -0800518
519 - string:
hwchiu14f97852019-10-08 10:51:11 -0700520 name: helmRepoUrl
521 default: 'https://charts.opencord.org'
522 description: 'URL where helm-charts are published'
Kailash5f1dd1b2019-07-10 10:57:32 -0700523
524 - string:
hwchiu14f97852019-10-08 10:51:11 -0700525 name: branch
526 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800527
Kailashd1963d12018-12-17 15:11:01 -0800528 - bool:
529 name: configurePod
530 default: true
531 description: "Configure POD via TOSCA post build"
532
533 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700534 name: reinstallOlt
Suchitra Vemuridf2632f2020-07-15 17:12:09 -0700535 default: '{reinstall-olt}'
hwchiu14f97852019-10-08 10:51:11 -0700536 description: "Re-install olt software bringing up CORD"
Kailashd1963d12018-12-17 15:11:01 -0800537
538 - bool:
539 name: installBBSim
540 default: false
541 description: "Install the BBSim container"
542
543 - string:
544 name: onuNumber
545 default: '16'
546 description: "Onus per PonPort"
547
548 concurrent: true
549
550 pipeline-scm:
551 script-path: '{Jenkinsfile}'
552 scm:
553 - git:
hwchiu14f97852019-10-08 10:51:11 -0700554 url: '{gerrit-server-url}/cord-tester'
555 branches:
556 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800557
558 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700559 - timed: |
Kailashd1963d12018-12-17 15:11:01 -0800560 TZ=America/Los_Angeles
561 H {time} * * *
562
563- job-template:
564 name: 'build_{config-pod}_seba_release_{release}_test'
565 id: build_pod_release_test
566 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700567 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile} <br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700568 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailashd1963d12018-12-17 15:11:01 -0800569 Created by Kailash Khalasi - kailash@opennetworking.org <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400570 UUID: a8bea83a-4058-11ee-a520-4f2870f29e62 <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500571 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kailashd1963d12018-12-17 15:11:01 -0800572
573 <<: *test-pipe-job-boiler-plate
574
575 parameters:
576 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700577 name: buildNode
578 default: '{build-node}'
579 description: 'Name of the Jenkins executor node to run the job on'
580
581 - string:
hwchiu14f97852019-10-08 10:51:11 -0700582 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700583 default: '{build-node}'
584 description: 'DEPRECATED - use buildNode instead'
Kailashd1963d12018-12-17 15:11:01 -0800585
586 - string:
hwchiu14f97852019-10-08 10:51:11 -0700587 name: cordRepoUrl
588 default: '{gerrit-server-url}'
589 description: 'The URL of the CORD Project repository'
Kailashd1963d12018-12-17 15:11:01 -0800590
591 - string:
hwchiu14f97852019-10-08 10:51:11 -0700592 name: configBaseDir
593 default: 'pod-configs'
594 description: 'The directory inside the POD configs repository'
Kailashd1963d12018-12-17 15:11:01 -0800595
596 - string:
hwchiu14f97852019-10-08 10:51:11 -0700597 name: configDeploymentDir
598 default: 'deployment-configs'
599 description: 'The deployment configs folder'
Kailashd1963d12018-12-17 15:11:01 -0800600
601 - string:
hwchiu14f97852019-10-08 10:51:11 -0700602 name: configKubernetesDir
603 default: 'kubernetes-configs'
604 description: 'The kubernetes config folder'
Kailashd1963d12018-12-17 15:11:01 -0800605
606 - string:
hwchiu14f97852019-10-08 10:51:11 -0700607 name: configToscaDir
608 default: 'tosca-configs'
609 description: 'The tosca config folder'
Kailashd1963d12018-12-17 15:11:01 -0800610
611 - string:
hwchiu14f97852019-10-08 10:51:11 -0700612 name: configFileName
613 default: '{config-pod}'
614 description: 'The config file'
Kailashd1963d12018-12-17 15:11:01 -0800615
616 - string:
hwchiu14f97852019-10-08 10:51:11 -0700617 name: branch
618 default: '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800619
Kailashd1963d12018-12-17 15:11:01 -0800620 concurrent: true
621
622 pipeline-scm:
623 script-path: '{Jenkinsfile}'
624 scm:
625 - git:
hwchiu14f97852019-10-08 10:51:11 -0700626 url: '{gerrit-server-url}/cord-tester'
627 branches:
628 - '{branch}'
Kailashd1963d12018-12-17 15:11:01 -0800629
630 triggers:
631 - reverse:
632 jobs: 'build_{config-pod}_seba_release_{release}'
633 result: 'success'
Kailash5b1a1612018-12-21 15:17:21 -0800634
635
636- job-template:
637 name: 'build_{config-pod}_seba_release_{release}_microcharts_test'
638 id: build_pod_release_test_microcharts
639 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700640 Post Tests on {config-pod} triggered by build_{config-pod}_{branch}, using {Jenkinsfile}<br /><br />
hwchiue3815ab2019-10-17 15:06:25 -0700641 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
Kailash5b1a1612018-12-21 15:17:21 -0800642 Created by Kailash Khalasi - kailash@opennetworking.org <br />
Joey Armstrongcfd06642023-08-21 15:44:06 -0400643 UUID: b0d585a2-4058-11ee-8a56-a362f23eaed9 <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500644 Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kailash5b1a1612018-12-21 15:17:21 -0800645
646 <<: *test-pipe-job-boiler-plate
647
648 parameters:
649 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700650 name: buildNode
651 default: '{build-node}'
652 description: 'Name of the Jenkins executor node to run the job on'
653
654 - string:
hwchiu14f97852019-10-08 10:51:11 -0700655 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700656 default: '{build-node}'
657 description: 'DEPRECATED - use buildNode instead'
Kailash5b1a1612018-12-21 15:17:21 -0800658
659 - string:
hwchiu14f97852019-10-08 10:51:11 -0700660 name: cordRepoUrl
661 default: '{gerrit-server-url}'
662 description: 'The URL of the CORD Project repository'
Kailash5b1a1612018-12-21 15:17:21 -0800663
664 - string:
hwchiu14f97852019-10-08 10:51:11 -0700665 name: configBaseDir
666 default: 'pod-configs'
667 description: 'The directory inside the POD configs repository'
Kailash5b1a1612018-12-21 15:17:21 -0800668
669 - string:
hwchiu14f97852019-10-08 10:51:11 -0700670 name: configDeploymentDir
671 default: 'deployment-configs'
672 description: 'The deployment configs folder'
Kailash5b1a1612018-12-21 15:17:21 -0800673
674 - string:
hwchiu14f97852019-10-08 10:51:11 -0700675 name: configKubernetesDir
676 default: 'kubernetes-configs'
677 description: 'The kubernetes config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800678
679 - string:
hwchiu14f97852019-10-08 10:51:11 -0700680 name: configToscaDir
681 default: 'tosca-configs'
682 description: 'The tosca config folder'
Kailash5b1a1612018-12-21 15:17:21 -0800683
684 - string:
hwchiu14f97852019-10-08 10:51:11 -0700685 name: configFileName
686 default: '{config-pod}'
687 description: 'The config file'
Kailash5b1a1612018-12-21 15:17:21 -0800688
689 - string:
hwchiu14f97852019-10-08 10:51:11 -0700690 name: branch
691 default: '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800692
Kailash5b1a1612018-12-21 15:17:21 -0800693 concurrent: true
694
695 pipeline-scm:
696 script-path: '{Jenkinsfile}'
697 scm:
698 - git:
hwchiu14f97852019-10-08 10:51:11 -0700699 url: '{gerrit-server-url}/cord-tester'
700 branches:
701 - '{branch}'
Kailash5b1a1612018-12-21 15:17:21 -0800702
703 triggers:
704 - reverse:
705 jobs: 'build_{config-pod}_seba_release_{release}_microcharts'
706 result: 'success'
Kailashc8c05d52019-01-15 20:01:11 -0800707
708
709- job-template:
Kailashd22f91f2019-02-14 08:52:52 -0800710 name: 'build_{config-pod}'
Kailashc8c05d52019-01-15 20:01:11 -0800711 id: build_mcord_pod_manual
712 description: |
Zack Williams5412fbf2020-08-03 16:03:29 -0700713 Manual Build on POD {config-pod}, using {Jenkinsfile} <br /><br />
Kailashc8c05d52019-01-15 20:01:11 -0800714 Created from job-template {id} from ci-management/jjb/cord-test/nightly-build-pipeline.yaml <br />
715 Created by QA (Kailash Khalasi - kailash@opennetworking.org ) <br />
Joey Armstrong6a9013e2024-02-01 17:56:57 -0500716 Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kailashc8c05d52019-01-15 20:01:11 -0800717
718 <<: *test-pipe-job-boiler-plate
719
720 parameters:
721 - string:
Zack Williams8ef79812019-10-29 11:09:18 -0700722 name: buildNode
723 default: '{build-node}'
724 description: 'Name of the Jenkins executor node to run the job on'
725
726 - string:
hwchiu14f97852019-10-08 10:51:11 -0700727 name: TestNodeName
Zack Williams8ef79812019-10-29 11:09:18 -0700728 default: '{build-node}'
729 description: 'DEPRECATED - use buildNode instead'
Kailashc8c05d52019-01-15 20:01:11 -0800730
731 - string:
hwchiu14f97852019-10-08 10:51:11 -0700732 name: cordRepoUrl
733 default: '{gerrit-server-url}'
734 description: 'The URL of the CORD Project repository'
Kailashc8c05d52019-01-15 20:01:11 -0800735
736 - string:
hwchiu14f97852019-10-08 10:51:11 -0700737 name: configBaseDir
738 default: 'pod-configs'
739 description: 'The directory inside the POD configs repository'
Kailashc8c05d52019-01-15 20:01:11 -0800740
741 - string:
hwchiu14f97852019-10-08 10:51:11 -0700742 name: configDeploymentDir
743 default: 'deployment-configs'
744 description: 'The deployment configs folder'
Kailashc8c05d52019-01-15 20:01:11 -0800745
746 - string:
hwchiu14f97852019-10-08 10:51:11 -0700747 name: configKubernetesDir
748 default: 'kubernetes-configs'
749 description: 'The kubernetes config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800750
751 - string:
hwchiu14f97852019-10-08 10:51:11 -0700752 name: configToscaDir
753 default: 'tosca-configs'
754 description: 'The tosca config folder'
Kailashc8c05d52019-01-15 20:01:11 -0800755
756 - string:
hwchiu14f97852019-10-08 10:51:11 -0700757 name: configFileName
758 default: '{config-pod}'
759 description: 'The config file'
Kailashc8c05d52019-01-15 20:01:11 -0800760
761 - string:
hwchiu14f97852019-10-08 10:51:11 -0700762 name: branch
763 default: '{branch}'
Kailashc8c05d52019-01-15 20:01:11 -0800764
765 - string:
hwchiu14f97852019-10-08 10:51:11 -0700766 name: profile
767 default: '{profile}'
768 description: 'Profile in which this job installs'
Kailashc8c05d52019-01-15 20:01:11 -0800769
Kailashc8c05d52019-01-15 20:01:11 -0800770 - bool:
771 name: configurePod
Matteo Scandoloa9b416e2019-01-24 15:21:07 -0800772 default: true
Kailashc8c05d52019-01-15 20:01:11 -0800773 description: "Configure POD via TOSCA post build"
774
Matteo Scandoloa6791892019-01-25 15:46:03 -0800775 - bool:
776 name: installEpcControlPlane
777 default: true
778 description: "Install the EPC control plane"
779
Kailashc8c05d52019-01-15 20:01:11 -0800780 concurrent: true
781
782 pipeline-scm:
783 script-path: '{Jenkinsfile}'
784 scm:
785 - git:
hwchiu14f97852019-10-08 10:51:11 -0700786 url: '{gerrit-server-url}/cord-tester'
787 branches:
788 - '{branch}'
Joey Armstrongaf679da2023-01-31 14:22:41 -0500789
790# [EOF]