blob: f1afffdbee34f4217058bedf211cf9df147c0af3 [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
Zack Williams320b3142019-03-14 23:10:01 -0700175# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800176- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700177 id: 'omec-combined'
178 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800179 project-type: pipeline
180
181 description: |
182 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700183 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800184
185 properties:
186 - cord-infra-properties:
187 build-days-to-keep: '{build-days-to-keep}'
188 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700189 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700190 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700191 - build-blocker:
192 use-build-blocker: true
193 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700194 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800195
196 wrappers:
197 - lf-infra-wrappers:
198 build-timeout: '{build-timeout}'
199 jenkins-ssh-credential: '{jenkins-ssh-credential}'
200
201 parameters:
202 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700203 name: buildNode
204 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700205 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800206
207 - string:
hwchiu14f97852019-10-08 10:51:11 -0700208 name: project
209 default: '{project}'
210 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800211
Zack Williams73c3cf42019-02-25 23:43:22 -0700212 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700213 - cord-infra-github-pr-trigger:
214 github_pr_org_list: '{obj:github_pr_org_list}'
215 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800216 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700217
Zack Williams5d81f812019-02-27 14:37:09 -0700218 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800219
220 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700221 script-path: '{pipeline-file}'
222 scm:
223 - git:
hwchiu14f97852019-10-08 10:51:11 -0700224 url: 'https://github.com/{github-organization}/omec-project-ci'
225 branches:
226 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700227
Zack Williams320b3142019-03-14 23:10:01 -0700228# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700229- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700230 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700231 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700232 project-type: pipeline
233
234 description: |
235 <!-- Managed by Jenkins Job Builder -->
236 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
237
238 properties:
239 - cord-infra-properties:
240 build-days-to-keep: '{build-days-to-keep}'
241 artifact-num-to-keep: '{artifact-num-to-keep}'
242 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700243 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700244
245 wrappers:
246 - lf-infra-wrappers:
247 build-timeout: '{build-timeout}'
248 jenkins-ssh-credential: '{jenkins-ssh-credential}'
249
250 parameters:
251 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700252 name: buildNode
253 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700254 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700255
256 - string:
hwchiu14f97852019-10-08 10:51:11 -0700257 name: project
258 default: '{project}'
259 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700260
Zack Williams320b3142019-03-14 23:10:01 -0700261 concurrent: false
262
263 pipeline-scm:
264 script-path: '{pipeline-file}'
265 scm:
266 - git:
hwchiu14f97852019-10-08 10:51:11 -0700267 url: 'https://github.com/{github-organization}/omec-project-ci'
268 branches:
269 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700270
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800271# FOSSA License Scan
272- job-template:
273 id: 'omec-fossa'
274 name: 'omec_{project}_fossa'
275 project-type: pipeline
276
277 description: |
278 <!-- Managed by Jenkins Job Builder -->
279 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
280
281 properties:
282 - cord-infra-properties:
283 build-days-to-keep: '{build-days-to-keep}'
284 artifact-num-to-keep: '{artifact-num-to-keep}'
285 - github:
286 url: 'https://github.com/{github-organization}/{project}'
287
288 wrappers:
289 - lf-infra-wrappers:
290 build-timeout: '{build-timeout}'
291 jenkins-ssh-credential: '{jenkins-ssh-credential}'
292
293 parameters:
294 - string:
295 name: buildNode
296 default: '{build-node}'
297 description: 'Name of the Jenkins executor node to run the job on'
298
299 - string:
300 name: project
301 default: '{project}'
302 description: 'Name of the project'
303
304 triggers:
305 - cord-infra-github-pr-trigger:
306 github_pr_org_list: '{obj:github_pr_org_list}'
307 github_pr_auth_id: '{github_pr_auth_id}'
308 status_context: 'CORD Jenkins - FOSSA Verification'
309
310 concurrent: false
311
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800312 project-type: pipeline
313 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800314
315# REUSE License Scan
316- job-template:
317 id: 'omec-reuse'
318 name: 'omec_{project}_reuse'
319 project-type: pipeline
320
321 description: |
322 <!-- Managed by Jenkins Job Builder -->
323 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
324
325 properties:
326 - cord-infra-properties:
327 build-days-to-keep: '{build-days-to-keep}'
328 artifact-num-to-keep: '{artifact-num-to-keep}'
329 - github:
330 url: 'https://github.com/{github-organization}/{project}'
331
332 wrappers:
333 - lf-infra-wrappers:
334 build-timeout: '{build-timeout}'
335 jenkins-ssh-credential: '{jenkins-ssh-credential}'
336
337 parameters:
338 - string:
339 name: buildNode
340 default: '{build-node}'
341 description: 'Name of the Jenkins executor node to run the job on'
342
343 - string:
344 name: project
345 default: '{project}'
346 description: 'Name of the project'
347
348 triggers:
349 - cord-infra-github-pr-trigger:
350 github_pr_org_list: '{obj:github_pr_org_list}'
351 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800352 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800353
354 concurrent: false
355
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800356 project-type: pipeline
357 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800358
Zack Williams320b3142019-03-14 23:10:01 -0700359# tests
360- job-template:
361 id: 'omec-tc1'
362 name: 'omec_tc1'
363 project-type: pipeline
364
365 description: |
366 <!-- Managed by Jenkins Job Builder -->
367 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
368
369 properties:
370 - cord-infra-properties:
371 build-days-to-keep: '{build-days-to-keep}'
372 artifact-num-to-keep: '{artifact-num-to-keep}'
373
374 wrappers:
375 - lf-infra-wrappers:
376 build-timeout: '{build-timeout}'
377 jenkins-ssh-credential: '{jenkins-ssh-credential}'
378
379 parameters:
380 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700381 name: buildNode
382 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700383 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700384
Zack Williams5d81f812019-02-27 14:37:09 -0700385 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700386
387 pipeline-scm:
388 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
389 scm:
390 - git:
hwchiu14f97852019-10-08 10:51:11 -0700391 url: 'https://github.com/omec-project/omec-project-ci'
392 branches:
393 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700394
395- job-template:
396 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700397 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700398 project-type: pipeline
399
400 description: |
401 <!-- Managed by Jenkins Job Builder -->
402 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
403
404 properties:
405 - cord-infra-properties:
406 build-days-to-keep: '{build-days-to-keep}'
407 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700408
409 wrappers:
410 - lf-infra-wrappers:
411 build-timeout: '{build-timeout}'
412 jenkins-ssh-credential: '{jenkins-ssh-credential}'
413
414 parameters:
415 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700416 name: buildNode
417 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700418 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700419
Zack Williams5d81f812019-02-27 14:37:09 -0700420 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700421
422 pipeline-scm:
423 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800424 scm:
425 - git:
hwchiu14f97852019-10-08 10:51:11 -0700426 url: 'https://github.com/omec-project/omec-project-ci'
427 branches:
428 - 'master'