blob: d7a46bcfef9f8fa6870846805a22bce6f7a50c97 [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'
You Wangb242ae42020-04-15 12:32:32 -070023 ngic-branch-name: 'central-cp-multi-upfs'
You Wang5c15a7a2020-04-02 11:24:33 -070024 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'
You Wang83055442020-04-17 14:54:40 -070043 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -070044 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070045 sub-project: '{name}'
You Wang8a09f522020-04-22 20:14:57 -070046 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -070047 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080048 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080049 pipeline-file: 'omec-fossa-scan.groovy'
50 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080051 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080052 pipeline-file: 'omec-reuse-scan.groovy'
53 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070054 - 'docker-publish-github':
55 build-timeout: 30
56 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070057 build-node: 'ubuntu16.04-basebuild-4c-8g'
Zack Williams73c3cf42019-02-25 23:43:22 -070058
Zack Williamse306e572019-04-18 07:12:46 -070059# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070060- project:
Zack Williamse306e572019-04-18 07:12:46 -070061 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070062 project: '{name}'
63
Zack Williamsb3292082019-10-11 17:15:18 -070064 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070065
Zack Williams1e325b22019-07-24 17:52:57 -070066 github-organization: 'omec-project'
67
Zack Williams5d81f812019-02-27 14:37:09 -070068 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
69 github_pr_org_list:
70 - 'omec-project'
71
Zack Williams73c3cf42019-02-25 23:43:22 -070072 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070073 - 'omec-combined':
74 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -070075 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -070076 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070077 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -070078 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -070079 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070080 - 'omec-install':
81 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -070082 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -070083 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080084 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080085 pipeline-file: 'omec-fossa-scan.groovy'
86 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080087 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080088 pipeline-file: 'omec-reuse-scan.groovy'
89 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070090 - 'docker-publish-github':
91 build-timeout: 30
92 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070093 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -070094
95# for openmme
96- project:
97 name: openmme
98 project: '{name}'
99
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700100 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -0700101
Zack Williams1e325b22019-07-24 17:52:57 -0700102 github-organization: 'omec-project'
103
Zack Williams5d81f812019-02-27 14:37:09 -0700104 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
105 github_pr_org_list:
106 - 'omec-project'
107
Zack Williams73c3cf42019-02-25 23:43:22 -0700108 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700109 - 'omec-combined':
110 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700111 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700112 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700113 sub-project: '{name}'
You Wang8addd4c2020-04-14 16:25:57 -0700114 branch: 'paging'
Zack Williams73c3cf42019-02-25 23:43:22 -0700115 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800116 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800117 pipeline-file: 'omec-fossa-scan.groovy'
118 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800119 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800120 pipeline-file: 'omec-reuse-scan.groovy'
121 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700122 - 'docker-publish-github':
123 build-timeout: 30
124 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700125 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700126
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800127# for nucleus
128- project:
129 name: Nucleus
130 project: '{name}'
131
132 build-node: 'intel-102'
133
134 github-organization: 'omec-project'
135
136 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
137 github_pr_org_list:
138 - 'omec-project'
139
140 jobs:
You Wang83055442020-04-17 14:54:40 -0700141 - 'omec-combined':
142 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
143 mme-repo: 'Nucleus'
144 - 'omec-install':
145 sub-project: '{name}'
146 branch: 'master'
147 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800148 - 'omec-fossa':
149 pipeline-file: 'omec-fossa-scan.groovy'
150 build-node: 'omec-qa'
151 - 'omec-reuse':
152 pipeline-file: 'omec-reuse-scan.groovy'
153 build-node: 'omec-qa'
154
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800155# for freediameter
156- project:
157 name: freediameter
158 project: '{name}'
159
160 build-node: 'intel-102'
161
162 github-organization: 'omec-project'
163
164 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
165 github_pr_org_list:
166 - 'omec-project'
167
168 jobs:
169 - 'omec-fossa':
170 pipeline-file: 'omec-fossa-scan.groovy'
171 build-node: 'omec-qa'
172 - 'omec-reuse':
173 pipeline-file: 'omec-reuse-scan.groovy'
174 build-node: 'omec-qa'
175
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700176# for ignite
177- project:
178 name: ignite
179 project: '{name}'
180
181 build-node: 'intel-102'
182
183 github-organization: 'omec-project'
184
185 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
186 github_pr_org_list:
187 - 'omec-project'
188
189 jobs:
190 - 'omec-fossa':
191 pipeline-file: 'omec-fossa-scan.groovy'
192 build-node: 'omec-qa'
193 - 'omec-reuse':
194 pipeline-file: 'omec-reuse-scan.groovy'
195 build-node: 'omec-qa'
196
You Wangccc13492020-04-01 11:11:59 -0700197# for upf-epc
198- project:
199 name: upf-epc
200 project: '{name}'
201
202 github-organization: 'omec-project'
203
204 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
205 github_pr_org_list:
206 - 'omec-project'
207
208 jobs:
209 - 'omec-fossa':
210 pipeline-file: 'omec-fossa-scan.groovy'
211 build-node: 'omec-qa'
212 - 'omec-reuse':
213 pipeline-file: 'omec-reuse-scan.groovy'
214 build-node: 'omec-qa'
215 - 'docker-publish-github':
216 build-timeout: 30
217 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700218 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangccc13492020-04-01 11:11:59 -0700219
Zack Williams320b3142019-03-14 23:10:01 -0700220# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800221- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700222 id: 'omec-combined'
223 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800224 project-type: pipeline
225
226 description: |
227 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700228 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800229
230 properties:
231 - cord-infra-properties:
232 build-days-to-keep: '{build-days-to-keep}'
233 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700234 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700235 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700236 - build-blocker:
237 use-build-blocker: true
238 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700239 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800240
241 wrappers:
242 - lf-infra-wrappers:
243 build-timeout: '{build-timeout}'
244 jenkins-ssh-credential: '{jenkins-ssh-credential}'
245
246 parameters:
247 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700248 name: buildNode
249 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700250 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800251
252 - string:
hwchiu14f97852019-10-08 10:51:11 -0700253 name: project
254 default: '{project}'
255 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800256
You Wang83055442020-04-17 14:54:40 -0700257 - string:
258 name: mmeRepo
259 default: '{mme-repo}'
260 description: 'Name of the MME repo to test (openmme/Nucleus)'
261
Zack Williams73c3cf42019-02-25 23:43:22 -0700262 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700263 - cord-infra-github-pr-trigger:
264 github_pr_org_list: '{obj:github_pr_org_list}'
265 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800266 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700267
Zack Williams5d81f812019-02-27 14:37:09 -0700268 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800269
270 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700271 script-path: '{pipeline-file}'
272 scm:
273 - git:
hwchiu14f97852019-10-08 10:51:11 -0700274 url: 'https://github.com/{github-organization}/omec-project-ci'
275 branches:
276 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700277
Zack Williams320b3142019-03-14 23:10:01 -0700278# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700279- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700280 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700281 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700282 project-type: pipeline
283
284 description: |
285 <!-- Managed by Jenkins Job Builder -->
286 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
287
288 properties:
289 - cord-infra-properties:
290 build-days-to-keep: '{build-days-to-keep}'
291 artifact-num-to-keep: '{artifact-num-to-keep}'
292 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700293 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700294
295 wrappers:
296 - lf-infra-wrappers:
297 build-timeout: '{build-timeout}'
298 jenkins-ssh-credential: '{jenkins-ssh-credential}'
299
300 parameters:
301 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700302 name: buildNode
303 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700304 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700305
306 - string:
hwchiu14f97852019-10-08 10:51:11 -0700307 name: project
308 default: '{project}'
309 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700310
You Wang8addd4c2020-04-14 16:25:57 -0700311 - string:
312 name: branch
313 default: '{branch}'
314 description: 'Branch of the project'
315
Zack Williams320b3142019-03-14 23:10:01 -0700316 concurrent: false
317
318 pipeline-scm:
319 script-path: '{pipeline-file}'
320 scm:
321 - git:
hwchiu14f97852019-10-08 10:51:11 -0700322 url: 'https://github.com/{github-organization}/omec-project-ci'
323 branches:
324 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700325
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800326# FOSSA License Scan
327- job-template:
328 id: 'omec-fossa'
329 name: 'omec_{project}_fossa'
330 project-type: pipeline
331
332 description: |
333 <!-- Managed by Jenkins Job Builder -->
334 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
335
336 properties:
337 - cord-infra-properties:
338 build-days-to-keep: '{build-days-to-keep}'
339 artifact-num-to-keep: '{artifact-num-to-keep}'
340 - github:
341 url: 'https://github.com/{github-organization}/{project}'
342
343 wrappers:
344 - lf-infra-wrappers:
345 build-timeout: '{build-timeout}'
346 jenkins-ssh-credential: '{jenkins-ssh-credential}'
347
348 parameters:
349 - string:
350 name: buildNode
351 default: '{build-node}'
352 description: 'Name of the Jenkins executor node to run the job on'
353
354 - string:
355 name: project
356 default: '{project}'
357 description: 'Name of the project'
358
359 triggers:
360 - cord-infra-github-pr-trigger:
361 github_pr_org_list: '{obj:github_pr_org_list}'
362 github_pr_auth_id: '{github_pr_auth_id}'
363 status_context: 'CORD Jenkins - FOSSA Verification'
364
365 concurrent: false
366
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800367 project-type: pipeline
368 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800369
370# REUSE License Scan
371- job-template:
372 id: 'omec-reuse'
373 name: 'omec_{project}_reuse'
374 project-type: pipeline
375
376 description: |
377 <!-- Managed by Jenkins Job Builder -->
378 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
379
380 properties:
381 - cord-infra-properties:
382 build-days-to-keep: '{build-days-to-keep}'
383 artifact-num-to-keep: '{artifact-num-to-keep}'
384 - github:
385 url: 'https://github.com/{github-organization}/{project}'
386
387 wrappers:
388 - lf-infra-wrappers:
389 build-timeout: '{build-timeout}'
390 jenkins-ssh-credential: '{jenkins-ssh-credential}'
391
392 parameters:
393 - string:
394 name: buildNode
395 default: '{build-node}'
396 description: 'Name of the Jenkins executor node to run the job on'
397
398 - string:
399 name: project
400 default: '{project}'
401 description: 'Name of the project'
402
403 triggers:
404 - cord-infra-github-pr-trigger:
405 github_pr_org_list: '{obj:github_pr_org_list}'
406 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800407 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800408
409 concurrent: false
410
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800411 project-type: pipeline
412 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800413
Zack Williams320b3142019-03-14 23:10:01 -0700414# tests
415- job-template:
416 id: 'omec-tc1'
417 name: 'omec_tc1'
418 project-type: pipeline
419
420 description: |
421 <!-- Managed by Jenkins Job Builder -->
422 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
423
424 properties:
425 - cord-infra-properties:
426 build-days-to-keep: '{build-days-to-keep}'
427 artifact-num-to-keep: '{artifact-num-to-keep}'
428
429 wrappers:
430 - lf-infra-wrappers:
431 build-timeout: '{build-timeout}'
432 jenkins-ssh-credential: '{jenkins-ssh-credential}'
433
434 parameters:
435 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700436 name: buildNode
437 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700438 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700439
You Wang83055442020-04-17 14:54:40 -0700440 - string:
441 name: mmeRepo
442 default: 'openmme'
443 description: 'Name of the MME repo to test (openmme/Nucleus)'
444
Zack Williams5d81f812019-02-27 14:37:09 -0700445 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700446
447 pipeline-scm:
448 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
449 scm:
450 - git:
hwchiu14f97852019-10-08 10:51:11 -0700451 url: 'https://github.com/omec-project/omec-project-ci'
452 branches:
453 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700454
455- job-template:
456 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700457 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700458 project-type: pipeline
459
460 description: |
461 <!-- Managed by Jenkins Job Builder -->
462 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
463
464 properties:
465 - cord-infra-properties:
466 build-days-to-keep: '{build-days-to-keep}'
467 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700468
469 wrappers:
470 - lf-infra-wrappers:
471 build-timeout: '{build-timeout}'
472 jenkins-ssh-credential: '{jenkins-ssh-credential}'
473
474 parameters:
475 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700476 name: buildNode
477 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700478 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700479
You Wang83055442020-04-17 14:54:40 -0700480 - string:
481 name: mmeRepo
482 default: 'openmme'
483 description: 'Name of the MME repo to test (openmme/Nucleus)'
484
Zack Williams5d81f812019-02-27 14:37:09 -0700485 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700486
487 pipeline-scm:
488 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800489 scm:
490 - git:
hwchiu14f97852019-10-08 10:51:11 -0700491 url: 'https://github.com/omec-project/omec-project-ci'
492 branches:
493 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700494
495# Deploy staging
496- job-template:
497 id: 'omec-deploy-staging'
498 name: 'omec-deploy-staging'
499 project-type: pipeline
500
501 description: |
502 Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br />
503 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700504 Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br />
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700505 Copyright (c) 2020 Open Networking Foundation (ONF)
506
507 properties:
508 - cord-infra-properties:
509 build-days-to-keep: '{build-days-to-keep}'
510 artifact-num-to-keep: '{artifact-num-to-keep}'
511
512 wrappers:
513 - lf-infra-wrappers:
514 build-timeout: '{build-timeout}'
515 jenkins-ssh-credential: '{jenkins-ssh-credential}'
516
517 parameters:
518 - string:
519 name: buildNode
520 default: 'omec-staging'
521 description: 'Name of the Jenkins executor node to run the job on.'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700522 - bool:
523 name: useProductionCluster
524 default: false
525 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 -0700526 - string:
527 name: registry
528 default: 'omecproject'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700529 description: 'Registry for all images that will be changed.'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700530 - string:
531 name: hssdb_tag
532 default: ''
533 description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.'
534 - string:
535 name: hss_tag
536 default: ''
537 description: 'Tag for hss. Leave hss tag blank to omit changing.'
538 - string:
539 name: mme_tag
540 default: ''
541 description: 'Tag for mme. Leave mme tag blank to omit changing.'
542 - string:
543 name: mmeExporter_tag
544 default: ''
545 description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.'
546 - string:
547 name: spgwc_tag
548 default: ''
549 description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.'
550 - string:
551 name: spgwu_tag
552 default: ''
553 description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.'
554
555 concurrent: false
556
557 dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy
You Wang5c15a7a2020-04-02 11:24:33 -0700558
559# Post-merge job
560# Triggered by Github pull request merge
561- job-template:
562 id: omec-postmerge
563 name: '{project}_postmerge'
564 description: |
565 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
566
567 properties:
568 - cord-infra-properties:
569 build-days-to-keep: '{build-days-to-keep}'
570 artifact-num-to-keep: '{artifact-num-to-keep}'
571
572 triggers:
573 - cord-infra-github-pr-trigger-merge:
574 project: '{project}'
575
576 wrappers:
577 - lf-infra-wrappers:
578 build-timeout: '{build-timeout}'
579 jenkins-ssh-credential: '{jenkins-ssh-credential}'
580
581 parameters:
582 - string:
583 name: buildNode
584 default: '{build-node}'
585 description: 'Name of the Jenkins node to run the job on'
586
587 - string:
588 name: repoName
589 default: ''
590 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
591
592 - string:
593 name: repoUrl
594 default: ''
595 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
596
597 - string:
598 name: branchName
599 default: ''
600 description: 'Branch of the project. Populated by Generic Webhook Trigger'
601
602 - string:
603 name: commitHash
604 default: ''
605 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
606
607 - string:
608 name: c3poBranchName
609 default: '{c3po-branch-name}'
610 description: 'Branch name of c3po repo which we run tests against'
611
612 - string:
613 name: ngicBranchName
614 default: '{ngic-branch-name}'
615 description: 'Branch name of ngic-rtc repo which we run tests against'
616
617 - string:
618 name: openmmeBranchName
619 default: '{openmme-branch-name}'
620 description: 'Branch name of openmme repo which we run tests against'
621
622 - string:
623 name: maintainers
624 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
625 description: "The person that sould be notified if this job fails"
626
627 project-type: pipeline
628 concurrent: true
629
630 dsl: !include-raw-escape: pipeline/{pipeline-file}