blob: c7ef8d447456ba6a23ff1be8e44f49f64aecd85b [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':
39 pipeline-file: 'jjb/pipeline/omec-fossa-scan.groovy'
40 - 'omec-reuse':
41 pipeline-file: 'jjb/pipeline/omec-reuse-scan.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070042 - 'docker-publish-github':
43 build-timeout: 30
44 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070045
Zack Williamse306e572019-04-18 07:12:46 -070046# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070047- project:
Zack Williamse306e572019-04-18 07:12:46 -070048 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070049 project: '{name}'
50
Zack Williamsb3292082019-10-11 17:15:18 -070051 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070052
Zack Williams1e325b22019-07-24 17:52:57 -070053 github-organization: 'omec-project'
54
Zack Williams5d81f812019-02-27 14:37:09 -070055 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
56 github_pr_org_list:
57 - 'omec-project'
58
Zack Williams73c3cf42019-02-25 23:43:22 -070059 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070060 - 'omec-combined':
61 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
62 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070063 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070064 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070065 - 'omec-install':
66 sub-project: 'c3po-hss'
67 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080068 - 'omec-fossa':
69 pipeline-file: 'jjb/pipeline/omec-fossa-scan.groovy'
70 - 'omec-reuse':
71 pipeline-file: 'jjb/pipeline/omec-reuse-scan.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070072 - 'docker-publish-github':
73 build-timeout: 30
74 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070075
76# for openmme
77- project:
78 name: openmme
79 project: '{name}'
80
Zack Williamsdf7f9d32019-11-05 07:40:20 -070081 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070082
Zack Williams1e325b22019-07-24 17:52:57 -070083 github-organization: 'omec-project'
84
Zack Williams5d81f812019-02-27 14:37:09 -070085 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
86 github_pr_org_list:
87 - 'omec-project'
88
Zack Williams73c3cf42019-02-25 23:43:22 -070089 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070090 - 'omec-combined':
91 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
92 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070093 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070094 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080095 - 'omec-fossa':
96 pipeline-file: 'jjb/pipeline/omec-fossa-scan.groovy'
97 - 'omec-reuse':
98 pipeline-file: 'jjb/pipeline/omec-reuse-scan.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070099 - 'docker-publish-github':
100 build-timeout: 30
101 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -0700102
Zack Williams320b3142019-03-14 23:10:01 -0700103# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800104- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700105 id: 'omec-combined'
106 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800107 project-type: pipeline
108
109 description: |
110 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700111 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800112
113 properties:
114 - cord-infra-properties:
115 build-days-to-keep: '{build-days-to-keep}'
116 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700117 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700118 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700119 - build-blocker:
120 use-build-blocker: true
121 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700122 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800123
124 wrappers:
125 - lf-infra-wrappers:
126 build-timeout: '{build-timeout}'
127 jenkins-ssh-credential: '{jenkins-ssh-credential}'
128
129 parameters:
130 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700131 name: buildNode
132 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700133 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800134
135 - string:
hwchiu14f97852019-10-08 10:51:11 -0700136 name: project
137 default: '{project}'
138 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800139
Zack Williams73c3cf42019-02-25 23:43:22 -0700140 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700141 - cord-infra-github-pr-trigger:
142 github_pr_org_list: '{obj:github_pr_org_list}'
143 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800144 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700145
Zack Williams5d81f812019-02-27 14:37:09 -0700146 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800147
148 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700149 script-path: '{pipeline-file}'
150 scm:
151 - git:
hwchiu14f97852019-10-08 10:51:11 -0700152 url: 'https://github.com/{github-organization}/omec-project-ci'
153 branches:
154 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700155
Zack Williams73c3cf42019-02-25 23:43:22 -0700156
Zack Williams320b3142019-03-14 23:10:01 -0700157# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700158- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700159 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700160 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700161 project-type: pipeline
162
163 description: |
164 <!-- Managed by Jenkins Job Builder -->
165 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
166
167 properties:
168 - cord-infra-properties:
169 build-days-to-keep: '{build-days-to-keep}'
170 artifact-num-to-keep: '{artifact-num-to-keep}'
171 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700172 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700173
174 wrappers:
175 - lf-infra-wrappers:
176 build-timeout: '{build-timeout}'
177 jenkins-ssh-credential: '{jenkins-ssh-credential}'
178
179 parameters:
180 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700181 name: buildNode
182 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700183 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700184
185 - string:
hwchiu14f97852019-10-08 10:51:11 -0700186 name: project
187 default: '{project}'
188 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700189
Zack Williams320b3142019-03-14 23:10:01 -0700190 concurrent: false
191
192 pipeline-scm:
193 script-path: '{pipeline-file}'
194 scm:
195 - git:
hwchiu14f97852019-10-08 10:51:11 -0700196 url: 'https://github.com/{github-organization}/omec-project-ci'
197 branches:
198 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700199
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800200# FOSSA License Scan
201- job-template:
202 id: 'omec-fossa'
203 name: 'omec_{project}_fossa'
204 project-type: pipeline
205
206 description: |
207 <!-- Managed by Jenkins Job Builder -->
208 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
209
210 properties:
211 - cord-infra-properties:
212 build-days-to-keep: '{build-days-to-keep}'
213 artifact-num-to-keep: '{artifact-num-to-keep}'
214 - github:
215 url: 'https://github.com/{github-organization}/{project}'
216
217 wrappers:
218 - lf-infra-wrappers:
219 build-timeout: '{build-timeout}'
220 jenkins-ssh-credential: '{jenkins-ssh-credential}'
221
222 parameters:
223 - string:
224 name: buildNode
225 default: '{build-node}'
226 description: 'Name of the Jenkins executor node to run the job on'
227
228 - string:
229 name: project
230 default: '{project}'
231 description: 'Name of the project'
232
233 triggers:
234 - cord-infra-github-pr-trigger:
235 github_pr_org_list: '{obj:github_pr_org_list}'
236 github_pr_auth_id: '{github_pr_auth_id}'
237 status_context: 'CORD Jenkins - FOSSA Verification'
238
239 concurrent: false
240
241 pipeline-scm:
242 script-path: '{pipeline-file}'
243 scm:
244 - git:
245 url: 'https://github.com/{github-organization}/ci-management'
246 branches:
247 - 'master'
248
249# REUSE License Scan
250- job-template:
251 id: 'omec-reuse'
252 name: 'omec_{project}_reuse'
253 project-type: pipeline
254
255 description: |
256 <!-- Managed by Jenkins Job Builder -->
257 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
258
259 properties:
260 - cord-infra-properties:
261 build-days-to-keep: '{build-days-to-keep}'
262 artifact-num-to-keep: '{artifact-num-to-keep}'
263 - github:
264 url: 'https://github.com/{github-organization}/{project}'
265
266 wrappers:
267 - lf-infra-wrappers:
268 build-timeout: '{build-timeout}'
269 jenkins-ssh-credential: '{jenkins-ssh-credential}'
270
271 parameters:
272 - string:
273 name: buildNode
274 default: '{build-node}'
275 description: 'Name of the Jenkins executor node to run the job on'
276
277 - string:
278 name: project
279 default: '{project}'
280 description: 'Name of the project'
281
282 triggers:
283 - cord-infra-github-pr-trigger:
284 github_pr_org_list: '{obj:github_pr_org_list}'
285 github_pr_auth_id: '{github_pr_auth_id}'
286 status_context: 'CORD Jenkins - REUSE Verification'
287
288 concurrent: false
289
290 pipeline-scm:
291 script-path: '{pipeline-file}'
292 scm:
293 - git:
294 url: 'https://github.com/{github-organization}/ci-management'
295 branches:
296 - 'master'
297
Zack Williams320b3142019-03-14 23:10:01 -0700298# tests
299- job-template:
300 id: 'omec-tc1'
301 name: 'omec_tc1'
302 project-type: pipeline
303
304 description: |
305 <!-- Managed by Jenkins Job Builder -->
306 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
307
308 properties:
309 - cord-infra-properties:
310 build-days-to-keep: '{build-days-to-keep}'
311 artifact-num-to-keep: '{artifact-num-to-keep}'
312
313 wrappers:
314 - lf-infra-wrappers:
315 build-timeout: '{build-timeout}'
316 jenkins-ssh-credential: '{jenkins-ssh-credential}'
317
318 parameters:
319 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700320 name: buildNode
321 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700322 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700323
Zack Williams5d81f812019-02-27 14:37:09 -0700324 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700325
326 pipeline-scm:
327 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
328 scm:
329 - git:
hwchiu14f97852019-10-08 10:51:11 -0700330 url: 'https://github.com/omec-project/omec-project-ci'
331 branches:
332 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700333
334- job-template:
335 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700336 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700337 project-type: pipeline
338
339 description: |
340 <!-- Managed by Jenkins Job Builder -->
341 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
342
343 properties:
344 - cord-infra-properties:
345 build-days-to-keep: '{build-days-to-keep}'
346 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700347
348 wrappers:
349 - lf-infra-wrappers:
350 build-timeout: '{build-timeout}'
351 jenkins-ssh-credential: '{jenkins-ssh-credential}'
352
353 parameters:
354 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700355 name: buildNode
356 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700357 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700358
Zack Williams5d81f812019-02-27 14:37:09 -0700359 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700360
361 pipeline-scm:
362 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800363 scm:
364 - git:
hwchiu14f97852019-10-08 10:51:11 -0700365 url: 'https://github.com/omec-project/omec-project-ci'
366 branches:
367 - 'master'