blob: be1c0538bca2a0eaad5c88510ccf262bbccab481 [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'
Zack Williams320b3142019-03-14 23:10:01 -070019
Zack Williams73c3cf42019-02-25 23:43:22 -070020# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080021- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070022 name: ngic-rtc
23 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080024
Zack Williamsb3292082019-10-11 17:15:18 -070025 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070026
Zack Williams1e325b22019-07-24 17:52:57 -070027 github-organization: 'omec-project'
28
Zack Williams5d81f812019-02-27 14:37:09 -070029 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
30 github_pr_org_list:
31 - 'omec-project'
32
Kailashbe4dc092019-01-23 09:22:17 -080033 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070034 - 'omec-combined':
35 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
36 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070037 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070038 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080039 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080040 pipeline-file: 'omec-fossa-scan.groovy'
41 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080042 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080043 pipeline-file: 'omec-reuse-scan.groovy'
44 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070045 - 'docker-publish-github':
46 build-timeout: 30
47 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070048 build-node: 'ubuntu16.04-basebuild-4c-8g'
Zack Williams73c3cf42019-02-25 23:43:22 -070049
Zack Williamse306e572019-04-18 07:12:46 -070050# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070051- project:
Zack Williamse306e572019-04-18 07:12:46 -070052 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070053 project: '{name}'
54
Zack Williamsb3292082019-10-11 17:15:18 -070055 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070056
Zack Williams1e325b22019-07-24 17:52:57 -070057 github-organization: 'omec-project'
58
Zack Williams5d81f812019-02-27 14:37:09 -070059 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
60 github_pr_org_list:
61 - 'omec-project'
62
Zack Williams73c3cf42019-02-25 23:43:22 -070063 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070064 - 'omec-combined':
65 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
66 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070067 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070068 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070069 - 'omec-install':
70 sub-project: 'c3po-hss'
71 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080072 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080073 pipeline-file: 'omec-fossa-scan.groovy'
74 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080075 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080076 pipeline-file: 'omec-reuse-scan.groovy'
77 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070078 - 'docker-publish-github':
79 build-timeout: 30
80 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070081 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -070082
83# for openmme
84- project:
85 name: openmme
86 project: '{name}'
87
Zack Williamsdf7f9d32019-11-05 07:40:20 -070088 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070089
Zack Williams1e325b22019-07-24 17:52:57 -070090 github-organization: 'omec-project'
91
Zack Williams5d81f812019-02-27 14:37:09 -070092 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
93 github_pr_org_list:
94 - 'omec-project'
95
Zack Williams73c3cf42019-02-25 23:43:22 -070096 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070097 - 'omec-combined':
98 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
99 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700100 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700101 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800102 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800103 pipeline-file: 'omec-fossa-scan.groovy'
104 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800105 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800106 pipeline-file: 'omec-reuse-scan.groovy'
107 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700108 - 'docker-publish-github':
109 build-timeout: 30
110 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700111 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700112
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800113# for nucleus
114- project:
115 name: Nucleus
116 project: '{name}'
117
118 build-node: 'intel-102'
119
120 github-organization: 'omec-project'
121
122 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
123 github_pr_org_list:
124 - 'omec-project'
125
126 jobs:
127 - 'omec-fossa':
128 pipeline-file: 'omec-fossa-scan.groovy'
129 build-node: 'omec-qa'
130 - 'omec-reuse':
131 pipeline-file: 'omec-reuse-scan.groovy'
132 build-node: 'omec-qa'
133
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800134# for freediameter
135- project:
136 name: freediameter
137 project: '{name}'
138
139 build-node: 'intel-102'
140
141 github-organization: 'omec-project'
142
143 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
144 github_pr_org_list:
145 - 'omec-project'
146
147 jobs:
148 - '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 Ronquillocc302e12020-03-30 11:44:49 -0700155# for ignite
156- project:
157 name: ignite
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
You Wangccc13492020-04-01 11:11:59 -0700176# for upf-epc
177- project:
178 name: upf-epc
179 project: '{name}'
180
181 github-organization: 'omec-project'
182
183 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
184 github_pr_org_list:
185 - 'omec-project'
186
187 jobs:
188 - 'omec-fossa':
189 pipeline-file: 'omec-fossa-scan.groovy'
190 build-node: 'omec-qa'
191 - 'omec-reuse':
192 pipeline-file: 'omec-reuse-scan.groovy'
193 build-node: 'omec-qa'
194 - 'docker-publish-github':
195 build-timeout: 30
196 docker-repo: 'omecproject'
197
Zack Williams320b3142019-03-14 23:10:01 -0700198# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800199- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700200 id: 'omec-combined'
201 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800202 project-type: pipeline
203
204 description: |
205 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700206 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800207
208 properties:
209 - cord-infra-properties:
210 build-days-to-keep: '{build-days-to-keep}'
211 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700212 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700213 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700214 - build-blocker:
215 use-build-blocker: true
216 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700217 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800218
219 wrappers:
220 - lf-infra-wrappers:
221 build-timeout: '{build-timeout}'
222 jenkins-ssh-credential: '{jenkins-ssh-credential}'
223
224 parameters:
225 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700226 name: buildNode
227 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700228 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800229
230 - string:
hwchiu14f97852019-10-08 10:51:11 -0700231 name: project
232 default: '{project}'
233 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800234
Zack Williams73c3cf42019-02-25 23:43:22 -0700235 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700236 - cord-infra-github-pr-trigger:
237 github_pr_org_list: '{obj:github_pr_org_list}'
238 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800239 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700240
Zack Williams5d81f812019-02-27 14:37:09 -0700241 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800242
243 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700244 script-path: '{pipeline-file}'
245 scm:
246 - git:
hwchiu14f97852019-10-08 10:51:11 -0700247 url: 'https://github.com/{github-organization}/omec-project-ci'
248 branches:
249 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700250
Zack Williams320b3142019-03-14 23:10:01 -0700251# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700252- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700253 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700254 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700255 project-type: pipeline
256
257 description: |
258 <!-- Managed by Jenkins Job Builder -->
259 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
260
261 properties:
262 - cord-infra-properties:
263 build-days-to-keep: '{build-days-to-keep}'
264 artifact-num-to-keep: '{artifact-num-to-keep}'
265 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700266 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700267
268 wrappers:
269 - lf-infra-wrappers:
270 build-timeout: '{build-timeout}'
271 jenkins-ssh-credential: '{jenkins-ssh-credential}'
272
273 parameters:
274 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700275 name: buildNode
276 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700277 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700278
279 - string:
hwchiu14f97852019-10-08 10:51:11 -0700280 name: project
281 default: '{project}'
282 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700283
Zack Williams320b3142019-03-14 23:10:01 -0700284 concurrent: false
285
286 pipeline-scm:
287 script-path: '{pipeline-file}'
288 scm:
289 - git:
hwchiu14f97852019-10-08 10:51:11 -0700290 url: 'https://github.com/{github-organization}/omec-project-ci'
291 branches:
292 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700293
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800294# FOSSA License Scan
295- job-template:
296 id: 'omec-fossa'
297 name: 'omec_{project}_fossa'
298 project-type: pipeline
299
300 description: |
301 <!-- Managed by Jenkins Job Builder -->
302 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
303
304 properties:
305 - cord-infra-properties:
306 build-days-to-keep: '{build-days-to-keep}'
307 artifact-num-to-keep: '{artifact-num-to-keep}'
308 - github:
309 url: 'https://github.com/{github-organization}/{project}'
310
311 wrappers:
312 - lf-infra-wrappers:
313 build-timeout: '{build-timeout}'
314 jenkins-ssh-credential: '{jenkins-ssh-credential}'
315
316 parameters:
317 - string:
318 name: buildNode
319 default: '{build-node}'
320 description: 'Name of the Jenkins executor node to run the job on'
321
322 - string:
323 name: project
324 default: '{project}'
325 description: 'Name of the project'
326
327 triggers:
328 - cord-infra-github-pr-trigger:
329 github_pr_org_list: '{obj:github_pr_org_list}'
330 github_pr_auth_id: '{github_pr_auth_id}'
331 status_context: 'CORD Jenkins - FOSSA Verification'
332
333 concurrent: false
334
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800335 project-type: pipeline
336 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800337
338# REUSE License Scan
339- job-template:
340 id: 'omec-reuse'
341 name: 'omec_{project}_reuse'
342 project-type: pipeline
343
344 description: |
345 <!-- Managed by Jenkins Job Builder -->
346 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
347
348 properties:
349 - cord-infra-properties:
350 build-days-to-keep: '{build-days-to-keep}'
351 artifact-num-to-keep: '{artifact-num-to-keep}'
352 - github:
353 url: 'https://github.com/{github-organization}/{project}'
354
355 wrappers:
356 - lf-infra-wrappers:
357 build-timeout: '{build-timeout}'
358 jenkins-ssh-credential: '{jenkins-ssh-credential}'
359
360 parameters:
361 - string:
362 name: buildNode
363 default: '{build-node}'
364 description: 'Name of the Jenkins executor node to run the job on'
365
366 - string:
367 name: project
368 default: '{project}'
369 description: 'Name of the project'
370
371 triggers:
372 - cord-infra-github-pr-trigger:
373 github_pr_org_list: '{obj:github_pr_org_list}'
374 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800375 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800376
377 concurrent: false
378
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800379 project-type: pipeline
380 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800381
Zack Williams320b3142019-03-14 23:10:01 -0700382# tests
383- job-template:
384 id: 'omec-tc1'
385 name: 'omec_tc1'
386 project-type: pipeline
387
388 description: |
389 <!-- Managed by Jenkins Job Builder -->
390 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
391
392 properties:
393 - cord-infra-properties:
394 build-days-to-keep: '{build-days-to-keep}'
395 artifact-num-to-keep: '{artifact-num-to-keep}'
396
397 wrappers:
398 - lf-infra-wrappers:
399 build-timeout: '{build-timeout}'
400 jenkins-ssh-credential: '{jenkins-ssh-credential}'
401
402 parameters:
403 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700404 name: buildNode
405 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700406 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700407
Zack Williams5d81f812019-02-27 14:37:09 -0700408 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700409
410 pipeline-scm:
411 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
412 scm:
413 - git:
hwchiu14f97852019-10-08 10:51:11 -0700414 url: 'https://github.com/omec-project/omec-project-ci'
415 branches:
416 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700417
418- job-template:
419 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700420 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700421 project-type: pipeline
422
423 description: |
424 <!-- Managed by Jenkins Job Builder -->
425 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
426
427 properties:
428 - cord-infra-properties:
429 build-days-to-keep: '{build-days-to-keep}'
430 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700431
432 wrappers:
433 - lf-infra-wrappers:
434 build-timeout: '{build-timeout}'
435 jenkins-ssh-credential: '{jenkins-ssh-credential}'
436
437 parameters:
438 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700439 name: buildNode
440 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700441 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700442
Zack Williams5d81f812019-02-27 14:37:09 -0700443 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700444
445 pipeline-scm:
446 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800447 scm:
448 - git:
hwchiu14f97852019-10-08 10:51:11 -0700449 url: 'https://github.com/omec-project/omec-project-ci'
450 branches:
451 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700452
453# Deploy staging
454- job-template:
455 id: 'omec-deploy-staging'
456 name: 'omec-deploy-staging'
457 project-type: pipeline
458
459 description: |
460 Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br />
461 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
462 Created by Jeremy Ronquillo, jeremyr@opennetworking.org <br />
463 Copyright (c) 2020 Open Networking Foundation (ONF)
464
465 properties:
466 - cord-infra-properties:
467 build-days-to-keep: '{build-days-to-keep}'
468 artifact-num-to-keep: '{artifact-num-to-keep}'
469
470 wrappers:
471 - lf-infra-wrappers:
472 build-timeout: '{build-timeout}'
473 jenkins-ssh-credential: '{jenkins-ssh-credential}'
474
475 parameters:
476 - string:
477 name: buildNode
478 default: 'omec-staging'
479 description: 'Name of the Jenkins executor node to run the job on.'
480 - string:
481 name: registry
482 default: 'omecproject'
483 description: 'Registry for all images.'
484 - string:
485 name: hssdb_tag
486 default: ''
487 description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.'
488 - string:
489 name: hss_tag
490 default: ''
491 description: 'Tag for hss. Leave hss tag blank to omit changing.'
492 - string:
493 name: mme_tag
494 default: ''
495 description: 'Tag for mme. Leave mme tag blank to omit changing.'
496 - string:
497 name: mmeExporter_tag
498 default: ''
499 description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.'
500 - string:
501 name: spgwc_tag
502 default: ''
503 description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.'
504 - string:
505 name: spgwu_tag
506 default: ''
507 description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.'
508
509 concurrent: false
510
511 dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy