blob: 44455434eafb665ee49eacec0ef3712e96769b31 [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'
Jeremy Ronquillo6d1e08a2020-04-03 11:31:32 -070018 - 'omec-deploy-staging'
You Wang5c15a7a2020-04-02 11:24:33 -070019 - 'omec-postmerge':
20 project: '{name}'
21 build-node: 'omec-qa'
22 c3po-branch-name: 'multiUpfs'
You Wangb242ae42020-04-15 12:32:32 -070023 ngic-branch-name: 'central-cp-multi-upfs'
You Wang5c15a7a2020-04-02 11:24:33 -070024 openmme-branch-name: 'paging'
25 pipeline-file: 'omec-postmerge.groovy'
Zack Williams320b3142019-03-14 23:10:01 -070026
Zack Williams73c3cf42019-02-25 23:43:22 -070027# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080028- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070029 name: ngic-rtc
30 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080031
Zack Williamsb3292082019-10-11 17:15:18 -070032 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070033
Zack Williams1e325b22019-07-24 17:52:57 -070034 github-organization: 'omec-project'
35
Zack Williams5d81f812019-02-27 14:37:09 -070036 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
37 github_pr_org_list:
38 - 'omec-project'
39
Kailashbe4dc092019-01-23 09:22:17 -080040 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070041 - 'omec-combined':
42 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -070043 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -070044 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070045 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070046 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070047 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080048 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080049 pipeline-file: 'omec-fossa-scan.groovy'
50 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080051 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080052 pipeline-file: 'omec-reuse-scan.groovy'
53 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070054 - 'docker-publish-github':
55 build-timeout: 30
56 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070057 build-node: 'ubuntu16.04-basebuild-4c-8g'
Jeremy Ronquillo659f6682020-04-16 13:18:24 -070058 - 'omec-comac-in-a-box':
59 build-node: 'comac_in_a_box'
Zack Williams73c3cf42019-02-25 23:43:22 -070060
Zack Williamse306e572019-04-18 07:12:46 -070061# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070062- project:
Zack Williamse306e572019-04-18 07:12:46 -070063 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070064 project: '{name}'
65
Zack Williamsb3292082019-10-11 17:15:18 -070066 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070067
Zack Williams1e325b22019-07-24 17:52:57 -070068 github-organization: 'omec-project'
69
Zack Williams5d81f812019-02-27 14:37:09 -070070 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
71 github_pr_org_list:
72 - 'omec-project'
73
Zack Williams73c3cf42019-02-25 23:43:22 -070074 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070075 - 'omec-combined':
76 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -070077 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -070078 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070079 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -070080 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -070081 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070082 - 'omec-install':
83 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -070084 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -070085 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080086 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080087 pipeline-file: 'omec-fossa-scan.groovy'
88 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080089 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080090 pipeline-file: 'omec-reuse-scan.groovy'
91 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070092 - 'docker-publish-github':
93 build-timeout: 30
94 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -070095 build-node: 'ubuntu16.04-basebuild-8c-15g'
Jeremy Ronquillo659f6682020-04-16 13:18:24 -070096 - 'omec-comac-in-a-box':
97 build-node: 'comac_in_a_box'
Zack Williams73c3cf42019-02-25 23:43:22 -070098
99# for openmme
100- project:
101 name: openmme
102 project: '{name}'
103
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700104 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -0700105
Zack Williams1e325b22019-07-24 17:52:57 -0700106 github-organization: 'omec-project'
107
Zack Williams5d81f812019-02-27 14:37:09 -0700108 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
109 github_pr_org_list:
110 - 'omec-project'
111
Zack Williams73c3cf42019-02-25 23:43:22 -0700112 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700113 - 'omec-combined':
114 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700115 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700116 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700117 sub-project: '{name}'
You Wang8addd4c2020-04-14 16:25:57 -0700118 branch: 'paging'
Zack Williams73c3cf42019-02-25 23:43:22 -0700119 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800120 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800121 pipeline-file: 'omec-fossa-scan.groovy'
122 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800123 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800124 pipeline-file: 'omec-reuse-scan.groovy'
125 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700126 - 'docker-publish-github':
127 build-timeout: 30
128 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700129 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo659f6682020-04-16 13:18:24 -0700130 - 'omec-comac-in-a-box':
131 build-node: 'comac_in_a_box'
Zack Williams73c3cf42019-02-25 23:43:22 -0700132
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800133# for nucleus
134- project:
135 name: Nucleus
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:
You Wang83055442020-04-17 14:54:40 -0700147 - 'omec-combined':
148 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
149 mme-repo: 'Nucleus'
150 - 'omec-install':
151 sub-project: '{name}'
152 branch: 'master'
153 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800154 - 'omec-fossa':
155 pipeline-file: 'omec-fossa-scan.groovy'
156 build-node: 'omec-qa'
157 - 'omec-reuse':
158 pipeline-file: 'omec-reuse-scan.groovy'
159 build-node: 'omec-qa'
Jeremy Ronquillo659f6682020-04-16 13:18:24 -0700160 - 'omec-comac-in-a-box':
161 build-node: 'comac_in_a_box'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800162
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800163# for freediameter
164- project:
165 name: freediameter
166 project: '{name}'
167
168 build-node: 'intel-102'
169
170 github-organization: 'omec-project'
171
172 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
173 github_pr_org_list:
174 - 'omec-project'
175
176 jobs:
177 - 'omec-fossa':
178 pipeline-file: 'omec-fossa-scan.groovy'
179 build-node: 'omec-qa'
180 - 'omec-reuse':
181 pipeline-file: 'omec-reuse-scan.groovy'
182 build-node: 'omec-qa'
183
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700184# for ignite
185- project:
186 name: ignite
187 project: '{name}'
188
189 build-node: 'intel-102'
190
191 github-organization: 'omec-project'
192
193 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
194 github_pr_org_list:
195 - 'omec-project'
196
197 jobs:
198 - 'omec-fossa':
199 pipeline-file: 'omec-fossa-scan.groovy'
200 build-node: 'omec-qa'
201 - 'omec-reuse':
202 pipeline-file: 'omec-reuse-scan.groovy'
203 build-node: 'omec-qa'
204
You Wangccc13492020-04-01 11:11:59 -0700205# for upf-epc
206- project:
207 name: upf-epc
208 project: '{name}'
209
210 github-organization: 'omec-project'
211
212 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
213 github_pr_org_list:
214 - 'omec-project'
215
216 jobs:
217 - 'omec-fossa':
218 pipeline-file: 'omec-fossa-scan.groovy'
219 build-node: 'omec-qa'
220 - 'omec-reuse':
221 pipeline-file: 'omec-reuse-scan.groovy'
222 build-node: 'omec-qa'
223 - 'docker-publish-github':
224 build-timeout: 30
225 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700226 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangccc13492020-04-01 11:11:59 -0700227
Zack Williams320b3142019-03-14 23:10:01 -0700228# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800229- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700230 id: 'omec-combined'
231 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800232 project-type: pipeline
233
234 description: |
235 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700236 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800237
238 properties:
239 - cord-infra-properties:
240 build-days-to-keep: '{build-days-to-keep}'
241 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700242 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700243 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700244 - build-blocker:
245 use-build-blocker: true
246 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700247 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800248
249 wrappers:
250 - lf-infra-wrappers:
251 build-timeout: '{build-timeout}'
252 jenkins-ssh-credential: '{jenkins-ssh-credential}'
253
254 parameters:
255 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700256 name: buildNode
257 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700258 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800259
260 - string:
hwchiu14f97852019-10-08 10:51:11 -0700261 name: project
262 default: '{project}'
263 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800264
You Wang83055442020-04-17 14:54:40 -0700265 - string:
266 name: mmeRepo
267 default: '{mme-repo}'
268 description: 'Name of the MME repo to test (openmme/Nucleus)'
269
Zack Williams73c3cf42019-02-25 23:43:22 -0700270 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700271 - cord-infra-github-pr-trigger:
272 github_pr_org_list: '{obj:github_pr_org_list}'
273 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800274 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700275
Zack Williams5d81f812019-02-27 14:37:09 -0700276 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800277
278 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700279 script-path: '{pipeline-file}'
280 scm:
281 - git:
hwchiu14f97852019-10-08 10:51:11 -0700282 url: 'https://github.com/{github-organization}/omec-project-ci'
283 branches:
284 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700285
Zack Williams320b3142019-03-14 23:10:01 -0700286# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700287- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700288 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700289 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700290 project-type: pipeline
291
292 description: |
293 <!-- Managed by Jenkins Job Builder -->
294 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
295
296 properties:
297 - cord-infra-properties:
298 build-days-to-keep: '{build-days-to-keep}'
299 artifact-num-to-keep: '{artifact-num-to-keep}'
300 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700301 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700302
303 wrappers:
304 - lf-infra-wrappers:
305 build-timeout: '{build-timeout}'
306 jenkins-ssh-credential: '{jenkins-ssh-credential}'
307
308 parameters:
309 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700310 name: buildNode
311 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700312 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700313
314 - string:
hwchiu14f97852019-10-08 10:51:11 -0700315 name: project
316 default: '{project}'
317 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700318
You Wang8addd4c2020-04-14 16:25:57 -0700319 - string:
320 name: branch
321 default: '{branch}'
322 description: 'Branch of the project'
323
Zack Williams320b3142019-03-14 23:10:01 -0700324 concurrent: false
325
326 pipeline-scm:
327 script-path: '{pipeline-file}'
328 scm:
329 - git:
hwchiu14f97852019-10-08 10:51:11 -0700330 url: 'https://github.com/{github-organization}/omec-project-ci'
331 branches:
332 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700333
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800334# FOSSA License Scan
335- job-template:
336 id: 'omec-fossa'
337 name: 'omec_{project}_fossa'
338 project-type: pipeline
339
340 description: |
341 <!-- Managed by Jenkins Job Builder -->
342 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
343
344 properties:
345 - cord-infra-properties:
346 build-days-to-keep: '{build-days-to-keep}'
347 artifact-num-to-keep: '{artifact-num-to-keep}'
348 - github:
349 url: 'https://github.com/{github-organization}/{project}'
350
351 wrappers:
352 - lf-infra-wrappers:
353 build-timeout: '{build-timeout}'
354 jenkins-ssh-credential: '{jenkins-ssh-credential}'
355
356 parameters:
357 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700358 name: ghprbPullId
359 default: '$ghprbPullId'
360 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
361
362 - string:
363 name: branch
364 default: '$ghprbTargetBranch'
365 description: 'Branch to run. Only used when manually run.'
366
367 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800368 name: buildNode
369 default: '{build-node}'
370 description: 'Name of the Jenkins executor node to run the job on'
371
372 - string:
373 name: project
374 default: '{project}'
375 description: 'Name of the project'
376
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700377 - string:
378 name: ghprbGhRepository
379 default: '{github-organization}/{project}'
380 description: 'Repository of the project.'
381
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800382 triggers:
383 - cord-infra-github-pr-trigger:
384 github_pr_org_list: '{obj:github_pr_org_list}'
385 github_pr_auth_id: '{github_pr_auth_id}'
386 status_context: 'CORD Jenkins - FOSSA Verification'
387
388 concurrent: false
389
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800390 project-type: pipeline
391 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800392
393# REUSE License Scan
394- job-template:
395 id: 'omec-reuse'
396 name: 'omec_{project}_reuse'
397 project-type: pipeline
398
399 description: |
400 <!-- Managed by Jenkins Job Builder -->
401 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
402
403 properties:
404 - cord-infra-properties:
405 build-days-to-keep: '{build-days-to-keep}'
406 artifact-num-to-keep: '{artifact-num-to-keep}'
407 - github:
408 url: 'https://github.com/{github-organization}/{project}'
409
410 wrappers:
411 - lf-infra-wrappers:
412 build-timeout: '{build-timeout}'
413 jenkins-ssh-credential: '{jenkins-ssh-credential}'
414
415 parameters:
416 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700417 name: ghprbPullId
418 default: '$ghprbPullId'
419 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
420
421 - string:
422 name: branch
423 default: '$ghprbTargetBranch'
424 description: 'Branch to run. Only used when manually run.'
425
426 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800427 name: buildNode
428 default: '{build-node}'
429 description: 'Name of the Jenkins executor node to run the job on'
430
431 - string:
432 name: project
433 default: '{project}'
434 description: 'Name of the project'
435
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700436 - string:
437 name: ghprbGhRepository
438 default: '{github-organization}/{project}'
439 description: 'Repository of the project.'
440
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800441 triggers:
442 - cord-infra-github-pr-trigger:
443 github_pr_org_list: '{obj:github_pr_org_list}'
444 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800445 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800446
447 concurrent: false
448
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800449 project-type: pipeline
450 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800451
Zack Williams320b3142019-03-14 23:10:01 -0700452# tests
453- job-template:
454 id: 'omec-tc1'
455 name: 'omec_tc1'
456 project-type: pipeline
457
458 description: |
459 <!-- Managed by Jenkins Job Builder -->
460 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
461
462 properties:
463 - cord-infra-properties:
464 build-days-to-keep: '{build-days-to-keep}'
465 artifact-num-to-keep: '{artifact-num-to-keep}'
466
467 wrappers:
468 - lf-infra-wrappers:
469 build-timeout: '{build-timeout}'
470 jenkins-ssh-credential: '{jenkins-ssh-credential}'
471
472 parameters:
473 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700474 name: buildNode
475 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700476 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700477
You Wang83055442020-04-17 14:54:40 -0700478 - string:
479 name: mmeRepo
480 default: 'openmme'
481 description: 'Name of the MME repo to test (openmme/Nucleus)'
482
Zack Williams5d81f812019-02-27 14:37:09 -0700483 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700484
485 pipeline-scm:
486 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
487 scm:
488 - git:
hwchiu14f97852019-10-08 10:51:11 -0700489 url: 'https://github.com/omec-project/omec-project-ci'
490 branches:
491 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700492
493- job-template:
494 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700495 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700496 project-type: pipeline
497
498 description: |
499 <!-- Managed by Jenkins Job Builder -->
500 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
501
502 properties:
503 - cord-infra-properties:
504 build-days-to-keep: '{build-days-to-keep}'
505 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700506
507 wrappers:
508 - lf-infra-wrappers:
509 build-timeout: '{build-timeout}'
510 jenkins-ssh-credential: '{jenkins-ssh-credential}'
511
512 parameters:
513 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700514 name: buildNode
515 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700516 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700517
You Wang83055442020-04-17 14:54:40 -0700518 - string:
519 name: mmeRepo
520 default: 'openmme'
521 description: 'Name of the MME repo to test (openmme/Nucleus)'
522
Zack Williams5d81f812019-02-27 14:37:09 -0700523 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700524
525 pipeline-scm:
526 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800527 scm:
528 - git:
hwchiu14f97852019-10-08 10:51:11 -0700529 url: 'https://github.com/omec-project/omec-project-ci'
530 branches:
531 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700532
533# Deploy staging
534- job-template:
535 id: 'omec-deploy-staging'
536 name: 'omec-deploy-staging'
537 project-type: pipeline
538
539 description: |
540 Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br />
541 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700542 Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br />
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700543 Copyright (c) 2020 Open Networking Foundation (ONF)
544
545 properties:
546 - cord-infra-properties:
547 build-days-to-keep: '{build-days-to-keep}'
548 artifact-num-to-keep: '{artifact-num-to-keep}'
549
550 wrappers:
551 - lf-infra-wrappers:
552 build-timeout: '{build-timeout}'
553 jenkins-ssh-credential: '{jenkins-ssh-credential}'
554
555 parameters:
556 - string:
557 name: buildNode
558 default: 'omec-staging'
559 description: 'Name of the Jenkins executor node to run the job on.'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700560 - bool:
561 name: useProductionCluster
562 default: false
563 description: 'Check this option to use the production cluster instead of the staging cluster. <b>Use with caution.</b>'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700564 - string:
565 name: registry
566 default: 'omecproject'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700567 description: 'Registry for all images that will be changed.'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700568 - string:
569 name: hssdb_tag
570 default: ''
571 description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.'
572 - string:
573 name: hss_tag
574 default: ''
575 description: 'Tag for hss. Leave hss tag blank to omit changing.'
576 - string:
577 name: mme_tag
578 default: ''
579 description: 'Tag for mme. Leave mme tag blank to omit changing.'
580 - string:
581 name: mmeExporter_tag
582 default: ''
583 description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.'
584 - string:
585 name: spgwc_tag
586 default: ''
587 description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.'
588 - string:
589 name: spgwu_tag
590 default: ''
591 description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.'
592
593 concurrent: false
594
595 dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy
You Wang5c15a7a2020-04-02 11:24:33 -0700596
597# Post-merge job
598# Triggered by Github pull request merge
599- job-template:
600 id: omec-postmerge
601 name: '{project}_postmerge'
602 description: |
603 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
604
605 properties:
606 - cord-infra-properties:
607 build-days-to-keep: '{build-days-to-keep}'
608 artifact-num-to-keep: '{artifact-num-to-keep}'
609
610 triggers:
611 - cord-infra-github-pr-trigger-merge:
612 project: '{project}'
613
614 wrappers:
615 - lf-infra-wrappers:
616 build-timeout: '{build-timeout}'
617 jenkins-ssh-credential: '{jenkins-ssh-credential}'
618
619 parameters:
620 - string:
621 name: buildNode
622 default: '{build-node}'
623 description: 'Name of the Jenkins node to run the job on'
624
625 - string:
626 name: repoName
627 default: ''
628 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
629
630 - string:
631 name: repoUrl
632 default: ''
633 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
634
635 - string:
636 name: branchName
637 default: ''
638 description: 'Branch of the project. Populated by Generic Webhook Trigger'
639
640 - string:
641 name: commitHash
642 default: ''
643 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
644
645 - string:
646 name: c3poBranchName
647 default: '{c3po-branch-name}'
648 description: 'Branch name of c3po repo which we run tests against'
649
650 - string:
651 name: ngicBranchName
652 default: '{ngic-branch-name}'
653 description: 'Branch name of ngic-rtc repo which we run tests against'
654
655 - string:
656 name: openmmeBranchName
657 default: '{openmme-branch-name}'
658 description: 'Branch name of openmme repo which we run tests against'
659
660 - string:
661 name: maintainers
662 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
663 description: "The person that sould be notified if this job fails"
664
665 project-type: pipeline
666 concurrent: true
667
668 dsl: !include-raw-escape: pipeline/{pipeline-file}