blob: 060f6097def72a16ab618a7a3f99f844f74cf918 [file] [log] [blame]
Kailashbe4dc092019-01-23 09:22:17 -08001---
Zack Williams73c3cf42019-02-25 23:43:22 -07002# omec-ci jobs
Zack Williams5d81f812019-02-27 14:37:09 -07003# Uses github pull request builder to trigger and Jenkinsfiles from this repo
4# https://github.com/omec-project/omec-project-ci
Kailashbe4dc092019-01-23 09:22:17 -08005
Zack Williams320b3142019-03-14 23:10:01 -07006# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
7- project:
8 name: omec
Zack Williamsb3292082019-10-11 17:15:18 -07009 build-node: 'intel-102'
Zack Williams320b3142019-03-14 23:10:01 -070010
11 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
12 github_pr_org_list:
13 - 'omec-project'
14
15 jobs:
16 - 'omec-tc1'
17 - 'omec-tc2'
Jeremy Ronquillo6d1e08a2020-04-03 11:31:32 -070018 - 'omec-deploy-staging'
You Wang5c15a7a2020-04-02 11:24:33 -070019 - 'omec-postmerge':
20 project: '{name}'
21 build-node: 'omec-qa'
22 c3po-branch-name: 'multiUpfs'
23 ngic-branch-name: 'master'
24 openmme-branch-name: 'paging'
25 pipeline-file: 'omec-postmerge.groovy'
Zack Williams320b3142019-03-14 23:10:01 -070026
Zack Williams73c3cf42019-02-25 23:43:22 -070027# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080028- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070029 name: ngic-rtc
30 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080031
Zack Williamsb3292082019-10-11 17:15:18 -070032 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070033
Zack Williams1e325b22019-07-24 17:52:57 -070034 github-organization: 'omec-project'
35
Zack Williams5d81f812019-02-27 14:37:09 -070036 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
37 github_pr_org_list:
38 - 'omec-project'
39
Kailashbe4dc092019-01-23 09:22:17 -080040 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070041 - 'omec-combined':
42 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
43 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070044 sub-project: '{name}'
You Wang8addd4c2020-04-14 16:25:57 -070045 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070046 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080047 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080048 pipeline-file: 'omec-fossa-scan.groovy'
49 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080050 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080051 pipeline-file: 'omec-reuse-scan.groovy'
52 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070053 - 'docker-publish-github':
54 build-timeout: 30
55 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070056 build-node: 'ubuntu16.04-basebuild-4c-8g'
Zack Williams73c3cf42019-02-25 23:43:22 -070057
Zack Williamse306e572019-04-18 07:12:46 -070058# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070059- project:
Zack Williamse306e572019-04-18 07:12:46 -070060 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070061 project: '{name}'
62
Zack Williamsb3292082019-10-11 17:15:18 -070063 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070064
Zack Williams1e325b22019-07-24 17:52:57 -070065 github-organization: 'omec-project'
66
Zack Williams5d81f812019-02-27 14:37:09 -070067 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
68 github_pr_org_list:
69 - 'omec-project'
70
Zack Williams73c3cf42019-02-25 23:43:22 -070071 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070072 - 'omec-combined':
73 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
74 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070075 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -070076 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -070077 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070078 - 'omec-install':
79 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -070080 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -070081 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080082 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080083 pipeline-file: 'omec-fossa-scan.groovy'
84 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080085 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080086 pipeline-file: 'omec-reuse-scan.groovy'
87 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070088 - 'docker-publish-github':
89 build-timeout: 30
90 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070091 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -070092
93# for openmme
94- project:
95 name: openmme
96 project: '{name}'
97
Zack Williamsdf7f9d32019-11-05 07:40:20 -070098 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070099
Zack Williams1e325b22019-07-24 17:52:57 -0700100 github-organization: 'omec-project'
101
Zack Williams5d81f812019-02-27 14:37:09 -0700102 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
103 github_pr_org_list:
104 - 'omec-project'
105
Zack Williams73c3cf42019-02-25 23:43:22 -0700106 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700107 - 'omec-combined':
108 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
109 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700110 sub-project: '{name}'
You Wang8addd4c2020-04-14 16:25:57 -0700111 branch: 'paging'
Zack Williams73c3cf42019-02-25 23:43:22 -0700112 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800113 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800114 pipeline-file: 'omec-fossa-scan.groovy'
115 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800116 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800117 pipeline-file: 'omec-reuse-scan.groovy'
118 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700119 - 'docker-publish-github':
120 build-timeout: 30
121 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700122 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700123
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800124# for nucleus
125- project:
126 name: Nucleus
127 project: '{name}'
128
129 build-node: 'intel-102'
130
131 github-organization: 'omec-project'
132
133 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
134 github_pr_org_list:
135 - 'omec-project'
136
137 jobs:
138 - 'omec-fossa':
139 pipeline-file: 'omec-fossa-scan.groovy'
140 build-node: 'omec-qa'
141 - 'omec-reuse':
142 pipeline-file: 'omec-reuse-scan.groovy'
143 build-node: 'omec-qa'
144
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800145# for freediameter
146- project:
147 name: freediameter
148 project: '{name}'
149
150 build-node: 'intel-102'
151
152 github-organization: 'omec-project'
153
154 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
155 github_pr_org_list:
156 - 'omec-project'
157
158 jobs:
159 - 'omec-fossa':
160 pipeline-file: 'omec-fossa-scan.groovy'
161 build-node: 'omec-qa'
162 - 'omec-reuse':
163 pipeline-file: 'omec-reuse-scan.groovy'
164 build-node: 'omec-qa'
165
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700166# for ignite
167- project:
168 name: ignite
169 project: '{name}'
170
171 build-node: 'intel-102'
172
173 github-organization: 'omec-project'
174
175 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
176 github_pr_org_list:
177 - 'omec-project'
178
179 jobs:
180 - 'omec-fossa':
181 pipeline-file: 'omec-fossa-scan.groovy'
182 build-node: 'omec-qa'
183 - 'omec-reuse':
184 pipeline-file: 'omec-reuse-scan.groovy'
185 build-node: 'omec-qa'
186
You Wangccc13492020-04-01 11:11:59 -0700187# for upf-epc
188- project:
189 name: upf-epc
190 project: '{name}'
191
192 github-organization: 'omec-project'
193
194 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
195 github_pr_org_list:
196 - 'omec-project'
197
198 jobs:
199 - 'omec-fossa':
200 pipeline-file: 'omec-fossa-scan.groovy'
201 build-node: 'omec-qa'
202 - 'omec-reuse':
203 pipeline-file: 'omec-reuse-scan.groovy'
204 build-node: 'omec-qa'
205 - 'docker-publish-github':
206 build-timeout: 30
207 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700208 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangccc13492020-04-01 11:11:59 -0700209
Zack Williams320b3142019-03-14 23:10:01 -0700210# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800211- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700212 id: 'omec-combined'
213 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800214 project-type: pipeline
215
216 description: |
217 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700218 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800219
220 properties:
221 - cord-infra-properties:
222 build-days-to-keep: '{build-days-to-keep}'
223 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700224 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700225 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700226 - build-blocker:
227 use-build-blocker: true
228 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700229 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800230
231 wrappers:
232 - lf-infra-wrappers:
233 build-timeout: '{build-timeout}'
234 jenkins-ssh-credential: '{jenkins-ssh-credential}'
235
236 parameters:
237 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700238 name: buildNode
239 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700240 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800241
242 - string:
hwchiu14f97852019-10-08 10:51:11 -0700243 name: project
244 default: '{project}'
245 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800246
Zack Williams73c3cf42019-02-25 23:43:22 -0700247 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700248 - cord-infra-github-pr-trigger:
249 github_pr_org_list: '{obj:github_pr_org_list}'
250 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800251 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700252
Zack Williams5d81f812019-02-27 14:37:09 -0700253 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800254
255 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700256 script-path: '{pipeline-file}'
257 scm:
258 - git:
hwchiu14f97852019-10-08 10:51:11 -0700259 url: 'https://github.com/{github-organization}/omec-project-ci'
260 branches:
261 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700262
Zack Williams320b3142019-03-14 23:10:01 -0700263# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700264- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700265 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700266 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700267 project-type: pipeline
268
269 description: |
270 <!-- Managed by Jenkins Job Builder -->
271 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
272
273 properties:
274 - cord-infra-properties:
275 build-days-to-keep: '{build-days-to-keep}'
276 artifact-num-to-keep: '{artifact-num-to-keep}'
277 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700278 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700279
280 wrappers:
281 - lf-infra-wrappers:
282 build-timeout: '{build-timeout}'
283 jenkins-ssh-credential: '{jenkins-ssh-credential}'
284
285 parameters:
286 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700287 name: buildNode
288 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700289 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700290
291 - string:
hwchiu14f97852019-10-08 10:51:11 -0700292 name: project
293 default: '{project}'
294 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700295
You Wang8addd4c2020-04-14 16:25:57 -0700296 - string:
297 name: branch
298 default: '{branch}'
299 description: 'Branch of the project'
300
Zack Williams320b3142019-03-14 23:10:01 -0700301 concurrent: false
302
303 pipeline-scm:
304 script-path: '{pipeline-file}'
305 scm:
306 - git:
hwchiu14f97852019-10-08 10:51:11 -0700307 url: 'https://github.com/{github-organization}/omec-project-ci'
308 branches:
309 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700310
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800311# FOSSA License Scan
312- job-template:
313 id: 'omec-fossa'
314 name: 'omec_{project}_fossa'
315 project-type: pipeline
316
317 description: |
318 <!-- Managed by Jenkins Job Builder -->
319 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
320
321 properties:
322 - cord-infra-properties:
323 build-days-to-keep: '{build-days-to-keep}'
324 artifact-num-to-keep: '{artifact-num-to-keep}'
325 - github:
326 url: 'https://github.com/{github-organization}/{project}'
327
328 wrappers:
329 - lf-infra-wrappers:
330 build-timeout: '{build-timeout}'
331 jenkins-ssh-credential: '{jenkins-ssh-credential}'
332
333 parameters:
334 - string:
335 name: buildNode
336 default: '{build-node}'
337 description: 'Name of the Jenkins executor node to run the job on'
338
339 - string:
340 name: project
341 default: '{project}'
342 description: 'Name of the project'
343
344 triggers:
345 - cord-infra-github-pr-trigger:
346 github_pr_org_list: '{obj:github_pr_org_list}'
347 github_pr_auth_id: '{github_pr_auth_id}'
348 status_context: 'CORD Jenkins - FOSSA Verification'
349
350 concurrent: false
351
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800352 project-type: pipeline
353 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800354
355# REUSE License Scan
356- job-template:
357 id: 'omec-reuse'
358 name: 'omec_{project}_reuse'
359 project-type: pipeline
360
361 description: |
362 <!-- Managed by Jenkins Job Builder -->
363 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
364
365 properties:
366 - cord-infra-properties:
367 build-days-to-keep: '{build-days-to-keep}'
368 artifact-num-to-keep: '{artifact-num-to-keep}'
369 - github:
370 url: 'https://github.com/{github-organization}/{project}'
371
372 wrappers:
373 - lf-infra-wrappers:
374 build-timeout: '{build-timeout}'
375 jenkins-ssh-credential: '{jenkins-ssh-credential}'
376
377 parameters:
378 - string:
379 name: buildNode
380 default: '{build-node}'
381 description: 'Name of the Jenkins executor node to run the job on'
382
383 - string:
384 name: project
385 default: '{project}'
386 description: 'Name of the project'
387
388 triggers:
389 - cord-infra-github-pr-trigger:
390 github_pr_org_list: '{obj:github_pr_org_list}'
391 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800392 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800393
394 concurrent: false
395
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800396 project-type: pipeline
397 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800398
Zack Williams320b3142019-03-14 23:10:01 -0700399# tests
400- job-template:
401 id: 'omec-tc1'
402 name: 'omec_tc1'
403 project-type: pipeline
404
405 description: |
406 <!-- Managed by Jenkins Job Builder -->
407 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
408
409 properties:
410 - cord-infra-properties:
411 build-days-to-keep: '{build-days-to-keep}'
412 artifact-num-to-keep: '{artifact-num-to-keep}'
413
414 wrappers:
415 - lf-infra-wrappers:
416 build-timeout: '{build-timeout}'
417 jenkins-ssh-credential: '{jenkins-ssh-credential}'
418
419 parameters:
420 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700421 name: buildNode
422 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700423 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700424
Zack Williams5d81f812019-02-27 14:37:09 -0700425 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700426
427 pipeline-scm:
428 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
429 scm:
430 - git:
hwchiu14f97852019-10-08 10:51:11 -0700431 url: 'https://github.com/omec-project/omec-project-ci'
432 branches:
433 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700434
435- job-template:
436 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700437 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700438 project-type: pipeline
439
440 description: |
441 <!-- Managed by Jenkins Job Builder -->
442 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
443
444 properties:
445 - cord-infra-properties:
446 build-days-to-keep: '{build-days-to-keep}'
447 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700448
449 wrappers:
450 - lf-infra-wrappers:
451 build-timeout: '{build-timeout}'
452 jenkins-ssh-credential: '{jenkins-ssh-credential}'
453
454 parameters:
455 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700456 name: buildNode
457 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700458 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700459
Zack Williams5d81f812019-02-27 14:37:09 -0700460 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700461
462 pipeline-scm:
463 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800464 scm:
465 - git:
hwchiu14f97852019-10-08 10:51:11 -0700466 url: 'https://github.com/omec-project/omec-project-ci'
467 branches:
468 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700469
470# Deploy staging
471- job-template:
472 id: 'omec-deploy-staging'
473 name: 'omec-deploy-staging'
474 project-type: pipeline
475
476 description: |
477 Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br />
478 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700479 Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br />
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700480 Copyright (c) 2020 Open Networking Foundation (ONF)
481
482 properties:
483 - cord-infra-properties:
484 build-days-to-keep: '{build-days-to-keep}'
485 artifact-num-to-keep: '{artifact-num-to-keep}'
486
487 wrappers:
488 - lf-infra-wrappers:
489 build-timeout: '{build-timeout}'
490 jenkins-ssh-credential: '{jenkins-ssh-credential}'
491
492 parameters:
493 - string:
494 name: buildNode
495 default: 'omec-staging'
496 description: 'Name of the Jenkins executor node to run the job on.'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700497 - bool:
498 name: useProductionCluster
499 default: false
500 description: 'Check this option to use the production cluster instead of the staging cluster. <b>Use with caution.</b>'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700501 - string:
502 name: registry
503 default: 'omecproject'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700504 description: 'Registry for all images that will be changed.'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700505 - string:
506 name: hssdb_tag
507 default: ''
508 description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.'
509 - string:
510 name: hss_tag
511 default: ''
512 description: 'Tag for hss. Leave hss tag blank to omit changing.'
513 - string:
514 name: mme_tag
515 default: ''
516 description: 'Tag for mme. Leave mme tag blank to omit changing.'
517 - string:
518 name: mmeExporter_tag
519 default: ''
520 description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.'
521 - string:
522 name: spgwc_tag
523 default: ''
524 description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.'
525 - string:
526 name: spgwu_tag
527 default: ''
528 description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.'
529
530 concurrent: false
531
532 dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy
You Wang5c15a7a2020-04-02 11:24:33 -0700533
534# Post-merge job
535# Triggered by Github pull request merge
536- job-template:
537 id: omec-postmerge
538 name: '{project}_postmerge'
539 description: |
540 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
541
542 properties:
543 - cord-infra-properties:
544 build-days-to-keep: '{build-days-to-keep}'
545 artifact-num-to-keep: '{artifact-num-to-keep}'
546
547 triggers:
548 - cord-infra-github-pr-trigger-merge:
549 project: '{project}'
550
551 wrappers:
552 - lf-infra-wrappers:
553 build-timeout: '{build-timeout}'
554 jenkins-ssh-credential: '{jenkins-ssh-credential}'
555
556 parameters:
557 - string:
558 name: buildNode
559 default: '{build-node}'
560 description: 'Name of the Jenkins node to run the job on'
561
562 - string:
563 name: repoName
564 default: ''
565 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
566
567 - string:
568 name: repoUrl
569 default: ''
570 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
571
572 - string:
573 name: branchName
574 default: ''
575 description: 'Branch of the project. Populated by Generic Webhook Trigger'
576
577 - string:
578 name: commitHash
579 default: ''
580 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
581
582 - string:
583 name: c3poBranchName
584 default: '{c3po-branch-name}'
585 description: 'Branch name of c3po repo which we run tests against'
586
587 - string:
588 name: ngicBranchName
589 default: '{ngic-branch-name}'
590 description: 'Branch name of ngic-rtc repo which we run tests against'
591
592 - string:
593 name: openmmeBranchName
594 default: '{openmme-branch-name}'
595 description: 'Branch name of openmme repo which we run tests against'
596
597 - string:
598 name: maintainers
599 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
600 description: "The person that sould be notified if this job fails"
601
602 project-type: pipeline
603 concurrent: true
604
605 dsl: !include-raw-escape: pipeline/{pipeline-file}