blob: 580fdb0a78ae3e00c67435a7aa019272ccd90c5d [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'
18
Zack Williams73c3cf42019-02-25 23:43:22 -070019# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080020- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070021 name: ngic-rtc
22 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080023
Zack Williamsb3292082019-10-11 17:15:18 -070024 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070025
Zack Williams1e325b22019-07-24 17:52:57 -070026 github-organization: 'omec-project'
27
Zack Williams5d81f812019-02-27 14:37:09 -070028 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
29 github_pr_org_list:
30 - 'omec-project'
31
Kailashbe4dc092019-01-23 09:22:17 -080032 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070033 - 'omec-combined':
34 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
35 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070036 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070037 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080038 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080039 pipeline-file: 'omec-fossa-scan.groovy'
40 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080041 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080042 pipeline-file: 'omec-reuse-scan.groovy'
43 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070044 - 'docker-publish-github':
45 build-timeout: 30
46 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070047 build-node: 'ubuntu16.04-basebuild-4c-8g'
Zack Williams73c3cf42019-02-25 23:43:22 -070048
Zack Williamse306e572019-04-18 07:12:46 -070049# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070050- project:
Zack Williamse306e572019-04-18 07:12:46 -070051 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070052 project: '{name}'
53
Zack Williamsb3292082019-10-11 17:15:18 -070054 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070055
Zack Williams1e325b22019-07-24 17:52:57 -070056 github-organization: 'omec-project'
57
Zack Williams5d81f812019-02-27 14:37:09 -070058 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
59 github_pr_org_list:
60 - 'omec-project'
61
Zack Williams73c3cf42019-02-25 23:43:22 -070062 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070063 - 'omec-combined':
64 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
65 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070066 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070067 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070068 - 'omec-install':
69 sub-project: 'c3po-hss'
70 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080071 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080072 pipeline-file: 'omec-fossa-scan.groovy'
73 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080074 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080075 pipeline-file: 'omec-reuse-scan.groovy'
76 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070077 - 'docker-publish-github':
78 build-timeout: 30
79 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070080 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -070081
82# for openmme
83- project:
84 name: openmme
85 project: '{name}'
86
Zack Williamsdf7f9d32019-11-05 07:40:20 -070087 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070088
Zack Williams1e325b22019-07-24 17:52:57 -070089 github-organization: 'omec-project'
90
Zack Williams5d81f812019-02-27 14:37:09 -070091 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
92 github_pr_org_list:
93 - 'omec-project'
94
Zack Williams73c3cf42019-02-25 23:43:22 -070095 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070096 - 'omec-combined':
97 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
98 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070099 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700100 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800101 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800102 pipeline-file: 'omec-fossa-scan.groovy'
103 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800104 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800105 pipeline-file: 'omec-reuse-scan.groovy'
106 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700107 - 'docker-publish-github':
108 build-timeout: 30
109 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700110 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700111
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800112# for nucleus
113- project:
114 name: Nucleus
115 project: '{name}'
116
117 build-node: 'intel-102'
118
119 github-organization: 'omec-project'
120
121 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
122 github_pr_org_list:
123 - 'omec-project'
124
125 jobs:
126 - 'omec-fossa':
127 pipeline-file: 'omec-fossa-scan.groovy'
128 build-node: 'omec-qa'
129 - 'omec-reuse':
130 pipeline-file: 'omec-reuse-scan.groovy'
131 build-node: 'omec-qa'
132
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800133# for freediameter
134- project:
135 name: freediameter
136 project: '{name}'
137
138 build-node: 'intel-102'
139
140 github-organization: 'omec-project'
141
142 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
143 github_pr_org_list:
144 - 'omec-project'
145
146 jobs:
147 - 'omec-fossa':
148 pipeline-file: 'omec-fossa-scan.groovy'
149 build-node: 'omec-qa'
150 - 'omec-reuse':
151 pipeline-file: 'omec-reuse-scan.groovy'
152 build-node: 'omec-qa'
153
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700154# for ignite
155- project:
156 name: ignite
157 project: '{name}'
158
159 build-node: 'intel-102'
160
161 github-organization: 'omec-project'
162
163 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
164 github_pr_org_list:
165 - 'omec-project'
166
167 jobs:
168 - 'omec-fossa':
169 pipeline-file: 'omec-fossa-scan.groovy'
170 build-node: 'omec-qa'
171 - 'omec-reuse':
172 pipeline-file: 'omec-reuse-scan.groovy'
173 build-node: 'omec-qa'
174
You Wangccc13492020-04-01 11:11:59 -0700175# for upf-epc
176- project:
177 name: upf-epc
178 project: '{name}'
179
180 github-organization: 'omec-project'
181
182 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
183 github_pr_org_list:
184 - 'omec-project'
185
186 jobs:
187 - 'omec-fossa':
188 pipeline-file: 'omec-fossa-scan.groovy'
189 build-node: 'omec-qa'
190 - 'omec-reuse':
191 pipeline-file: 'omec-reuse-scan.groovy'
192 build-node: 'omec-qa'
193 - 'docker-publish-github':
194 build-timeout: 30
195 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700196 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangccc13492020-04-01 11:11:59 -0700197
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