blob: 5dc22a0689afa073d760af1d83366f7ebcc33a04 [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'
196
Zack Williams320b3142019-03-14 23:10:01 -0700197# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800198- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700199 id: 'omec-combined'
200 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800201 project-type: pipeline
202
203 description: |
204 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700205 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800206
207 properties:
208 - cord-infra-properties:
209 build-days-to-keep: '{build-days-to-keep}'
210 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700211 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700212 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700213 - build-blocker:
214 use-build-blocker: true
215 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700216 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800217
218 wrappers:
219 - lf-infra-wrappers:
220 build-timeout: '{build-timeout}'
221 jenkins-ssh-credential: '{jenkins-ssh-credential}'
222
223 parameters:
224 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700225 name: buildNode
226 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700227 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800228
229 - string:
hwchiu14f97852019-10-08 10:51:11 -0700230 name: project
231 default: '{project}'
232 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800233
Zack Williams73c3cf42019-02-25 23:43:22 -0700234 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700235 - cord-infra-github-pr-trigger:
236 github_pr_org_list: '{obj:github_pr_org_list}'
237 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800238 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700239
Zack Williams5d81f812019-02-27 14:37:09 -0700240 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800241
242 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700243 script-path: '{pipeline-file}'
244 scm:
245 - git:
hwchiu14f97852019-10-08 10:51:11 -0700246 url: 'https://github.com/{github-organization}/omec-project-ci'
247 branches:
248 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700249
Zack Williams320b3142019-03-14 23:10:01 -0700250# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700251- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700252 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700253 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700254 project-type: pipeline
255
256 description: |
257 <!-- Managed by Jenkins Job Builder -->
258 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
259
260 properties:
261 - cord-infra-properties:
262 build-days-to-keep: '{build-days-to-keep}'
263 artifact-num-to-keep: '{artifact-num-to-keep}'
264 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700265 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700266
267 wrappers:
268 - lf-infra-wrappers:
269 build-timeout: '{build-timeout}'
270 jenkins-ssh-credential: '{jenkins-ssh-credential}'
271
272 parameters:
273 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700274 name: buildNode
275 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700276 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700277
278 - string:
hwchiu14f97852019-10-08 10:51:11 -0700279 name: project
280 default: '{project}'
281 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700282
Zack Williams320b3142019-03-14 23:10:01 -0700283 concurrent: false
284
285 pipeline-scm:
286 script-path: '{pipeline-file}'
287 scm:
288 - git:
hwchiu14f97852019-10-08 10:51:11 -0700289 url: 'https://github.com/{github-organization}/omec-project-ci'
290 branches:
291 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700292
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800293# FOSSA License Scan
294- job-template:
295 id: 'omec-fossa'
296 name: 'omec_{project}_fossa'
297 project-type: pipeline
298
299 description: |
300 <!-- Managed by Jenkins Job Builder -->
301 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
302
303 properties:
304 - cord-infra-properties:
305 build-days-to-keep: '{build-days-to-keep}'
306 artifact-num-to-keep: '{artifact-num-to-keep}'
307 - github:
308 url: 'https://github.com/{github-organization}/{project}'
309
310 wrappers:
311 - lf-infra-wrappers:
312 build-timeout: '{build-timeout}'
313 jenkins-ssh-credential: '{jenkins-ssh-credential}'
314
315 parameters:
316 - string:
317 name: buildNode
318 default: '{build-node}'
319 description: 'Name of the Jenkins executor node to run the job on'
320
321 - string:
322 name: project
323 default: '{project}'
324 description: 'Name of the project'
325
326 triggers:
327 - cord-infra-github-pr-trigger:
328 github_pr_org_list: '{obj:github_pr_org_list}'
329 github_pr_auth_id: '{github_pr_auth_id}'
330 status_context: 'CORD Jenkins - FOSSA Verification'
331
332 concurrent: false
333
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800334 project-type: pipeline
335 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800336
337# REUSE License Scan
338- job-template:
339 id: 'omec-reuse'
340 name: 'omec_{project}_reuse'
341 project-type: pipeline
342
343 description: |
344 <!-- Managed by Jenkins Job Builder -->
345 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
346
347 properties:
348 - cord-infra-properties:
349 build-days-to-keep: '{build-days-to-keep}'
350 artifact-num-to-keep: '{artifact-num-to-keep}'
351 - github:
352 url: 'https://github.com/{github-organization}/{project}'
353
354 wrappers:
355 - lf-infra-wrappers:
356 build-timeout: '{build-timeout}'
357 jenkins-ssh-credential: '{jenkins-ssh-credential}'
358
359 parameters:
360 - string:
361 name: buildNode
362 default: '{build-node}'
363 description: 'Name of the Jenkins executor node to run the job on'
364
365 - string:
366 name: project
367 default: '{project}'
368 description: 'Name of the project'
369
370 triggers:
371 - cord-infra-github-pr-trigger:
372 github_pr_org_list: '{obj:github_pr_org_list}'
373 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800374 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800375
376 concurrent: false
377
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800378 project-type: pipeline
379 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800380
Zack Williams320b3142019-03-14 23:10:01 -0700381# tests
382- job-template:
383 id: 'omec-tc1'
384 name: 'omec_tc1'
385 project-type: pipeline
386
387 description: |
388 <!-- Managed by Jenkins Job Builder -->
389 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
390
391 properties:
392 - cord-infra-properties:
393 build-days-to-keep: '{build-days-to-keep}'
394 artifact-num-to-keep: '{artifact-num-to-keep}'
395
396 wrappers:
397 - lf-infra-wrappers:
398 build-timeout: '{build-timeout}'
399 jenkins-ssh-credential: '{jenkins-ssh-credential}'
400
401 parameters:
402 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700403 name: buildNode
404 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700405 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700406
Zack Williams5d81f812019-02-27 14:37:09 -0700407 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700408
409 pipeline-scm:
410 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
411 scm:
412 - git:
hwchiu14f97852019-10-08 10:51:11 -0700413 url: 'https://github.com/omec-project/omec-project-ci'
414 branches:
415 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700416
417- job-template:
418 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700419 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700420 project-type: pipeline
421
422 description: |
423 <!-- Managed by Jenkins Job Builder -->
424 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
425
426 properties:
427 - cord-infra-properties:
428 build-days-to-keep: '{build-days-to-keep}'
429 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700430
431 wrappers:
432 - lf-infra-wrappers:
433 build-timeout: '{build-timeout}'
434 jenkins-ssh-credential: '{jenkins-ssh-credential}'
435
436 parameters:
437 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700438 name: buildNode
439 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700440 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700441
Zack Williams5d81f812019-02-27 14:37:09 -0700442 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700443
444 pipeline-scm:
445 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800446 scm:
447 - git:
hwchiu14f97852019-10-08 10:51:11 -0700448 url: 'https://github.com/omec-project/omec-project-ci'
449 branches:
450 - 'master'