blob: 25564715ffd0ce943d4f86b71bd83a6667be56ca [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'
Zack Williams73c3cf42019-02-25 23:43:22 -070047
Zack Williamse306e572019-04-18 07:12:46 -070048# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070049- project:
Zack Williamse306e572019-04-18 07:12:46 -070050 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070051 project: '{name}'
52
Zack Williamsb3292082019-10-11 17:15:18 -070053 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070054
Zack Williams1e325b22019-07-24 17:52:57 -070055 github-organization: 'omec-project'
56
Zack Williams5d81f812019-02-27 14:37:09 -070057 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
58 github_pr_org_list:
59 - 'omec-project'
60
Zack Williams73c3cf42019-02-25 23:43:22 -070061 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070062 - 'omec-combined':
63 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
64 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070065 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070066 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070067 - 'omec-install':
68 sub-project: 'c3po-hss'
69 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080070 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080071 pipeline-file: 'omec-fossa-scan.groovy'
72 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080073 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080074 pipeline-file: 'omec-reuse-scan.groovy'
75 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070076 - 'docker-publish-github':
77 build-timeout: 30
78 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070079
80# for openmme
81- project:
82 name: openmme
83 project: '{name}'
84
Zack Williamsdf7f9d32019-11-05 07:40:20 -070085 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070086
Zack Williams1e325b22019-07-24 17:52:57 -070087 github-organization: 'omec-project'
88
Zack Williams5d81f812019-02-27 14:37:09 -070089 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
90 github_pr_org_list:
91 - 'omec-project'
92
Zack Williams73c3cf42019-02-25 23:43:22 -070093 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070094 - 'omec-combined':
95 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
96 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070097 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070098 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080099 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800100 pipeline-file: 'omec-fossa-scan.groovy'
101 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800102 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800103 pipeline-file: 'omec-reuse-scan.groovy'
104 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700105 - 'docker-publish-github':
106 build-timeout: 30
107 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -0700108
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800109# for nucleus
110- project:
111 name: Nucleus
112 project: '{name}'
113
114 build-node: 'intel-102'
115
116 github-organization: 'omec-project'
117
118 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
119 github_pr_org_list:
120 - 'omec-project'
121
122 jobs:
123 - 'omec-fossa':
124 pipeline-file: 'omec-fossa-scan.groovy'
125 build-node: 'omec-qa'
126 - 'omec-reuse':
127 pipeline-file: 'omec-reuse-scan.groovy'
128 build-node: 'omec-qa'
129
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800130# for freediameter
131- project:
132 name: freediameter
133 project: '{name}'
134
135 build-node: 'intel-102'
136
137 github-organization: 'omec-project'
138
139 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
140 github_pr_org_list:
141 - 'omec-project'
142
143 jobs:
144 - 'omec-fossa':
145 pipeline-file: 'omec-fossa-scan.groovy'
146 build-node: 'omec-qa'
147 - 'omec-reuse':
148 pipeline-file: 'omec-reuse-scan.groovy'
149 build-node: 'omec-qa'
150
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700151# for ignite
152- project:
153 name: ignite
154 project: '{name}'
155
156 build-node: 'intel-102'
157
158 github-organization: 'omec-project'
159
160 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
161 github_pr_org_list:
162 - 'omec-project'
163
164 jobs:
165 - 'omec-fossa':
166 pipeline-file: 'omec-fossa-scan.groovy'
167 build-node: 'omec-qa'
168 - 'omec-reuse':
169 pipeline-file: 'omec-reuse-scan.groovy'
170 build-node: 'omec-qa'
171
You Wangccc13492020-04-01 11:11:59 -0700172# for upf-epc
173- project:
174 name: upf-epc
175 project: '{name}'
176
177 github-organization: 'omec-project'
178
179 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
180 github_pr_org_list:
181 - 'omec-project'
182
183 jobs:
184 - 'omec-fossa':
185 pipeline-file: 'omec-fossa-scan.groovy'
186 build-node: 'omec-qa'
187 - 'omec-reuse':
188 pipeline-file: 'omec-reuse-scan.groovy'
189 build-node: 'omec-qa'
190 - 'docker-publish-github':
191 build-timeout: 30
192 docker-repo: 'omecproject'
193
Zack Williams320b3142019-03-14 23:10:01 -0700194# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800195- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700196 id: 'omec-combined'
197 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800198 project-type: pipeline
199
200 description: |
201 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700202 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800203
204 properties:
205 - cord-infra-properties:
206 build-days-to-keep: '{build-days-to-keep}'
207 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700208 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700209 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700210 - build-blocker:
211 use-build-blocker: true
212 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700213 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800214
215 wrappers:
216 - lf-infra-wrappers:
217 build-timeout: '{build-timeout}'
218 jenkins-ssh-credential: '{jenkins-ssh-credential}'
219
220 parameters:
221 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700222 name: buildNode
223 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700224 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800225
226 - string:
hwchiu14f97852019-10-08 10:51:11 -0700227 name: project
228 default: '{project}'
229 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800230
Zack Williams73c3cf42019-02-25 23:43:22 -0700231 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700232 - cord-infra-github-pr-trigger:
233 github_pr_org_list: '{obj:github_pr_org_list}'
234 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800235 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700236
Zack Williams5d81f812019-02-27 14:37:09 -0700237 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800238
239 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700240 script-path: '{pipeline-file}'
241 scm:
242 - git:
hwchiu14f97852019-10-08 10:51:11 -0700243 url: 'https://github.com/{github-organization}/omec-project-ci'
244 branches:
245 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700246
Zack Williams320b3142019-03-14 23:10:01 -0700247# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700248- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700249 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700250 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700251 project-type: pipeline
252
253 description: |
254 <!-- Managed by Jenkins Job Builder -->
255 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
256
257 properties:
258 - cord-infra-properties:
259 build-days-to-keep: '{build-days-to-keep}'
260 artifact-num-to-keep: '{artifact-num-to-keep}'
261 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700262 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700263
264 wrappers:
265 - lf-infra-wrappers:
266 build-timeout: '{build-timeout}'
267 jenkins-ssh-credential: '{jenkins-ssh-credential}'
268
269 parameters:
270 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700271 name: buildNode
272 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700273 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700274
275 - string:
hwchiu14f97852019-10-08 10:51:11 -0700276 name: project
277 default: '{project}'
278 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700279
Zack Williams320b3142019-03-14 23:10:01 -0700280 concurrent: false
281
282 pipeline-scm:
283 script-path: '{pipeline-file}'
284 scm:
285 - git:
hwchiu14f97852019-10-08 10:51:11 -0700286 url: 'https://github.com/{github-organization}/omec-project-ci'
287 branches:
288 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700289
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800290# FOSSA License Scan
291- job-template:
292 id: 'omec-fossa'
293 name: 'omec_{project}_fossa'
294 project-type: pipeline
295
296 description: |
297 <!-- Managed by Jenkins Job Builder -->
298 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
299
300 properties:
301 - cord-infra-properties:
302 build-days-to-keep: '{build-days-to-keep}'
303 artifact-num-to-keep: '{artifact-num-to-keep}'
304 - github:
305 url: 'https://github.com/{github-organization}/{project}'
306
307 wrappers:
308 - lf-infra-wrappers:
309 build-timeout: '{build-timeout}'
310 jenkins-ssh-credential: '{jenkins-ssh-credential}'
311
312 parameters:
313 - string:
314 name: buildNode
315 default: '{build-node}'
316 description: 'Name of the Jenkins executor node to run the job on'
317
318 - string:
319 name: project
320 default: '{project}'
321 description: 'Name of the project'
322
323 triggers:
324 - cord-infra-github-pr-trigger:
325 github_pr_org_list: '{obj:github_pr_org_list}'
326 github_pr_auth_id: '{github_pr_auth_id}'
327 status_context: 'CORD Jenkins - FOSSA Verification'
328
329 concurrent: false
330
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800331 project-type: pipeline
332 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800333
334# REUSE License Scan
335- job-template:
336 id: 'omec-reuse'
337 name: 'omec_{project}_reuse'
338 project-type: pipeline
339
340 description: |
341 <!-- Managed by Jenkins Job Builder -->
342 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
343
344 properties:
345 - cord-infra-properties:
346 build-days-to-keep: '{build-days-to-keep}'
347 artifact-num-to-keep: '{artifact-num-to-keep}'
348 - github:
349 url: 'https://github.com/{github-organization}/{project}'
350
351 wrappers:
352 - lf-infra-wrappers:
353 build-timeout: '{build-timeout}'
354 jenkins-ssh-credential: '{jenkins-ssh-credential}'
355
356 parameters:
357 - string:
358 name: buildNode
359 default: '{build-node}'
360 description: 'Name of the Jenkins executor node to run the job on'
361
362 - string:
363 name: project
364 default: '{project}'
365 description: 'Name of the project'
366
367 triggers:
368 - cord-infra-github-pr-trigger:
369 github_pr_org_list: '{obj:github_pr_org_list}'
370 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800371 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800372
373 concurrent: false
374
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800375 project-type: pipeline
376 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800377
Zack Williams320b3142019-03-14 23:10:01 -0700378# tests
379- job-template:
380 id: 'omec-tc1'
381 name: 'omec_tc1'
382 project-type: pipeline
383
384 description: |
385 <!-- Managed by Jenkins Job Builder -->
386 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
387
388 properties:
389 - cord-infra-properties:
390 build-days-to-keep: '{build-days-to-keep}'
391 artifact-num-to-keep: '{artifact-num-to-keep}'
392
393 wrappers:
394 - lf-infra-wrappers:
395 build-timeout: '{build-timeout}'
396 jenkins-ssh-credential: '{jenkins-ssh-credential}'
397
398 parameters:
399 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700400 name: buildNode
401 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700402 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700403
Zack Williams5d81f812019-02-27 14:37:09 -0700404 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700405
406 pipeline-scm:
407 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
408 scm:
409 - git:
hwchiu14f97852019-10-08 10:51:11 -0700410 url: 'https://github.com/omec-project/omec-project-ci'
411 branches:
412 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700413
414- job-template:
415 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700416 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700417 project-type: pipeline
418
419 description: |
420 <!-- Managed by Jenkins Job Builder -->
421 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
422
423 properties:
424 - cord-infra-properties:
425 build-days-to-keep: '{build-days-to-keep}'
426 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700427
428 wrappers:
429 - lf-infra-wrappers:
430 build-timeout: '{build-timeout}'
431 jenkins-ssh-credential: '{jenkins-ssh-credential}'
432
433 parameters:
434 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700435 name: buildNode
436 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700437 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700438
Zack Williams5d81f812019-02-27 14:37:09 -0700439 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700440
441 pipeline-scm:
442 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800443 scm:
444 - git:
hwchiu14f97852019-10-08 10:51:11 -0700445 url: 'https://github.com/omec-project/omec-project-ci'
446 branches:
447 - 'master'