blob: 68629c3c377093b755c254042c83c461c7550014 [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 />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070023 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
24 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:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070031 name: TestNodeName
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070032 default: '{testvm}'
33 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070034
35 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -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:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070041 name: configBaseDir
42 default: 'pod-configs'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070043 description: 'The directory inside the POD configs repository'
44
45 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070046 name: configDeploymentDir
47 default: 'deployment-configs'
48 description: 'The deployment configs folder'
49
50 - string:
51 name: configKubernetesDir
52 default: 'kubernetes-configs'
53 description: 'The kubernetes config folder'
54
55 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -070056 name: configToscaDir
57 default: 'tosca-configs'
58 description: 'The tosca config folder'
59
60 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070061 name: configFileName
62 default: '{config-pod}'
63 description: 'The config file'
64
65 - string:
66 name: oltDebVersion
67 default: '{oltDebVersion}'
68 description: 'OLT Software version to install'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070069
70 - string:
71 name: branch
72 default: '{branch}'
73
Kailash Khalasi9559f362018-09-14 13:53:28 -070074 - string:
75 name: profile
76 default: '{profile}'
77 description: 'Profile in which this job installs'
78
Kailashdee47a02018-11-29 08:46:32 -080079 - string:
80 name: notificationEmail
81 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
82 description: ''
83
Kailash Khalasice9eaec2018-09-14 12:01:56 -070084 - bool:
85 name: configurePod
86 default: true
87 description: "Configure POD via TOSCA post build"
88
Kailashdee47a02018-11-29 08:46:32 -080089 - bool:
90 name: reinstallOlt
91 default: true
92 description: "Re-install olt software bringing up CORD"
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070093
Matteo Scandolofe69a8c2018-11-27 11:50:06 -080094 - bool:
95 name: installBBSim
96 default: false
97 description: "Install the BBSim container"
98
99 - string:
100 name: onuNumber
101 default: '16'
102 description: "Onus per PonPort"
103
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700104 concurrent: true
105
106 pipeline-scm:
107 script-path: '{Jenkinsfile}'
108 scm:
109 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -0700110 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700111 branches:
112 - '{branch}'
113
114- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700115 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700116 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700117 description: |
118 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700119 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700120 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
121 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
122 Copyright (c) 2017 Open Networking Foundation (ONF)
123
124 <<: *test-pipe-job-boiler-plate
125
126 parameters:
127 - string:
128 name: TestNodeName
129 default: '{testvm}'
130 description: 'Jenkins node name of TestVM Node'
131
132 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700133 name: cordRepoUrl
134 default: '{gerrit-server-url}'
135 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700136
137 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700138 name: configBaseDir
139 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700140 description: 'The directory inside the POD configs repository'
141
142 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700143 name: configDeploymentDir
144 default: 'deployment-configs'
145 description: 'The deployment configs folder'
146
147 - string:
148 name: configKubernetesDir
149 default: 'kubernetes-configs'
150 description: 'The kubernetes config folder'
151
152 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -0700153 name: configToscaDir
154 default: 'tosca-configs'
155 description: 'The tosca config folder'
156
157 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700158 name: configFileName
159 default: '{config-pod}'
160 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700161
162 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700163 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700164 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700165 description: 'OLT Software version to install'
166
167 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700168 name: branch
169 default: '{branch}'
170
171 - string:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700172 name: profile
173 default: '{profile}'
174 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700175
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700176 - bool:
177 name: configurePod
178 default: true
179 description: "Configure POD via TOSCA post build"
180
Kailashdee47a02018-11-29 08:46:32 -0800181 - bool:
182 name: reinstallOlt
183 default: true
184 description: "Re-install olt software bringing up CORD"
185
186 - bool:
187 name: installBBSim
188 default: false
189 description: "Install the BBSim container"
190
191 - string:
192 name: onuNumber
193 default: '16'
194 description: "Onus per PonPort"
195
Kailash Khalasi9559f362018-09-14 13:53:28 -0700196 - string:
197 name: notificationEmail
198 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
199 description: ''
200
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700201 concurrent: true
202
203 pipeline-scm:
204 script-path: '{Jenkinsfile}'
205 scm:
206 - git:
207 url: '{gerrit-server-url}/cord-tester'
208 branches:
209 - '{branch}'
210
211 triggers:
212 - timed: |
213 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700214 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700215
216- job-template:
217 name: 'build_{profile}_{config-pod}_{branch}_test'
218 id: build_pod_test
219 description: |
220 <!-- Managed by Jenkins Job Builder -->
221 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
222 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
223 Created by Kailash Khalasi - kailash@opennetworking.org <br />
224 Copyright (c) 2017 Open Networking Foundation (ONF)
225
226 <<: *test-pipe-job-boiler-plate
227
228 parameters:
229 - string:
230 name: TestNodeName
231 default: '{testvm}'
232 description: 'Jenkins node name of TestVM Node'
233
234 - string:
235 name: cordRepoUrl
236 default: '{gerrit-server-url}'
237 description: 'The URL of the CORD Project repository'
238
239 - string:
240 name: configBaseDir
241 default: 'pod-configs'
242 description: 'The directory inside the POD configs repository'
243
244 - string:
245 name: configDeploymentDir
246 default: 'deployment-configs'
247 description: 'The deployment configs folder'
248
249 - string:
250 name: configKubernetesDir
251 default: 'kubernetes-configs'
252 description: 'The kubernetes config folder'
253
254 - string:
255 name: configToscaDir
256 default: 'tosca-configs'
257 description: 'The tosca config folder'
258
259 - string:
260 name: configFileName
261 default: '{config-pod}'
262 description: 'The config file'
263
264 - string:
265 name: branch
266 default: '{branch}'
267
268 - string:
269 name: notificationEmail
270 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
271 description: ''
272
273 concurrent: true
274
275 pipeline-scm:
276 script-path: '{Jenkinsfile}'
277 scm:
278 - git:
279 url: '{gerrit-server-url}/cord-tester'
280 branches:
281 - '{branch}'
282
283 triggers:
284 - reverse:
285 jobs: 'build_{profile}_{config-pod}_{branch}'
286 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800287
288- job-template:
289 name: 'build_{profile}_{config-pod}_{branch}_post_actions'
290 id: post_build_actions
291 description: |
292 <!-- Managed by Jenkins Job Builder -->
293 Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br />
294 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
295 Created by Kailash Khalasi - kailash@opennetworking.org <br />
296 Copyright (c) 2017 Open Networking Foundation (ONF)
297
298 <<: *test-pipe-job-boiler-plate
299
300 parameters:
301 - string:
302 name: TestNodeName
303 default: '{testvm}'
304 description: 'Jenkins node name of TestVM Node'
305
306 - string:
307 name: cordRepoUrl
308 default: '{gerrit-server-url}'
309 description: 'The URL of the CORD Project repository'
310
311 - string:
312 name: configBaseDir
313 default: 'pod-configs'
314 description: 'The directory inside the POD configs repository'
315
316 - string:
317 name: configDeploymentDir
318 default: 'deployment-configs'
319 description: 'The deployment configs folder'
320
321 - string:
Kailashc7d9e4e2018-11-13 14:48:23 -0800322 name: configKubernetesDir
323 default: 'kubernetes-configs'
324 description: 'The kubernetes config folder'
325
326 - string:
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800327 name: configFileName
328 default: '{config-pod}'
329 description: 'The config file'
330
331 - string:
332 name: branch
333 default: '{branch}'
334
335 - string:
336 name: notificationEmail
337 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
338 description: ''
339
340 concurrent: true
341
342 pipeline-scm:
343 script-path: '{Jenkinsfile}'
344 scm:
345 - git:
346 url: '{gerrit-server-url}/cord-tester'
347 branches:
348 - '{branch}'
349
350 triggers:
351 - reverse:
352 jobs: 'build_{profile}_{config-pod}_{branch}'
353 result: 'failure'