blob: f2922c93a22a78cb17bbe73339f8bc8669b15ab4 [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
Zack Williams320b3142019-03-14 23:10:01 -0700151# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800152- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700153 id: 'omec-combined'
154 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800155 project-type: pipeline
156
157 description: |
158 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700159 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800160
161 properties:
162 - cord-infra-properties:
163 build-days-to-keep: '{build-days-to-keep}'
164 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700165 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700166 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700167 - build-blocker:
168 use-build-blocker: true
169 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700170 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800171
172 wrappers:
173 - lf-infra-wrappers:
174 build-timeout: '{build-timeout}'
175 jenkins-ssh-credential: '{jenkins-ssh-credential}'
176
177 parameters:
178 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700179 name: buildNode
180 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700181 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800182
183 - string:
hwchiu14f97852019-10-08 10:51:11 -0700184 name: project
185 default: '{project}'
186 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800187
Zack Williams73c3cf42019-02-25 23:43:22 -0700188 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700189 - cord-infra-github-pr-trigger:
190 github_pr_org_list: '{obj:github_pr_org_list}'
191 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800192 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700193
Zack Williams5d81f812019-02-27 14:37:09 -0700194 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800195
196 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700197 script-path: '{pipeline-file}'
198 scm:
199 - git:
hwchiu14f97852019-10-08 10:51:11 -0700200 url: 'https://github.com/{github-organization}/omec-project-ci'
201 branches:
202 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700203
Zack Williams73c3cf42019-02-25 23:43:22 -0700204
Zack Williams320b3142019-03-14 23:10:01 -0700205# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700206- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700207 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700208 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700209 project-type: pipeline
210
211 description: |
212 <!-- Managed by Jenkins Job Builder -->
213 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
214
215 properties:
216 - cord-infra-properties:
217 build-days-to-keep: '{build-days-to-keep}'
218 artifact-num-to-keep: '{artifact-num-to-keep}'
219 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700220 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700221
222 wrappers:
223 - lf-infra-wrappers:
224 build-timeout: '{build-timeout}'
225 jenkins-ssh-credential: '{jenkins-ssh-credential}'
226
227 parameters:
228 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700229 name: buildNode
230 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700231 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700232
233 - string:
hwchiu14f97852019-10-08 10:51:11 -0700234 name: project
235 default: '{project}'
236 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700237
Zack Williams320b3142019-03-14 23:10:01 -0700238 concurrent: false
239
240 pipeline-scm:
241 script-path: '{pipeline-file}'
242 scm:
243 - git:
hwchiu14f97852019-10-08 10:51:11 -0700244 url: 'https://github.com/{github-organization}/omec-project-ci'
245 branches:
246 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700247
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800248# FOSSA License Scan
249- job-template:
250 id: 'omec-fossa'
251 name: 'omec_{project}_fossa'
252 project-type: pipeline
253
254 description: |
255 <!-- Managed by Jenkins Job Builder -->
256 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
257
258 properties:
259 - cord-infra-properties:
260 build-days-to-keep: '{build-days-to-keep}'
261 artifact-num-to-keep: '{artifact-num-to-keep}'
262 - github:
263 url: 'https://github.com/{github-organization}/{project}'
264
265 wrappers:
266 - lf-infra-wrappers:
267 build-timeout: '{build-timeout}'
268 jenkins-ssh-credential: '{jenkins-ssh-credential}'
269
270 parameters:
271 - string:
272 name: buildNode
273 default: '{build-node}'
274 description: 'Name of the Jenkins executor node to run the job on'
275
276 - string:
277 name: project
278 default: '{project}'
279 description: 'Name of the project'
280
281 triggers:
282 - cord-infra-github-pr-trigger:
283 github_pr_org_list: '{obj:github_pr_org_list}'
284 github_pr_auth_id: '{github_pr_auth_id}'
285 status_context: 'CORD Jenkins - FOSSA Verification'
286
287 concurrent: false
288
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800289 project-type: pipeline
290 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800291
292# REUSE License Scan
293- job-template:
294 id: 'omec-reuse'
295 name: 'omec_{project}_reuse'
296 project-type: pipeline
297
298 description: |
299 <!-- Managed by Jenkins Job Builder -->
300 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
301
302 properties:
303 - cord-infra-properties:
304 build-days-to-keep: '{build-days-to-keep}'
305 artifact-num-to-keep: '{artifact-num-to-keep}'
306 - github:
307 url: 'https://github.com/{github-organization}/{project}'
308
309 wrappers:
310 - lf-infra-wrappers:
311 build-timeout: '{build-timeout}'
312 jenkins-ssh-credential: '{jenkins-ssh-credential}'
313
314 parameters:
315 - string:
316 name: buildNode
317 default: '{build-node}'
318 description: 'Name of the Jenkins executor node to run the job on'
319
320 - string:
321 name: project
322 default: '{project}'
323 description: 'Name of the project'
324
325 triggers:
326 - cord-infra-github-pr-trigger:
327 github_pr_org_list: '{obj:github_pr_org_list}'
328 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800329 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800330
331 concurrent: false
332
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800333 project-type: pipeline
334 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800335
Zack Williams320b3142019-03-14 23:10:01 -0700336# tests
337- job-template:
338 id: 'omec-tc1'
339 name: 'omec_tc1'
340 project-type: pipeline
341
342 description: |
343 <!-- Managed by Jenkins Job Builder -->
344 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
345
346 properties:
347 - cord-infra-properties:
348 build-days-to-keep: '{build-days-to-keep}'
349 artifact-num-to-keep: '{artifact-num-to-keep}'
350
351 wrappers:
352 - lf-infra-wrappers:
353 build-timeout: '{build-timeout}'
354 jenkins-ssh-credential: '{jenkins-ssh-credential}'
355
356 parameters:
357 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700358 name: buildNode
359 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700360 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700361
Zack Williams5d81f812019-02-27 14:37:09 -0700362 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700363
364 pipeline-scm:
365 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
366 scm:
367 - git:
hwchiu14f97852019-10-08 10:51:11 -0700368 url: 'https://github.com/omec-project/omec-project-ci'
369 branches:
370 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700371
372- job-template:
373 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700374 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700375 project-type: pipeline
376
377 description: |
378 <!-- Managed by Jenkins Job Builder -->
379 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
380
381 properties:
382 - cord-infra-properties:
383 build-days-to-keep: '{build-days-to-keep}'
384 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700385
386 wrappers:
387 - lf-infra-wrappers:
388 build-timeout: '{build-timeout}'
389 jenkins-ssh-credential: '{jenkins-ssh-credential}'
390
391 parameters:
392 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700393 name: buildNode
394 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700395 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700396
Zack Williams5d81f812019-02-27 14:37:09 -0700397 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700398
399 pipeline-scm:
400 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800401 scm:
402 - git:
hwchiu14f97852019-10-08 10:51:11 -0700403 url: 'https://github.com/omec-project/omec-project-ci'
404 branches:
405 - 'master'