blob: b7ae87698cd19e9f7496b6480691e05d1e02ddba [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
Kailash Khalasice9eaec2018-09-14 12:01:56 -070079 - bool:
80 name: configurePod
81 default: true
82 description: "Configure POD via TOSCA post build"
83
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070084 - string:
85 name: notificationEmail
86 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
87 description: ''
88
Matteo Scandolofe69a8c2018-11-27 11:50:06 -080089 - bool:
90 name: installBBSim
91 default: false
92 description: "Install the BBSim container"
93
94 - string:
95 name: onuNumber
96 default: '16'
97 description: "Onus per PonPort"
98
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070099 concurrent: true
100
101 pipeline-scm:
102 script-path: '{Jenkinsfile}'
103 scm:
104 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -0700105 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700106 branches:
107 - '{branch}'
108
109- job-template:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700110 name: 'build_{profile}_{config-pod}_{branch}'
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700111 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700112 description: |
113 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700114 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700115 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
116 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
117 Copyright (c) 2017 Open Networking Foundation (ONF)
118
119 <<: *test-pipe-job-boiler-plate
120
121 parameters:
122 - string:
123 name: TestNodeName
124 default: '{testvm}'
125 description: 'Jenkins node name of TestVM Node'
126
127 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700128 name: cordRepoUrl
129 default: '{gerrit-server-url}'
130 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700131
132 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700133 name: configBaseDir
134 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700135 description: 'The directory inside the POD configs repository'
136
137 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700138 name: configDeploymentDir
139 default: 'deployment-configs'
140 description: 'The deployment configs folder'
141
142 - string:
143 name: configKubernetesDir
144 default: 'kubernetes-configs'
145 description: 'The kubernetes config folder'
146
147 - string:
Kailash Khalasi619e6882018-09-13 13:15:37 -0700148 name: configToscaDir
149 default: 'tosca-configs'
150 description: 'The tosca config folder'
151
152 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700153 name: configFileName
154 default: '{config-pod}'
155 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700156
157 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700158 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700159 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700160 description: 'OLT Software version to install'
161
162 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700163 name: branch
164 default: '{branch}'
165
166 - string:
Kailash Khalasi9559f362018-09-14 13:53:28 -0700167 name: profile
168 default: '{profile}'
169 description: 'Profile in which this job installs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700170
Kailash Khalasice9eaec2018-09-14 12:01:56 -0700171 - bool:
172 name: configurePod
173 default: true
174 description: "Configure POD via TOSCA post build"
175
Kailash Khalasi9559f362018-09-14 13:53:28 -0700176 - string:
177 name: notificationEmail
178 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
179 description: ''
180
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700181 concurrent: true
182
183 pipeline-scm:
184 script-path: '{Jenkinsfile}'
185 scm:
186 - git:
187 url: '{gerrit-server-url}/cord-tester'
188 branches:
189 - '{branch}'
190
191 triggers:
192 - timed: |
193 TZ=America/Los_Angeles
Kailash Khalasiacd7ea02018-09-28 13:36:47 -0700194 H {time} * * *
Kailash Khalasi9559f362018-09-14 13:53:28 -0700195
196- job-template:
197 name: 'build_{profile}_{config-pod}_{branch}_test'
198 id: build_pod_test
199 description: |
200 <!-- Managed by Jenkins Job Builder -->
201 Post Tests on {config-pod} triggered by build_{config-pod}_{branch} <br /><br />
202 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
203 Created by Kailash Khalasi - kailash@opennetworking.org <br />
204 Copyright (c) 2017 Open Networking Foundation (ONF)
205
206 <<: *test-pipe-job-boiler-plate
207
208 parameters:
209 - string:
210 name: TestNodeName
211 default: '{testvm}'
212 description: 'Jenkins node name of TestVM Node'
213
214 - string:
215 name: cordRepoUrl
216 default: '{gerrit-server-url}'
217 description: 'The URL of the CORD Project repository'
218
219 - string:
220 name: configBaseDir
221 default: 'pod-configs'
222 description: 'The directory inside the POD configs repository'
223
224 - string:
225 name: configDeploymentDir
226 default: 'deployment-configs'
227 description: 'The deployment configs folder'
228
229 - string:
230 name: configKubernetesDir
231 default: 'kubernetes-configs'
232 description: 'The kubernetes config folder'
233
234 - string:
235 name: configToscaDir
236 default: 'tosca-configs'
237 description: 'The tosca config folder'
238
239 - string:
240 name: configFileName
241 default: '{config-pod}'
242 description: 'The config file'
243
244 - string:
245 name: branch
246 default: '{branch}'
247
248 - string:
249 name: notificationEmail
250 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
251 description: ''
252
253 concurrent: true
254
255 pipeline-scm:
256 script-path: '{Jenkinsfile}'
257 scm:
258 - git:
259 url: '{gerrit-server-url}/cord-tester'
260 branches:
261 - '{branch}'
262
263 triggers:
264 - reverse:
265 jobs: 'build_{profile}_{config-pod}_{branch}'
266 result: 'success'
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800267
268- job-template:
269 name: 'build_{profile}_{config-pod}_{branch}_post_actions'
270 id: post_build_actions
271 description: |
272 <!-- Managed by Jenkins Job Builder -->
273 Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br />
274 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
275 Created by Kailash Khalasi - kailash@opennetworking.org <br />
276 Copyright (c) 2017 Open Networking Foundation (ONF)
277
278 <<: *test-pipe-job-boiler-plate
279
280 parameters:
281 - string:
282 name: TestNodeName
283 default: '{testvm}'
284 description: 'Jenkins node name of TestVM Node'
285
286 - string:
287 name: cordRepoUrl
288 default: '{gerrit-server-url}'
289 description: 'The URL of the CORD Project repository'
290
291 - string:
292 name: configBaseDir
293 default: 'pod-configs'
294 description: 'The directory inside the POD configs repository'
295
296 - string:
297 name: configDeploymentDir
298 default: 'deployment-configs'
299 description: 'The deployment configs folder'
300
301 - string:
Kailashc7d9e4e2018-11-13 14:48:23 -0800302 name: configKubernetesDir
303 default: 'kubernetes-configs'
304 description: 'The kubernetes config folder'
305
306 - string:
Kailash Khalasi4de32fe2018-11-12 13:31:39 -0800307 name: configFileName
308 default: '{config-pod}'
309 description: 'The config file'
310
311 - string:
312 name: branch
313 default: '{branch}'
314
315 - string:
316 name: notificationEmail
317 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
318 description: ''
319
320 concurrent: true
321
322 pipeline-scm:
323 script-path: '{Jenkinsfile}'
324 scm:
325 - git:
326 url: '{gerrit-server-url}/cord-tester'
327 branches:
328 - '{branch}'
329
330 triggers:
331 - reverse:
332 jobs: 'build_{profile}_{config-pod}_{branch}'
333 result: 'failure'