blob: 1e3eaf176eda3559c9157162362750b22d0edbd3 [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
Zack Williams320b3142019-03-14 23:10:01 -0700154# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800155- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700156 id: 'omec-combined'
157 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800158 project-type: pipeline
159
160 description: |
161 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700162 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800163
164 properties:
165 - cord-infra-properties:
166 build-days-to-keep: '{build-days-to-keep}'
167 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700168 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700169 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700170 - build-blocker:
171 use-build-blocker: true
172 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700173 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800174
175 wrappers:
176 - lf-infra-wrappers:
177 build-timeout: '{build-timeout}'
178 jenkins-ssh-credential: '{jenkins-ssh-credential}'
179
180 parameters:
181 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700182 name: buildNode
183 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700184 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800185
186 - string:
hwchiu14f97852019-10-08 10:51:11 -0700187 name: project
188 default: '{project}'
189 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800190
Zack Williams73c3cf42019-02-25 23:43:22 -0700191 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700192 - cord-infra-github-pr-trigger:
193 github_pr_org_list: '{obj:github_pr_org_list}'
194 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800195 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700196
Zack Williams5d81f812019-02-27 14:37:09 -0700197 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800198
199 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700200 script-path: '{pipeline-file}'
201 scm:
202 - git:
hwchiu14f97852019-10-08 10:51:11 -0700203 url: 'https://github.com/{github-organization}/omec-project-ci'
204 branches:
205 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700206
Zack Williams73c3cf42019-02-25 23:43:22 -0700207
Zack Williams320b3142019-03-14 23:10:01 -0700208# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700209- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700210 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700211 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700212 project-type: pipeline
213
214 description: |
215 <!-- Managed by Jenkins Job Builder -->
216 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
217
218 properties:
219 - cord-infra-properties:
220 build-days-to-keep: '{build-days-to-keep}'
221 artifact-num-to-keep: '{artifact-num-to-keep}'
222 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700223 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700224
225 wrappers:
226 - lf-infra-wrappers:
227 build-timeout: '{build-timeout}'
228 jenkins-ssh-credential: '{jenkins-ssh-credential}'
229
230 parameters:
231 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700232 name: buildNode
233 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700234 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700235
236 - string:
hwchiu14f97852019-10-08 10:51:11 -0700237 name: project
238 default: '{project}'
239 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700240
Zack Williams320b3142019-03-14 23:10:01 -0700241 concurrent: false
242
243 pipeline-scm:
244 script-path: '{pipeline-file}'
245 scm:
246 - git:
hwchiu14f97852019-10-08 10:51:11 -0700247 url: 'https://github.com/{github-organization}/omec-project-ci'
248 branches:
249 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700250
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800251# FOSSA License Scan
252- job-template:
253 id: 'omec-fossa'
254 name: 'omec_{project}_fossa'
255 project-type: pipeline
256
257 description: |
258 <!-- Managed by Jenkins Job Builder -->
259 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
260
261 properties:
262 - cord-infra-properties:
263 build-days-to-keep: '{build-days-to-keep}'
264 artifact-num-to-keep: '{artifact-num-to-keep}'
265 - github:
266 url: 'https://github.com/{github-organization}/{project}'
267
268 wrappers:
269 - lf-infra-wrappers:
270 build-timeout: '{build-timeout}'
271 jenkins-ssh-credential: '{jenkins-ssh-credential}'
272
273 parameters:
274 - string:
275 name: buildNode
276 default: '{build-node}'
277 description: 'Name of the Jenkins executor node to run the job on'
278
279 - string:
280 name: project
281 default: '{project}'
282 description: 'Name of the project'
283
284 triggers:
285 - cord-infra-github-pr-trigger:
286 github_pr_org_list: '{obj:github_pr_org_list}'
287 github_pr_auth_id: '{github_pr_auth_id}'
288 status_context: 'CORD Jenkins - FOSSA Verification'
289
290 concurrent: false
291
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800292 project-type: pipeline
293 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800294
295# REUSE License Scan
296- job-template:
297 id: 'omec-reuse'
298 name: 'omec_{project}_reuse'
299 project-type: pipeline
300
301 description: |
302 <!-- Managed by Jenkins Job Builder -->
303 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
304
305 properties:
306 - cord-infra-properties:
307 build-days-to-keep: '{build-days-to-keep}'
308 artifact-num-to-keep: '{artifact-num-to-keep}'
309 - github:
310 url: 'https://github.com/{github-organization}/{project}'
311
312 wrappers:
313 - lf-infra-wrappers:
314 build-timeout: '{build-timeout}'
315 jenkins-ssh-credential: '{jenkins-ssh-credential}'
316
317 parameters:
318 - string:
319 name: buildNode
320 default: '{build-node}'
321 description: 'Name of the Jenkins executor node to run the job on'
322
323 - string:
324 name: project
325 default: '{project}'
326 description: 'Name of the project'
327
328 triggers:
329 - cord-infra-github-pr-trigger:
330 github_pr_org_list: '{obj:github_pr_org_list}'
331 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800332 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800333
334 concurrent: false
335
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800336 project-type: pipeline
337 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800338
Zack Williams320b3142019-03-14 23:10:01 -0700339# tests
340- job-template:
341 id: 'omec-tc1'
342 name: 'omec_tc1'
343 project-type: pipeline
344
345 description: |
346 <!-- Managed by Jenkins Job Builder -->
347 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
348
349 properties:
350 - cord-infra-properties:
351 build-days-to-keep: '{build-days-to-keep}'
352 artifact-num-to-keep: '{artifact-num-to-keep}'
353
354 wrappers:
355 - lf-infra-wrappers:
356 build-timeout: '{build-timeout}'
357 jenkins-ssh-credential: '{jenkins-ssh-credential}'
358
359 parameters:
360 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700361 name: buildNode
362 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700363 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700364
Zack Williams5d81f812019-02-27 14:37:09 -0700365 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700366
367 pipeline-scm:
368 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
369 scm:
370 - git:
hwchiu14f97852019-10-08 10:51:11 -0700371 url: 'https://github.com/omec-project/omec-project-ci'
372 branches:
373 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700374
375- job-template:
376 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700377 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700378 project-type: pipeline
379
380 description: |
381 <!-- Managed by Jenkins Job Builder -->
382 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
383
384 properties:
385 - cord-infra-properties:
386 build-days-to-keep: '{build-days-to-keep}'
387 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700388
389 wrappers:
390 - lf-infra-wrappers:
391 build-timeout: '{build-timeout}'
392 jenkins-ssh-credential: '{jenkins-ssh-credential}'
393
394 parameters:
395 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700396 name: buildNode
397 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700398 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700399
Zack Williams5d81f812019-02-27 14:37:09 -0700400 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700401
402 pipeline-scm:
403 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800404 scm:
405 - git:
hwchiu14f97852019-10-08 10:51:11 -0700406 url: 'https://github.com/omec-project/omec-project-ci'
407 branches:
408 - 'master'