blob: 585b12ef8e2e00242aa54dd9054b88e479f52f6a [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
Zack Williams320b3142019-03-14 23:10:01 -0700109# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800110- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700111 id: 'omec-combined'
112 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800113 project-type: pipeline
114
115 description: |
116 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700117 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800118
119 properties:
120 - cord-infra-properties:
121 build-days-to-keep: '{build-days-to-keep}'
122 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700123 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700124 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700125 - build-blocker:
126 use-build-blocker: true
127 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700128 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800129
130 wrappers:
131 - lf-infra-wrappers:
132 build-timeout: '{build-timeout}'
133 jenkins-ssh-credential: '{jenkins-ssh-credential}'
134
135 parameters:
136 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700137 name: buildNode
138 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700139 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800140
141 - string:
hwchiu14f97852019-10-08 10:51:11 -0700142 name: project
143 default: '{project}'
144 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800145
Zack Williams73c3cf42019-02-25 23:43:22 -0700146 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700147 - cord-infra-github-pr-trigger:
148 github_pr_org_list: '{obj:github_pr_org_list}'
149 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800150 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700151
Zack Williams5d81f812019-02-27 14:37:09 -0700152 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800153
154 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700155 script-path: '{pipeline-file}'
156 scm:
157 - git:
hwchiu14f97852019-10-08 10:51:11 -0700158 url: 'https://github.com/{github-organization}/omec-project-ci'
159 branches:
160 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700161
Zack Williams73c3cf42019-02-25 23:43:22 -0700162
Zack Williams320b3142019-03-14 23:10:01 -0700163# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700164- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700165 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700166 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700167 project-type: pipeline
168
169 description: |
170 <!-- Managed by Jenkins Job Builder -->
171 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
172
173 properties:
174 - cord-infra-properties:
175 build-days-to-keep: '{build-days-to-keep}'
176 artifact-num-to-keep: '{artifact-num-to-keep}'
177 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700178 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700179
180 wrappers:
181 - lf-infra-wrappers:
182 build-timeout: '{build-timeout}'
183 jenkins-ssh-credential: '{jenkins-ssh-credential}'
184
185 parameters:
186 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700187 name: buildNode
188 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700189 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700190
191 - string:
hwchiu14f97852019-10-08 10:51:11 -0700192 name: project
193 default: '{project}'
194 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700195
Zack Williams320b3142019-03-14 23:10:01 -0700196 concurrent: false
197
198 pipeline-scm:
199 script-path: '{pipeline-file}'
200 scm:
201 - git:
hwchiu14f97852019-10-08 10:51:11 -0700202 url: 'https://github.com/{github-organization}/omec-project-ci'
203 branches:
204 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700205
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800206# FOSSA License Scan
207- job-template:
208 id: 'omec-fossa'
209 name: 'omec_{project}_fossa'
210 project-type: pipeline
211
212 description: |
213 <!-- Managed by Jenkins Job Builder -->
214 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
215
216 properties:
217 - cord-infra-properties:
218 build-days-to-keep: '{build-days-to-keep}'
219 artifact-num-to-keep: '{artifact-num-to-keep}'
220 - github:
221 url: 'https://github.com/{github-organization}/{project}'
222
223 wrappers:
224 - lf-infra-wrappers:
225 build-timeout: '{build-timeout}'
226 jenkins-ssh-credential: '{jenkins-ssh-credential}'
227
228 parameters:
229 - string:
230 name: buildNode
231 default: '{build-node}'
232 description: 'Name of the Jenkins executor node to run the job on'
233
234 - string:
235 name: project
236 default: '{project}'
237 description: 'Name of the project'
238
239 triggers:
240 - cord-infra-github-pr-trigger:
241 github_pr_org_list: '{obj:github_pr_org_list}'
242 github_pr_auth_id: '{github_pr_auth_id}'
243 status_context: 'CORD Jenkins - FOSSA Verification'
244
245 concurrent: false
246
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800247 project-type: pipeline
248 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800249
250# REUSE License Scan
251- job-template:
252 id: 'omec-reuse'
253 name: 'omec_{project}_reuse'
254 project-type: pipeline
255
256 description: |
257 <!-- Managed by Jenkins Job Builder -->
258 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
259
260 properties:
261 - cord-infra-properties:
262 build-days-to-keep: '{build-days-to-keep}'
263 artifact-num-to-keep: '{artifact-num-to-keep}'
264 - github:
265 url: 'https://github.com/{github-organization}/{project}'
266
267 wrappers:
268 - lf-infra-wrappers:
269 build-timeout: '{build-timeout}'
270 jenkins-ssh-credential: '{jenkins-ssh-credential}'
271
272 parameters:
273 - string:
274 name: buildNode
275 default: '{build-node}'
276 description: 'Name of the Jenkins executor node to run the job on'
277
278 - string:
279 name: project
280 default: '{project}'
281 description: 'Name of the project'
282
283 triggers:
284 - cord-infra-github-pr-trigger:
285 github_pr_org_list: '{obj:github_pr_org_list}'
286 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800287 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800288
289 concurrent: false
290
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800291 project-type: pipeline
292 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800293
Zack Williams320b3142019-03-14 23:10:01 -0700294# tests
295- job-template:
296 id: 'omec-tc1'
297 name: 'omec_tc1'
298 project-type: pipeline
299
300 description: |
301 <!-- Managed by Jenkins Job Builder -->
302 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
303
304 properties:
305 - cord-infra-properties:
306 build-days-to-keep: '{build-days-to-keep}'
307 artifact-num-to-keep: '{artifact-num-to-keep}'
308
309 wrappers:
310 - lf-infra-wrappers:
311 build-timeout: '{build-timeout}'
312 jenkins-ssh-credential: '{jenkins-ssh-credential}'
313
314 parameters:
315 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700316 name: buildNode
317 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700318 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700319
Zack Williams5d81f812019-02-27 14:37:09 -0700320 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700321
322 pipeline-scm:
323 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
324 scm:
325 - git:
hwchiu14f97852019-10-08 10:51:11 -0700326 url: 'https://github.com/omec-project/omec-project-ci'
327 branches:
328 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700329
330- job-template:
331 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700332 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700333 project-type: pipeline
334
335 description: |
336 <!-- Managed by Jenkins Job Builder -->
337 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
338
339 properties:
340 - cord-infra-properties:
341 build-days-to-keep: '{build-days-to-keep}'
342 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700343
344 wrappers:
345 - lf-infra-wrappers:
346 build-timeout: '{build-timeout}'
347 jenkins-ssh-credential: '{jenkins-ssh-credential}'
348
349 parameters:
350 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700351 name: buildNode
352 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700353 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700354
Zack Williams5d81f812019-02-27 14:37:09 -0700355 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700356
357 pipeline-scm:
358 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800359 scm:
360 - git:
hwchiu14f97852019-10-08 10:51:11 -0700361 url: 'https://github.com/omec-project/omec-project-ci'
362 branches:
363 - 'master'