blob: 8dd729df9057e421a6f8f2da237478a821c8111c [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
Zack Williams320b3142019-03-14 23:10:01 -0700130# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800131- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700132 id: 'omec-combined'
133 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800134 project-type: pipeline
135
136 description: |
137 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700138 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800139
140 properties:
141 - cord-infra-properties:
142 build-days-to-keep: '{build-days-to-keep}'
143 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700144 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700145 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700146 - build-blocker:
147 use-build-blocker: true
148 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700149 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800150
151 wrappers:
152 - lf-infra-wrappers:
153 build-timeout: '{build-timeout}'
154 jenkins-ssh-credential: '{jenkins-ssh-credential}'
155
156 parameters:
157 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700158 name: buildNode
159 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700160 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800161
162 - string:
hwchiu14f97852019-10-08 10:51:11 -0700163 name: project
164 default: '{project}'
165 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800166
Zack Williams73c3cf42019-02-25 23:43:22 -0700167 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700168 - cord-infra-github-pr-trigger:
169 github_pr_org_list: '{obj:github_pr_org_list}'
170 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800171 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700172
Zack Williams5d81f812019-02-27 14:37:09 -0700173 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800174
175 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700176 script-path: '{pipeline-file}'
177 scm:
178 - git:
hwchiu14f97852019-10-08 10:51:11 -0700179 url: 'https://github.com/{github-organization}/omec-project-ci'
180 branches:
181 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700182
Zack Williams73c3cf42019-02-25 23:43:22 -0700183
Zack Williams320b3142019-03-14 23:10:01 -0700184# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700185- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700186 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700187 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700188 project-type: pipeline
189
190 description: |
191 <!-- Managed by Jenkins Job Builder -->
192 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
193
194 properties:
195 - cord-infra-properties:
196 build-days-to-keep: '{build-days-to-keep}'
197 artifact-num-to-keep: '{artifact-num-to-keep}'
198 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700199 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700200
201 wrappers:
202 - lf-infra-wrappers:
203 build-timeout: '{build-timeout}'
204 jenkins-ssh-credential: '{jenkins-ssh-credential}'
205
206 parameters:
207 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700208 name: buildNode
209 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700210 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700211
212 - string:
hwchiu14f97852019-10-08 10:51:11 -0700213 name: project
214 default: '{project}'
215 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700216
Zack Williams320b3142019-03-14 23:10:01 -0700217 concurrent: false
218
219 pipeline-scm:
220 script-path: '{pipeline-file}'
221 scm:
222 - git:
hwchiu14f97852019-10-08 10:51:11 -0700223 url: 'https://github.com/{github-organization}/omec-project-ci'
224 branches:
225 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700226
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800227# FOSSA License Scan
228- job-template:
229 id: 'omec-fossa'
230 name: 'omec_{project}_fossa'
231 project-type: pipeline
232
233 description: |
234 <!-- Managed by Jenkins Job Builder -->
235 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
236
237 properties:
238 - cord-infra-properties:
239 build-days-to-keep: '{build-days-to-keep}'
240 artifact-num-to-keep: '{artifact-num-to-keep}'
241 - github:
242 url: 'https://github.com/{github-organization}/{project}'
243
244 wrappers:
245 - lf-infra-wrappers:
246 build-timeout: '{build-timeout}'
247 jenkins-ssh-credential: '{jenkins-ssh-credential}'
248
249 parameters:
250 - string:
251 name: buildNode
252 default: '{build-node}'
253 description: 'Name of the Jenkins executor node to run the job on'
254
255 - string:
256 name: project
257 default: '{project}'
258 description: 'Name of the project'
259
260 triggers:
261 - cord-infra-github-pr-trigger:
262 github_pr_org_list: '{obj:github_pr_org_list}'
263 github_pr_auth_id: '{github_pr_auth_id}'
264 status_context: 'CORD Jenkins - FOSSA Verification'
265
266 concurrent: false
267
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800268 project-type: pipeline
269 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800270
271# REUSE License Scan
272- job-template:
273 id: 'omec-reuse'
274 name: 'omec_{project}_reuse'
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}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800308 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800309
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
Zack Williams320b3142019-03-14 23:10:01 -0700315# tests
316- job-template:
317 id: 'omec-tc1'
318 name: 'omec_tc1'
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
330 wrappers:
331 - lf-infra-wrappers:
332 build-timeout: '{build-timeout}'
333 jenkins-ssh-credential: '{jenkins-ssh-credential}'
334
335 parameters:
336 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700337 name: buildNode
338 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700339 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700340
Zack Williams5d81f812019-02-27 14:37:09 -0700341 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700342
343 pipeline-scm:
344 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
345 scm:
346 - git:
hwchiu14f97852019-10-08 10:51:11 -0700347 url: 'https://github.com/omec-project/omec-project-ci'
348 branches:
349 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700350
351- job-template:
352 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700353 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700354 project-type: pipeline
355
356 description: |
357 <!-- Managed by Jenkins Job Builder -->
358 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
359
360 properties:
361 - cord-infra-properties:
362 build-days-to-keep: '{build-days-to-keep}'
363 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700364
365 wrappers:
366 - lf-infra-wrappers:
367 build-timeout: '{build-timeout}'
368 jenkins-ssh-credential: '{jenkins-ssh-credential}'
369
370 parameters:
371 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700372 name: buildNode
373 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700374 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700375
Zack Williams5d81f812019-02-27 14:37:09 -0700376 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700377
378 pipeline-scm:
379 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800380 scm:
381 - git:
hwchiu14f97852019-10-08 10:51:11 -0700382 url: 'https://github.com/omec-project/omec-project-ci'
383 branches:
384 - 'master'