blob: b492b6716649a26b7f866c69ddb47c1c6efbff74 [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
Zack Williams320b3142019-03-14 23:10:01 -0700172# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800173- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700174 id: 'omec-combined'
175 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800176 project-type: pipeline
177
178 description: |
179 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700180 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800181
182 properties:
183 - cord-infra-properties:
184 build-days-to-keep: '{build-days-to-keep}'
185 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700186 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700187 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700188 - build-blocker:
189 use-build-blocker: true
190 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700191 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800192
193 wrappers:
194 - lf-infra-wrappers:
195 build-timeout: '{build-timeout}'
196 jenkins-ssh-credential: '{jenkins-ssh-credential}'
197
198 parameters:
199 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700200 name: buildNode
201 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700202 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800203
204 - string:
hwchiu14f97852019-10-08 10:51:11 -0700205 name: project
206 default: '{project}'
207 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800208
Zack Williams73c3cf42019-02-25 23:43:22 -0700209 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700210 - cord-infra-github-pr-trigger:
211 github_pr_org_list: '{obj:github_pr_org_list}'
212 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800213 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700214
Zack Williams5d81f812019-02-27 14:37:09 -0700215 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800216
217 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700218 script-path: '{pipeline-file}'
219 scm:
220 - git:
hwchiu14f97852019-10-08 10:51:11 -0700221 url: 'https://github.com/{github-organization}/omec-project-ci'
222 branches:
223 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700224
Zack Williams320b3142019-03-14 23:10:01 -0700225# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700226- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700227 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700228 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700229 project-type: pipeline
230
231 description: |
232 <!-- Managed by Jenkins Job Builder -->
233 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
234
235 properties:
236 - cord-infra-properties:
237 build-days-to-keep: '{build-days-to-keep}'
238 artifact-num-to-keep: '{artifact-num-to-keep}'
239 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700240 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700241
242 wrappers:
243 - lf-infra-wrappers:
244 build-timeout: '{build-timeout}'
245 jenkins-ssh-credential: '{jenkins-ssh-credential}'
246
247 parameters:
248 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700249 name: buildNode
250 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700251 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700252
253 - string:
hwchiu14f97852019-10-08 10:51:11 -0700254 name: project
255 default: '{project}'
256 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700257
Zack Williams320b3142019-03-14 23:10:01 -0700258 concurrent: false
259
260 pipeline-scm:
261 script-path: '{pipeline-file}'
262 scm:
263 - git:
hwchiu14f97852019-10-08 10:51:11 -0700264 url: 'https://github.com/{github-organization}/omec-project-ci'
265 branches:
266 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700267
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800268# FOSSA License Scan
269- job-template:
270 id: 'omec-fossa'
271 name: 'omec_{project}_fossa'
272 project-type: pipeline
273
274 description: |
275 <!-- Managed by Jenkins Job Builder -->
276 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
277
278 properties:
279 - cord-infra-properties:
280 build-days-to-keep: '{build-days-to-keep}'
281 artifact-num-to-keep: '{artifact-num-to-keep}'
282 - github:
283 url: 'https://github.com/{github-organization}/{project}'
284
285 wrappers:
286 - lf-infra-wrappers:
287 build-timeout: '{build-timeout}'
288 jenkins-ssh-credential: '{jenkins-ssh-credential}'
289
290 parameters:
291 - string:
292 name: buildNode
293 default: '{build-node}'
294 description: 'Name of the Jenkins executor node to run the job on'
295
296 - string:
297 name: project
298 default: '{project}'
299 description: 'Name of the project'
300
301 triggers:
302 - cord-infra-github-pr-trigger:
303 github_pr_org_list: '{obj:github_pr_org_list}'
304 github_pr_auth_id: '{github_pr_auth_id}'
305 status_context: 'CORD Jenkins - FOSSA Verification'
306
307 concurrent: false
308
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800309 project-type: pipeline
310 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800311
312# REUSE License Scan
313- job-template:
314 id: 'omec-reuse'
315 name: 'omec_{project}_reuse'
316 project-type: pipeline
317
318 description: |
319 <!-- Managed by Jenkins Job Builder -->
320 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
321
322 properties:
323 - cord-infra-properties:
324 build-days-to-keep: '{build-days-to-keep}'
325 artifact-num-to-keep: '{artifact-num-to-keep}'
326 - github:
327 url: 'https://github.com/{github-organization}/{project}'
328
329 wrappers:
330 - lf-infra-wrappers:
331 build-timeout: '{build-timeout}'
332 jenkins-ssh-credential: '{jenkins-ssh-credential}'
333
334 parameters:
335 - string:
336 name: buildNode
337 default: '{build-node}'
338 description: 'Name of the Jenkins executor node to run the job on'
339
340 - string:
341 name: project
342 default: '{project}'
343 description: 'Name of the project'
344
345 triggers:
346 - cord-infra-github-pr-trigger:
347 github_pr_org_list: '{obj:github_pr_org_list}'
348 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800349 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800350
351 concurrent: false
352
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800353 project-type: pipeline
354 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800355
Zack Williams320b3142019-03-14 23:10:01 -0700356# tests
357- job-template:
358 id: 'omec-tc1'
359 name: 'omec_tc1'
360 project-type: pipeline
361
362 description: |
363 <!-- Managed by Jenkins Job Builder -->
364 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
365
366 properties:
367 - cord-infra-properties:
368 build-days-to-keep: '{build-days-to-keep}'
369 artifact-num-to-keep: '{artifact-num-to-keep}'
370
371 wrappers:
372 - lf-infra-wrappers:
373 build-timeout: '{build-timeout}'
374 jenkins-ssh-credential: '{jenkins-ssh-credential}'
375
376 parameters:
377 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700378 name: buildNode
379 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700380 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700381
Zack Williams5d81f812019-02-27 14:37:09 -0700382 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700383
384 pipeline-scm:
385 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
386 scm:
387 - git:
hwchiu14f97852019-10-08 10:51:11 -0700388 url: 'https://github.com/omec-project/omec-project-ci'
389 branches:
390 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700391
392- job-template:
393 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700394 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700395 project-type: pipeline
396
397 description: |
398 <!-- Managed by Jenkins Job Builder -->
399 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
400
401 properties:
402 - cord-infra-properties:
403 build-days-to-keep: '{build-days-to-keep}'
404 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700405
406 wrappers:
407 - lf-infra-wrappers:
408 build-timeout: '{build-timeout}'
409 jenkins-ssh-credential: '{jenkins-ssh-credential}'
410
411 parameters:
412 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700413 name: buildNode
414 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700415 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700416
Zack Williams5d81f812019-02-27 14:37:09 -0700417 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700418
419 pipeline-scm:
420 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800421 scm:
422 - git:
hwchiu14f97852019-10-08 10:51:11 -0700423 url: 'https://github.com/omec-project/omec-project-ci'
424 branches:
425 - 'master'