blob: 002b00acb70ba5c2edb5098f8dfb5173b120fe45 [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 Wanga1dcf252020-05-19 17:22:42 -070024 openmme-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070025 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 Wanga1dcf252020-05-19 17:22:42 -0700118 branch: 'master'
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 Wangfe70d412020-05-27 14:28:36 -0700227 extraEnvironmentVars: CPU=haswell
You Wangccc13492020-04-01 11:11:59 -0700228
Zack Williams320b3142019-03-14 23:10:01 -0700229# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800230- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700231 id: 'omec-combined'
232 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800233 project-type: pipeline
234
235 description: |
236 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700237 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800238
239 properties:
240 - cord-infra-properties:
241 build-days-to-keep: '{build-days-to-keep}'
242 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700243 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700244 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700245 - build-blocker:
246 use-build-blocker: true
247 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700248 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800249
250 wrappers:
251 - lf-infra-wrappers:
252 build-timeout: '{build-timeout}'
253 jenkins-ssh-credential: '{jenkins-ssh-credential}'
254
255 parameters:
256 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700257 name: buildNode
258 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700259 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800260
261 - string:
hwchiu14f97852019-10-08 10:51:11 -0700262 name: project
263 default: '{project}'
264 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800265
You Wang83055442020-04-17 14:54:40 -0700266 - string:
267 name: mmeRepo
268 default: '{mme-repo}'
269 description: 'Name of the MME repo to test (openmme/Nucleus)'
270
Zack Williams73c3cf42019-02-25 23:43:22 -0700271 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700272 - cord-infra-github-pr-trigger:
273 github_pr_org_list: '{obj:github_pr_org_list}'
274 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800275 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700276
Zack Williams5d81f812019-02-27 14:37:09 -0700277 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800278
279 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700280 script-path: '{pipeline-file}'
281 scm:
282 - git:
hwchiu14f97852019-10-08 10:51:11 -0700283 url: 'https://github.com/{github-organization}/omec-project-ci'
284 branches:
285 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700286
Zack Williams320b3142019-03-14 23:10:01 -0700287# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700288- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700289 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700290 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700291 project-type: pipeline
292
293 description: |
294 <!-- Managed by Jenkins Job Builder -->
295 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
296
297 properties:
298 - cord-infra-properties:
299 build-days-to-keep: '{build-days-to-keep}'
300 artifact-num-to-keep: '{artifact-num-to-keep}'
301 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700302 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700303
304 wrappers:
305 - lf-infra-wrappers:
306 build-timeout: '{build-timeout}'
307 jenkins-ssh-credential: '{jenkins-ssh-credential}'
308
309 parameters:
310 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700311 name: buildNode
312 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700313 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700314
315 - string:
hwchiu14f97852019-10-08 10:51:11 -0700316 name: project
317 default: '{project}'
318 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700319
You Wang8addd4c2020-04-14 16:25:57 -0700320 - string:
321 name: branch
322 default: '{branch}'
323 description: 'Branch of the project'
324
Zack Williams320b3142019-03-14 23:10:01 -0700325 concurrent: false
326
327 pipeline-scm:
328 script-path: '{pipeline-file}'
329 scm:
330 - git:
hwchiu14f97852019-10-08 10:51:11 -0700331 url: 'https://github.com/{github-organization}/omec-project-ci'
332 branches:
333 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700334
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800335# FOSSA License Scan
336- job-template:
337 id: 'omec-fossa'
338 name: 'omec_{project}_fossa'
339 project-type: pipeline
340
341 description: |
342 <!-- Managed by Jenkins Job Builder -->
343 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
344
345 properties:
346 - cord-infra-properties:
347 build-days-to-keep: '{build-days-to-keep}'
348 artifact-num-to-keep: '{artifact-num-to-keep}'
349 - github:
350 url: 'https://github.com/{github-organization}/{project}'
351
352 wrappers:
353 - lf-infra-wrappers:
354 build-timeout: '{build-timeout}'
355 jenkins-ssh-credential: '{jenkins-ssh-credential}'
356
357 parameters:
358 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700359 name: ghprbPullId
360 default: '$ghprbPullId'
361 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
362
363 - string:
364 name: branch
365 default: '$ghprbTargetBranch'
366 description: 'Branch to run. Only used when manually run.'
367
368 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800369 name: buildNode
370 default: '{build-node}'
371 description: 'Name of the Jenkins executor node to run the job on'
372
373 - string:
374 name: project
375 default: '{project}'
376 description: 'Name of the project'
377
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700378 - string:
379 name: ghprbGhRepository
380 default: '{github-organization}/{project}'
381 description: 'Repository of the project.'
382
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800383 triggers:
384 - cord-infra-github-pr-trigger:
385 github_pr_org_list: '{obj:github_pr_org_list}'
386 github_pr_auth_id: '{github_pr_auth_id}'
387 status_context: 'CORD Jenkins - FOSSA Verification'
388
389 concurrent: false
390
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800391 project-type: pipeline
392 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800393
394# REUSE License Scan
395- job-template:
396 id: 'omec-reuse'
397 name: 'omec_{project}_reuse'
398 project-type: pipeline
399
400 description: |
401 <!-- Managed by Jenkins Job Builder -->
402 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
403
404 properties:
405 - cord-infra-properties:
406 build-days-to-keep: '{build-days-to-keep}'
407 artifact-num-to-keep: '{artifact-num-to-keep}'
408 - github:
409 url: 'https://github.com/{github-organization}/{project}'
410
411 wrappers:
412 - lf-infra-wrappers:
413 build-timeout: '{build-timeout}'
414 jenkins-ssh-credential: '{jenkins-ssh-credential}'
415
416 parameters:
417 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700418 name: ghprbPullId
419 default: '$ghprbPullId'
420 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
421
422 - string:
423 name: branch
424 default: '$ghprbTargetBranch'
425 description: 'Branch to run. Only used when manually run.'
426
427 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800428 name: buildNode
429 default: '{build-node}'
430 description: 'Name of the Jenkins executor node to run the job on'
431
432 - string:
433 name: project
434 default: '{project}'
435 description: 'Name of the project'
436
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700437 - string:
438 name: ghprbGhRepository
439 default: '{github-organization}/{project}'
440 description: 'Repository of the project.'
441
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800442 triggers:
443 - cord-infra-github-pr-trigger:
444 github_pr_org_list: '{obj:github_pr_org_list}'
445 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800446 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800447
448 concurrent: false
449
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800450 project-type: pipeline
451 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800452
Zack Williams320b3142019-03-14 23:10:01 -0700453# tests
454- job-template:
455 id: 'omec-tc1'
456 name: 'omec_tc1'
457 project-type: pipeline
458
459 description: |
460 <!-- Managed by Jenkins Job Builder -->
461 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
462
463 properties:
464 - cord-infra-properties:
465 build-days-to-keep: '{build-days-to-keep}'
466 artifact-num-to-keep: '{artifact-num-to-keep}'
467
468 wrappers:
469 - lf-infra-wrappers:
470 build-timeout: '{build-timeout}'
471 jenkins-ssh-credential: '{jenkins-ssh-credential}'
472
473 parameters:
474 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700475 name: buildNode
476 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700477 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700478
You Wang83055442020-04-17 14:54:40 -0700479 - string:
480 name: mmeRepo
481 default: 'openmme'
482 description: 'Name of the MME repo to test (openmme/Nucleus)'
483
Zack Williams5d81f812019-02-27 14:37:09 -0700484 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700485
486 pipeline-scm:
487 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
488 scm:
489 - git:
hwchiu14f97852019-10-08 10:51:11 -0700490 url: 'https://github.com/omec-project/omec-project-ci'
491 branches:
492 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700493
494- job-template:
495 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700496 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700497 project-type: pipeline
498
499 description: |
500 <!-- Managed by Jenkins Job Builder -->
501 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
502
503 properties:
504 - cord-infra-properties:
505 build-days-to-keep: '{build-days-to-keep}'
506 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700507
508 wrappers:
509 - lf-infra-wrappers:
510 build-timeout: '{build-timeout}'
511 jenkins-ssh-credential: '{jenkins-ssh-credential}'
512
513 parameters:
514 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700515 name: buildNode
516 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700517 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700518
You Wang83055442020-04-17 14:54:40 -0700519 - string:
520 name: mmeRepo
521 default: 'openmme'
522 description: 'Name of the MME repo to test (openmme/Nucleus)'
523
Zack Williams5d81f812019-02-27 14:37:09 -0700524 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700525
526 pipeline-scm:
527 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800528 scm:
529 - git:
hwchiu14f97852019-10-08 10:51:11 -0700530 url: 'https://github.com/omec-project/omec-project-ci'
531 branches:
532 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700533
534# Deploy staging
535- job-template:
536 id: 'omec-deploy-staging'
537 name: 'omec-deploy-staging'
538 project-type: pipeline
539
540 description: |
541 Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br />
542 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700543 Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br />
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700544 Copyright (c) 2020 Open Networking Foundation (ONF)
545
546 properties:
547 - cord-infra-properties:
548 build-days-to-keep: '{build-days-to-keep}'
549 artifact-num-to-keep: '{artifact-num-to-keep}'
550
551 wrappers:
552 - lf-infra-wrappers:
553 build-timeout: '{build-timeout}'
554 jenkins-ssh-credential: '{jenkins-ssh-credential}'
555
556 parameters:
557 - string:
558 name: buildNode
559 default: 'omec-staging'
560 description: 'Name of the Jenkins executor node to run the job on.'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700561 - bool:
562 name: useProductionCluster
563 default: false
564 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 -0700565 - string:
566 name: registry
567 default: 'omecproject'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700568 description: 'Registry for all images that will be changed.'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700569 - string:
570 name: hssdb_tag
571 default: ''
572 description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.'
573 - string:
574 name: hss_tag
575 default: ''
576 description: 'Tag for hss. Leave hss tag blank to omit changing.'
577 - string:
578 name: mme_tag
579 default: ''
580 description: 'Tag for mme. Leave mme tag blank to omit changing.'
581 - string:
582 name: mmeExporter_tag
583 default: ''
584 description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.'
585 - string:
586 name: spgwc_tag
587 default: ''
588 description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.'
589 - string:
590 name: spgwu_tag
591 default: ''
592 description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.'
593
594 concurrent: false
595
596 dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy
You Wang5c15a7a2020-04-02 11:24:33 -0700597
598# Post-merge job
599# Triggered by Github pull request merge
600- job-template:
601 id: omec-postmerge
602 name: '{project}_postmerge'
603 description: |
604 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
605
606 properties:
607 - cord-infra-properties:
608 build-days-to-keep: '{build-days-to-keep}'
609 artifact-num-to-keep: '{artifact-num-to-keep}'
610
611 triggers:
612 - cord-infra-github-pr-trigger-merge:
613 project: '{project}'
614
615 wrappers:
616 - lf-infra-wrappers:
617 build-timeout: '{build-timeout}'
618 jenkins-ssh-credential: '{jenkins-ssh-credential}'
619
620 parameters:
621 - string:
622 name: buildNode
623 default: '{build-node}'
624 description: 'Name of the Jenkins node to run the job on'
625
626 - string:
627 name: repoName
628 default: ''
629 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
630
631 - string:
632 name: repoUrl
633 default: ''
634 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
635
636 - string:
637 name: branchName
638 default: ''
639 description: 'Branch of the project. Populated by Generic Webhook Trigger'
640
641 - string:
642 name: commitHash
643 default: ''
644 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
645
646 - string:
647 name: c3poBranchName
648 default: '{c3po-branch-name}'
649 description: 'Branch name of c3po repo which we run tests against'
650
651 - string:
652 name: ngicBranchName
653 default: '{ngic-branch-name}'
654 description: 'Branch name of ngic-rtc repo which we run tests against'
655
656 - string:
657 name: openmmeBranchName
658 default: '{openmme-branch-name}'
659 description: 'Branch name of openmme repo which we run tests against'
660
661 - string:
662 name: maintainers
663 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
664 description: "The person that sould be notified if this job fails"
665
666 project-type: pipeline
667 concurrent: true
668
669 dsl: !include-raw-escape: pipeline/{pipeline-file}