blob: 85bf48b7b6af94ca14b851cd56784b3221cfd177 [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}'
You Wang40239452020-06-11 20:17:15 -070021 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070022 c3po-branch-name: 'master'
You Wangb242ae42020-04-15 12:32:32 -070023 ngic-branch-name: 'central-cp-multi-upfs'
You Wang40239452020-06-11 20:17:15 -070024 nucleus-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'
You Wangf5739552020-06-02 16:36:31 -0700160 - 'docker-publish-github':
161 build-timeout: 60
162 docker-repo: 'omecproject'
163 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo659f6682020-04-16 13:18:24 -0700164 - 'omec-comac-in-a-box':
165 build-node: 'comac_in_a_box'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800166
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800167# for freediameter
168- project:
169 name: freediameter
170 project: '{name}'
171
172 build-node: 'intel-102'
173
174 github-organization: 'omec-project'
175
176 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
177 github_pr_org_list:
178 - 'omec-project'
179
180 jobs:
181 - 'omec-fossa':
182 pipeline-file: 'omec-fossa-scan.groovy'
183 build-node: 'omec-qa'
184 - 'omec-reuse':
185 pipeline-file: 'omec-reuse-scan.groovy'
186 build-node: 'omec-qa'
187
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700188# for ignite
189- project:
190 name: ignite
191 project: '{name}'
192
193 build-node: 'intel-102'
194
195 github-organization: 'omec-project'
196
197 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
198 github_pr_org_list:
199 - 'omec-project'
200
201 jobs:
202 - 'omec-fossa':
203 pipeline-file: 'omec-fossa-scan.groovy'
204 build-node: 'omec-qa'
205 - 'omec-reuse':
206 pipeline-file: 'omec-reuse-scan.groovy'
207 build-node: 'omec-qa'
208
You Wangccc13492020-04-01 11:11:59 -0700209# for upf-epc
210- project:
211 name: upf-epc
212 project: '{name}'
213
214 github-organization: 'omec-project'
215
216 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
217 github_pr_org_list:
218 - 'omec-project'
219
220 jobs:
221 - 'omec-fossa':
222 pipeline-file: 'omec-fossa-scan.groovy'
223 build-node: 'omec-qa'
224 - 'omec-reuse':
225 pipeline-file: 'omec-reuse-scan.groovy'
226 build-node: 'omec-qa'
227 - 'docker-publish-github':
228 build-timeout: 30
229 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700230 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700231 extraEnvironmentVars: CPU=haswell
You Wangccc13492020-04-01 11:11:59 -0700232
Zack Williams320b3142019-03-14 23:10:01 -0700233# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800234- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700235 id: 'omec-combined'
236 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800237 project-type: pipeline
238
239 description: |
240 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700241 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800242
243 properties:
244 - cord-infra-properties:
245 build-days-to-keep: '{build-days-to-keep}'
246 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700247 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700248 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700249 - build-blocker:
250 use-build-blocker: true
251 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700252 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800253
254 wrappers:
255 - lf-infra-wrappers:
256 build-timeout: '{build-timeout}'
257 jenkins-ssh-credential: '{jenkins-ssh-credential}'
258
259 parameters:
260 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700261 name: buildNode
262 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700263 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800264
265 - string:
hwchiu14f97852019-10-08 10:51:11 -0700266 name: project
267 default: '{project}'
268 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800269
You Wang83055442020-04-17 14:54:40 -0700270 - string:
271 name: mmeRepo
272 default: '{mme-repo}'
273 description: 'Name of the MME repo to test (openmme/Nucleus)'
274
Zack Williams73c3cf42019-02-25 23:43:22 -0700275 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700276 - cord-infra-github-pr-trigger:
277 github_pr_org_list: '{obj:github_pr_org_list}'
278 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800279 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700280
Zack Williams5d81f812019-02-27 14:37:09 -0700281 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800282
283 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700284 script-path: '{pipeline-file}'
285 scm:
286 - git:
hwchiu14f97852019-10-08 10:51:11 -0700287 url: 'https://github.com/{github-organization}/omec-project-ci'
288 branches:
289 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700290
Zack Williams320b3142019-03-14 23:10:01 -0700291# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700292- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700293 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700294 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700295 project-type: pipeline
296
297 description: |
298 <!-- Managed by Jenkins Job Builder -->
299 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
300
301 properties:
302 - cord-infra-properties:
303 build-days-to-keep: '{build-days-to-keep}'
304 artifact-num-to-keep: '{artifact-num-to-keep}'
305 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700306 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700307
308 wrappers:
309 - lf-infra-wrappers:
310 build-timeout: '{build-timeout}'
311 jenkins-ssh-credential: '{jenkins-ssh-credential}'
312
313 parameters:
314 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700315 name: buildNode
316 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700317 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700318
319 - string:
hwchiu14f97852019-10-08 10:51:11 -0700320 name: project
321 default: '{project}'
322 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700323
You Wang8addd4c2020-04-14 16:25:57 -0700324 - string:
325 name: branch
326 default: '{branch}'
327 description: 'Branch of the project'
328
Zack Williams320b3142019-03-14 23:10:01 -0700329 concurrent: false
330
331 pipeline-scm:
332 script-path: '{pipeline-file}'
333 scm:
334 - git:
hwchiu14f97852019-10-08 10:51:11 -0700335 url: 'https://github.com/{github-organization}/omec-project-ci'
336 branches:
337 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700338
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800339# FOSSA License Scan
340- job-template:
341 id: 'omec-fossa'
342 name: 'omec_{project}_fossa'
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 - github:
354 url: 'https://github.com/{github-organization}/{project}'
355
356 wrappers:
357 - lf-infra-wrappers:
358 build-timeout: '{build-timeout}'
359 jenkins-ssh-credential: '{jenkins-ssh-credential}'
360
361 parameters:
362 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700363 name: ghprbPullId
364 default: '$ghprbPullId'
365 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
366
367 - string:
368 name: branch
369 default: '$ghprbTargetBranch'
370 description: 'Branch to run. Only used when manually run.'
371
372 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800373 name: buildNode
374 default: '{build-node}'
375 description: 'Name of the Jenkins executor node to run the job on'
376
377 - string:
378 name: project
379 default: '{project}'
380 description: 'Name of the project'
381
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700382 - string:
383 name: ghprbGhRepository
384 default: '{github-organization}/{project}'
385 description: 'Repository of the project.'
386
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800387 triggers:
388 - cord-infra-github-pr-trigger:
389 github_pr_org_list: '{obj:github_pr_org_list}'
390 github_pr_auth_id: '{github_pr_auth_id}'
391 status_context: 'CORD Jenkins - FOSSA Verification'
392
393 concurrent: false
394
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800395 project-type: pipeline
396 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800397
398# REUSE License Scan
399- job-template:
400 id: 'omec-reuse'
401 name: 'omec_{project}_reuse'
402 project-type: pipeline
403
404 description: |
405 <!-- Managed by Jenkins Job Builder -->
406 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
407
408 properties:
409 - cord-infra-properties:
410 build-days-to-keep: '{build-days-to-keep}'
411 artifact-num-to-keep: '{artifact-num-to-keep}'
412 - github:
413 url: 'https://github.com/{github-organization}/{project}'
414
415 wrappers:
416 - lf-infra-wrappers:
417 build-timeout: '{build-timeout}'
418 jenkins-ssh-credential: '{jenkins-ssh-credential}'
419
420 parameters:
421 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700422 name: ghprbPullId
423 default: '$ghprbPullId'
424 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
425
426 - string:
427 name: branch
428 default: '$ghprbTargetBranch'
429 description: 'Branch to run. Only used when manually run.'
430
431 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800432 name: buildNode
433 default: '{build-node}'
434 description: 'Name of the Jenkins executor node to run the job on'
435
436 - string:
437 name: project
438 default: '{project}'
439 description: 'Name of the project'
440
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700441 - string:
442 name: ghprbGhRepository
443 default: '{github-organization}/{project}'
444 description: 'Repository of the project.'
445
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800446 triggers:
447 - cord-infra-github-pr-trigger:
448 github_pr_org_list: '{obj:github_pr_org_list}'
449 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800450 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800451
452 concurrent: false
453
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800454 project-type: pipeline
455 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800456
Zack Williams320b3142019-03-14 23:10:01 -0700457# tests
458- job-template:
459 id: 'omec-tc1'
460 name: 'omec_tc1'
461 project-type: pipeline
462
463 description: |
464 <!-- Managed by Jenkins Job Builder -->
465 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
466
467 properties:
468 - cord-infra-properties:
469 build-days-to-keep: '{build-days-to-keep}'
470 artifact-num-to-keep: '{artifact-num-to-keep}'
471
472 wrappers:
473 - lf-infra-wrappers:
474 build-timeout: '{build-timeout}'
475 jenkins-ssh-credential: '{jenkins-ssh-credential}'
476
477 parameters:
478 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700479 name: buildNode
480 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700481 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700482
You Wang83055442020-04-17 14:54:40 -0700483 - string:
484 name: mmeRepo
485 default: 'openmme'
486 description: 'Name of the MME repo to test (openmme/Nucleus)'
487
Zack Williams5d81f812019-02-27 14:37:09 -0700488 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700489
490 pipeline-scm:
491 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
492 scm:
493 - git:
hwchiu14f97852019-10-08 10:51:11 -0700494 url: 'https://github.com/omec-project/omec-project-ci'
495 branches:
496 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700497
498- job-template:
499 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700500 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700501 project-type: pipeline
502
503 description: |
504 <!-- Managed by Jenkins Job Builder -->
505 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
506
507 properties:
508 - cord-infra-properties:
509 build-days-to-keep: '{build-days-to-keep}'
510 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700511
512 wrappers:
513 - lf-infra-wrappers:
514 build-timeout: '{build-timeout}'
515 jenkins-ssh-credential: '{jenkins-ssh-credential}'
516
517 parameters:
518 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700519 name: buildNode
520 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700521 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700522
You Wang83055442020-04-17 14:54:40 -0700523 - string:
524 name: mmeRepo
525 default: 'openmme'
526 description: 'Name of the MME repo to test (openmme/Nucleus)'
527
Zack Williams5d81f812019-02-27 14:37:09 -0700528 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700529
530 pipeline-scm:
531 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800532 scm:
533 - git:
hwchiu14f97852019-10-08 10:51:11 -0700534 url: 'https://github.com/omec-project/omec-project-ci'
535 branches:
536 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700537
538# Deploy staging
539- job-template:
540 id: 'omec-deploy-staging'
541 name: 'omec-deploy-staging'
542 project-type: pipeline
543
544 description: |
545 Automated build on AMI executor using pipeline/omec-deploy-staging.groovy. <br /><br />
546 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700547 Created by Jeremy Ronquillo - jeremyr@opennetworking.org <br />
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700548 Copyright (c) 2020 Open Networking Foundation (ONF)
549
550 properties:
551 - cord-infra-properties:
552 build-days-to-keep: '{build-days-to-keep}'
553 artifact-num-to-keep: '{artifact-num-to-keep}'
554
555 wrappers:
556 - lf-infra-wrappers:
557 build-timeout: '{build-timeout}'
558 jenkins-ssh-credential: '{jenkins-ssh-credential}'
559
560 parameters:
561 - string:
562 name: buildNode
563 default: 'omec-staging'
564 description: 'Name of the Jenkins executor node to run the job on.'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700565 - bool:
566 name: useProductionCluster
567 default: false
568 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 -0700569 - string:
570 name: registry
571 default: 'omecproject'
Jeremy Ronquillo0d731d32020-04-09 12:20:53 -0700572 description: 'Registry for all images that will be changed.'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700573 - string:
574 name: hssdb_tag
575 default: ''
576 description: 'Tag for hssdb. Leave hssdb tag blank to omit changing.'
577 - string:
578 name: hss_tag
579 default: ''
580 description: 'Tag for hss. Leave hss tag blank to omit changing.'
581 - string:
582 name: mme_tag
583 default: ''
584 description: 'Tag for mme. Leave mme tag blank to omit changing.'
585 - string:
586 name: mmeExporter_tag
587 default: ''
588 description: 'Tag for mmeExporter. Leave mmeExporter tag blank to omit changing.'
589 - string:
590 name: spgwc_tag
591 default: ''
592 description: 'Tag for spgwc. Leave spgwc tag blank to omit changing.'
593 - string:
594 name: spgwu_tag
595 default: ''
596 description: 'Tag for spgwu. Leave spgwu tag blank to omit changing.'
597
598 concurrent: false
599
600 dsl: !include-raw-escape: pipeline/omec-deploy-staging.groovy
You Wang5c15a7a2020-04-02 11:24:33 -0700601
602# Post-merge job
603# Triggered by Github pull request merge
604- job-template:
605 id: omec-postmerge
606 name: '{project}_postmerge'
607 description: |
608 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
609
610 properties:
611 - cord-infra-properties:
612 build-days-to-keep: '{build-days-to-keep}'
613 artifact-num-to-keep: '{artifact-num-to-keep}'
614
615 triggers:
616 - cord-infra-github-pr-trigger-merge:
617 project: '{project}'
618
619 wrappers:
620 - lf-infra-wrappers:
621 build-timeout: '{build-timeout}'
622 jenkins-ssh-credential: '{jenkins-ssh-credential}'
623
624 parameters:
625 - string:
626 name: buildNode
627 default: '{build-node}'
628 description: 'Name of the Jenkins node to run the job on'
629
630 - string:
You Wang40239452020-06-11 20:17:15 -0700631 name: registry
632 default: 'omecproject'
633 description: 'Docker registry to push images to'
634
635 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700636 name: repoName
637 default: ''
638 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
639
640 - string:
641 name: repoUrl
642 default: ''
643 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
644
645 - string:
646 name: branchName
647 default: ''
648 description: 'Branch of the project. Populated by Generic Webhook Trigger'
649
650 - string:
651 name: commitHash
652 default: ''
653 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
654
655 - string:
656 name: c3poBranchName
657 default: '{c3po-branch-name}'
658 description: 'Branch name of c3po repo which we run tests against'
659
660 - string:
661 name: ngicBranchName
662 default: '{ngic-branch-name}'
663 description: 'Branch name of ngic-rtc repo which we run tests against'
664
665 - string:
You Wang40239452020-06-11 20:17:15 -0700666 name: nucleusBranchName
667 default: '{nucleus-branch-name}'
668 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700669
670 - string:
671 name: maintainers
672 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
673 description: "The person that sould be notified if this job fails"
674
675 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700676 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700677
678 dsl: !include-raw-escape: pipeline/{pipeline-file}