blob: 433708d207a528fdaeb5af854e138af3d28480b2 [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'
You Wang3111c952020-06-12 17:53:04 -070010 github-organization: 'omec-project'
Zack Williams320b3142019-03-14 23:10:01 -070011
12 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
13 github_pr_org_list:
14 - 'omec-project'
15
16 jobs:
17 - 'omec-tc1'
18 - 'omec-tc2'
You Wang3cc17af2020-06-12 14:56:10 -070019 - 'omec-deploy':
20 pod: 'dev'
21 build-node: 'omec-ci'
22 cp-context: 'dev-central-gcp'
23 dp-context: 'dev-edge-onf-menlo'
24 central-config: 'gcp-dev'
25 edge-config: 'menlo-dev'
26 - 'omec-ng40-test':
27 pod: 'dev'
28 build-node: 'ng40-host-node'
29 ng40-vm: 'ng40@192.168.122.101'
You Wang5c15a7a2020-04-02 11:24:33 -070030 - 'omec-postmerge':
31 project: '{name}'
You Wang40239452020-06-11 20:17:15 -070032 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070033 c3po-branch-name: 'master'
You Wangb242ae42020-04-15 12:32:32 -070034 ngic-branch-name: 'central-cp-multi-upfs'
You Wang40239452020-06-11 20:17:15 -070035 nucleus-branch-name: 'master'
You Wange1cbba22020-06-15 21:16:14 -070036 upf-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070037 pipeline-file: 'omec-postmerge.groovy'
Zack Williams320b3142019-03-14 23:10:01 -070038
Zack Williams73c3cf42019-02-25 23:43:22 -070039# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080040- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070041 name: ngic-rtc
42 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080043
Zack Williamsb3292082019-10-11 17:15:18 -070044 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070045
Zack Williams1e325b22019-07-24 17:52:57 -070046 github-organization: 'omec-project'
47
Zack Williams5d81f812019-02-27 14:37:09 -070048 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
49 github_pr_org_list:
50 - 'omec-project'
51
Kailashbe4dc092019-01-23 09:22:17 -080052 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070053 - 'omec-combined':
54 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070055 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070056 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070057 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070058 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070059 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080060 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080061 pipeline-file: 'omec-fossa-scan.groovy'
62 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080063 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080064 pipeline-file: 'omec-reuse-scan.groovy'
65 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070066 - 'docker-publish-github':
67 build-timeout: 30
68 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070069 build-node: 'ubuntu16.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -070070 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -070071
Zack Williamse306e572019-04-18 07:12:46 -070072# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070073- project:
Zack Williamse306e572019-04-18 07:12:46 -070074 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070075 project: '{name}'
76
Zack Williamsb3292082019-10-11 17:15:18 -070077 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070078
Zack Williams1e325b22019-07-24 17:52:57 -070079 github-organization: 'omec-project'
80
Zack Williams5d81f812019-02-27 14:37:09 -070081 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
82 github_pr_org_list:
83 - 'omec-project'
84
Zack Williams73c3cf42019-02-25 23:43:22 -070085 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070086 - 'omec-combined':
87 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070088 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070089 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070090 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -070091 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -070092 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070093 - 'omec-install':
94 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -070095 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -070096 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080097 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080098 pipeline-file: 'omec-fossa-scan.groovy'
99 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800100 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800101 pipeline-file: 'omec-reuse-scan.groovy'
102 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700103 - 'docker-publish-github':
104 build-timeout: 30
105 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -0700106 build-node: 'ubuntu16.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700107 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700108
109# for openmme
110- project:
111 name: openmme
112 project: '{name}'
113
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700114 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -0700115
Zack Williams1e325b22019-07-24 17:52:57 -0700116 github-organization: 'omec-project'
117
Zack Williams5d81f812019-02-27 14:37:09 -0700118 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
119 github_pr_org_list:
120 - 'omec-project'
121
Zack Williams73c3cf42019-02-25 23:43:22 -0700122 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700123 - 'omec-combined':
124 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700125 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700126 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700127 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700128 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700129 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800130 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800131 pipeline-file: 'omec-fossa-scan.groovy'
132 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800133 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800134 pipeline-file: 'omec-reuse-scan.groovy'
135 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700136 - 'docker-publish-github':
137 build-timeout: 30
138 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700139 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700140
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800141# for nucleus
142- project:
143 name: Nucleus
144 project: '{name}'
145
146 build-node: 'intel-102'
147
148 github-organization: 'omec-project'
149
150 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
151 github_pr_org_list:
152 - 'omec-project'
153
154 jobs:
You Wang83055442020-04-17 14:54:40 -0700155 - 'omec-combined':
156 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
157 mme-repo: 'Nucleus'
158 - 'omec-install':
159 sub-project: '{name}'
160 branch: 'master'
161 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800162 - 'omec-fossa':
163 pipeline-file: 'omec-fossa-scan.groovy'
164 build-node: 'omec-qa'
165 - 'omec-reuse':
166 pipeline-file: 'omec-reuse-scan.groovy'
167 build-node: 'omec-qa'
You Wangf5739552020-06-02 16:36:31 -0700168 - 'docker-publish-github':
169 build-timeout: 60
170 docker-repo: 'omecproject'
171 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700172 - 'omec-container'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800173
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800174# for freediameter
175- project:
176 name: freediameter
177 project: '{name}'
178
179 build-node: 'intel-102'
180
181 github-organization: 'omec-project'
182
183 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
184 github_pr_org_list:
185 - 'omec-project'
186
187 jobs:
188 - 'omec-fossa':
189 pipeline-file: 'omec-fossa-scan.groovy'
190 build-node: 'omec-qa'
191 - 'omec-reuse':
192 pipeline-file: 'omec-reuse-scan.groovy'
193 build-node: 'omec-qa'
194
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700195# for ignite
196- project:
197 name: ignite
198 project: '{name}'
199
200 build-node: 'intel-102'
201
202 github-organization: 'omec-project'
203
204 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
205 github_pr_org_list:
206 - 'omec-project'
207
208 jobs:
209 - 'omec-fossa':
210 pipeline-file: 'omec-fossa-scan.groovy'
211 build-node: 'omec-qa'
212 - 'omec-reuse':
213 pipeline-file: 'omec-reuse-scan.groovy'
214 build-node: 'omec-qa'
215
You Wangccc13492020-04-01 11:11:59 -0700216# for upf-epc
217- project:
218 name: upf-epc
219 project: '{name}'
220
221 github-organization: 'omec-project'
222
223 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
224 github_pr_org_list:
225 - 'omec-project'
226
227 jobs:
228 - 'omec-fossa':
229 pipeline-file: 'omec-fossa-scan.groovy'
230 build-node: 'omec-qa'
231 - 'omec-reuse':
232 pipeline-file: 'omec-reuse-scan.groovy'
233 build-node: 'omec-qa'
234 - 'docker-publish-github':
235 build-timeout: 30
236 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700237 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700238 extraEnvironmentVars: CPU=haswell
You Wange1cbba22020-06-15 21:16:14 -0700239 - 'omec-container'
You Wangccc13492020-04-01 11:11:59 -0700240
Zack Williams320b3142019-03-14 23:10:01 -0700241# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800242- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700243 id: 'omec-combined'
244 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800245 project-type: pipeline
246
247 description: |
248 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700249 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800250
251 properties:
252 - cord-infra-properties:
253 build-days-to-keep: '{build-days-to-keep}'
254 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700255 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700256 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700257 - build-blocker:
258 use-build-blocker: true
259 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700260 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800261
262 wrappers:
263 - lf-infra-wrappers:
264 build-timeout: '{build-timeout}'
265 jenkins-ssh-credential: '{jenkins-ssh-credential}'
266
267 parameters:
268 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700269 name: buildNode
270 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700271 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800272
273 - string:
hwchiu14f97852019-10-08 10:51:11 -0700274 name: project
275 default: '{project}'
276 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800277
You Wang83055442020-04-17 14:54:40 -0700278 - string:
279 name: mmeRepo
280 default: '{mme-repo}'
281 description: 'Name of the MME repo to test (openmme/Nucleus)'
282
Zack Williams73c3cf42019-02-25 23:43:22 -0700283 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700284 - 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 Ronquillo9adc0a92020-01-29 10:49:45 -0800287 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700288
Zack Williams5d81f812019-02-27 14:37:09 -0700289 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800290
291 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700292 script-path: '{pipeline-file}'
293 scm:
294 - git:
hwchiu14f97852019-10-08 10:51:11 -0700295 url: 'https://github.com/{github-organization}/omec-project-ci'
296 branches:
297 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700298
Zack Williams320b3142019-03-14 23:10:01 -0700299# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700300- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700301 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700302 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700303 project-type: pipeline
304
305 description: |
306 <!-- Managed by Jenkins Job Builder -->
307 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
308
309 properties:
310 - cord-infra-properties:
311 build-days-to-keep: '{build-days-to-keep}'
312 artifact-num-to-keep: '{artifact-num-to-keep}'
313 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700314 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700315
316 wrappers:
317 - lf-infra-wrappers:
318 build-timeout: '{build-timeout}'
319 jenkins-ssh-credential: '{jenkins-ssh-credential}'
320
321 parameters:
322 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700323 name: buildNode
324 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700325 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700326
327 - string:
hwchiu14f97852019-10-08 10:51:11 -0700328 name: project
329 default: '{project}'
330 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700331
You Wang8addd4c2020-04-14 16:25:57 -0700332 - string:
333 name: branch
334 default: '{branch}'
335 description: 'Branch of the project'
336
Zack Williams320b3142019-03-14 23:10:01 -0700337 concurrent: false
338
339 pipeline-scm:
340 script-path: '{pipeline-file}'
341 scm:
342 - git:
hwchiu14f97852019-10-08 10:51:11 -0700343 url: 'https://github.com/{github-organization}/omec-project-ci'
344 branches:
345 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700346
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800347# FOSSA License Scan
348- job-template:
349 id: 'omec-fossa'
350 name: 'omec_{project}_fossa'
351 project-type: pipeline
352
353 description: |
354 <!-- Managed by Jenkins Job Builder -->
355 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
356
357 properties:
358 - cord-infra-properties:
359 build-days-to-keep: '{build-days-to-keep}'
360 artifact-num-to-keep: '{artifact-num-to-keep}'
361 - github:
362 url: 'https://github.com/{github-organization}/{project}'
363
364 wrappers:
365 - lf-infra-wrappers:
366 build-timeout: '{build-timeout}'
367 jenkins-ssh-credential: '{jenkins-ssh-credential}'
368
369 parameters:
370 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700371 name: ghprbPullId
372 default: '$ghprbPullId'
373 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
374
375 - string:
376 name: branch
377 default: '$ghprbTargetBranch'
378 description: 'Branch to run. Only used when manually run.'
379
380 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800381 name: buildNode
382 default: '{build-node}'
383 description: 'Name of the Jenkins executor node to run the job on'
384
385 - string:
386 name: project
387 default: '{project}'
388 description: 'Name of the project'
389
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700390 - string:
391 name: ghprbGhRepository
392 default: '{github-organization}/{project}'
393 description: 'Repository of the project.'
394
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800395 triggers:
396 - cord-infra-github-pr-trigger:
397 github_pr_org_list: '{obj:github_pr_org_list}'
398 github_pr_auth_id: '{github_pr_auth_id}'
399 status_context: 'CORD Jenkins - FOSSA Verification'
400
401 concurrent: false
402
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800403 project-type: pipeline
404 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800405
406# REUSE License Scan
407- job-template:
408 id: 'omec-reuse'
409 name: 'omec_{project}_reuse'
410 project-type: pipeline
411
412 description: |
413 <!-- Managed by Jenkins Job Builder -->
414 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
415
416 properties:
417 - cord-infra-properties:
418 build-days-to-keep: '{build-days-to-keep}'
419 artifact-num-to-keep: '{artifact-num-to-keep}'
420 - github:
421 url: 'https://github.com/{github-organization}/{project}'
422
423 wrappers:
424 - lf-infra-wrappers:
425 build-timeout: '{build-timeout}'
426 jenkins-ssh-credential: '{jenkins-ssh-credential}'
427
428 parameters:
429 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700430 name: ghprbPullId
431 default: '$ghprbPullId'
432 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
433
434 - string:
435 name: branch
436 default: '$ghprbTargetBranch'
437 description: 'Branch to run. Only used when manually run.'
438
439 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800440 name: buildNode
441 default: '{build-node}'
442 description: 'Name of the Jenkins executor node to run the job on'
443
444 - string:
445 name: project
446 default: '{project}'
447 description: 'Name of the project'
448
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700449 - string:
450 name: ghprbGhRepository
451 default: '{github-organization}/{project}'
452 description: 'Repository of the project.'
453
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800454 triggers:
455 - cord-infra-github-pr-trigger:
456 github_pr_org_list: '{obj:github_pr_org_list}'
457 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800458 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800459
460 concurrent: false
461
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800462 project-type: pipeline
463 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800464
Zack Williams320b3142019-03-14 23:10:01 -0700465# tests
466- job-template:
467 id: 'omec-tc1'
468 name: 'omec_tc1'
469 project-type: pipeline
470
471 description: |
472 <!-- Managed by Jenkins Job Builder -->
473 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
474
475 properties:
476 - cord-infra-properties:
477 build-days-to-keep: '{build-days-to-keep}'
478 artifact-num-to-keep: '{artifact-num-to-keep}'
479
480 wrappers:
481 - lf-infra-wrappers:
482 build-timeout: '{build-timeout}'
483 jenkins-ssh-credential: '{jenkins-ssh-credential}'
484
485 parameters:
486 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700487 name: buildNode
488 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700489 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700490
You Wang83055442020-04-17 14:54:40 -0700491 - string:
492 name: mmeRepo
493 default: 'openmme'
494 description: 'Name of the MME repo to test (openmme/Nucleus)'
495
Zack Williams5d81f812019-02-27 14:37:09 -0700496 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700497
498 pipeline-scm:
499 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
500 scm:
501 - git:
hwchiu14f97852019-10-08 10:51:11 -0700502 url: 'https://github.com/omec-project/omec-project-ci'
503 branches:
504 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700505
506- job-template:
507 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700508 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700509 project-type: pipeline
510
511 description: |
512 <!-- Managed by Jenkins Job Builder -->
513 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
514
515 properties:
516 - cord-infra-properties:
517 build-days-to-keep: '{build-days-to-keep}'
518 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700519
520 wrappers:
521 - lf-infra-wrappers:
522 build-timeout: '{build-timeout}'
523 jenkins-ssh-credential: '{jenkins-ssh-credential}'
524
525 parameters:
526 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700527 name: buildNode
528 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700529 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700530
You Wang83055442020-04-17 14:54:40 -0700531 - string:
532 name: mmeRepo
533 default: 'openmme'
534 description: 'Name of the MME repo to test (openmme/Nucleus)'
535
Zack Williams5d81f812019-02-27 14:37:09 -0700536 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700537
538 pipeline-scm:
539 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800540 scm:
541 - git:
hwchiu14f97852019-10-08 10:51:11 -0700542 url: 'https://github.com/omec-project/omec-project-ci'
543 branches:
544 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700545
You Wang5c15a7a2020-04-02 11:24:33 -0700546# Post-merge job
547# Triggered by Github pull request merge
548- job-template:
549 id: omec-postmerge
550 name: '{project}_postmerge'
551 description: |
552 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
553
554 properties:
555 - cord-infra-properties:
556 build-days-to-keep: '{build-days-to-keep}'
557 artifact-num-to-keep: '{artifact-num-to-keep}'
558
559 triggers:
560 - cord-infra-github-pr-trigger-merge:
561 project: '{project}'
562
563 wrappers:
564 - lf-infra-wrappers:
565 build-timeout: '{build-timeout}'
566 jenkins-ssh-credential: '{jenkins-ssh-credential}'
567
568 parameters:
569 - string:
570 name: buildNode
571 default: '{build-node}'
572 description: 'Name of the Jenkins node to run the job on'
573
574 - string:
You Wang40239452020-06-11 20:17:15 -0700575 name: registry
576 default: 'omecproject'
577 description: 'Docker registry to push images to'
578
579 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700580 name: repoName
581 default: ''
582 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
583
584 - string:
585 name: repoUrl
586 default: ''
587 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
588
589 - string:
590 name: branchName
591 default: ''
592 description: 'Branch of the project. Populated by Generic Webhook Trigger'
593
594 - string:
595 name: commitHash
596 default: ''
597 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
598
599 - string:
600 name: c3poBranchName
601 default: '{c3po-branch-name}'
602 description: 'Branch name of c3po repo which we run tests against'
603
604 - string:
605 name: ngicBranchName
606 default: '{ngic-branch-name}'
607 description: 'Branch name of ngic-rtc repo which we run tests against'
608
609 - string:
You Wang40239452020-06-11 20:17:15 -0700610 name: nucleusBranchName
611 default: '{nucleus-branch-name}'
612 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700613
614 - string:
You Wange1cbba22020-06-15 21:16:14 -0700615 name: upfBranchName
616 default: '{upf-branch-name}'
617 description: 'Branch name of upf-epc repo which we run tests against'
618
619 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700620 name: maintainers
621 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
622 description: "The person that sould be notified if this job fails"
623
624 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700625 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700626
627 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700628
629# OMEC CI job which builds docker images, deploys and tests OMEC
630- job-template:
631 id: 'omec-container'
632 name: 'omec_{project}_container'
633 project-type: pipeline
634
635 description: |
636 <!-- Managed by Jenkins Job Builder -->
637 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
638
639 properties:
640 - cord-infra-properties:
641 build-days-to-keep: '{build-days-to-keep}'
642 artifact-num-to-keep: '{artifact-num-to-keep}'
643 - github:
644 url: 'https://github.com/{github-organization}/{project}'
645 - build-blocker:
646 use-build-blocker: true
647 blocking-jobs:
648 - "omec_.*_container"
649
650 wrappers:
651 - lf-infra-wrappers:
652 build-timeout: '{build-timeout}'
653 jenkins-ssh-credential: '{jenkins-ssh-credential}'
654
655 parameters:
656 - string:
657 name: buildNode
658 default: 'ng40-host-node'
659 description: 'Name of the Jenkins executor node to run the job on'
660
661 - string:
662 name: project
663 default: '{project}'
664 description: 'Name of the project'
665
666 - string:
667 name: ghprbTargetBranch
668 default: '$ghprbTargetBranch'
669 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
670
671 - string:
672 name: ghprbPullId
673 default: '$ghprbPullId'
674 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
675
676 - string:
677 name: ghprbActualCommit
678 default: '$ghprbActualCommit'
679 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
680
681 - string:
682 name: registry
683 default: 'registry.central.aetherproject.net'
684 description: 'Docker registry that stores images built for CI testing'
685
686 - string:
687 name: c3poBranch
688 default: 'master'
689 description: 'Branch name of c3po repo which we run tests against'
690
691 - string:
692 name: nucleusBranch
693 default: 'master'
694 description: 'Branch name of Nucleus repo which we run tests against'
695
696 - string:
697 name: ngicBranch
698 default: 'central-cp-multi-upfs'
699 description: 'Branch name of ngic-rtc repo which we run tests against'
700
You Wange1cbba22020-06-15 21:16:14 -0700701 - string:
702 name: upfBranch
703 default: 'master'
704 description: 'Branch name of upf-epc repo which we run tests against'
705
You Wang3cc17af2020-06-12 14:56:10 -0700706 triggers:
707 - cord-infra-github-pr-trigger:
708 github_pr_org_list: '{obj:github_pr_org_list}'
709 github_pr_auth_id: '{github_pr_auth_id}'
710 status_context: 'CORD Jenkins - Container Based Verification'
711
712 concurrent: false
713
714 pipeline-scm:
715 script-path: 'Jenkinsfile-omec-container.groovy'
716 scm:
717 - git:
718 url: 'https://github.com/{github-organization}/omec-project-ci'
719 branches:
720 - 'master'
721
722# OMEC deployment job
723- job-template:
724 id: 'omec-deploy'
725 name: 'omec_deploy_{pod}'
726 project-type: pipeline
727
728 description: |
729 <!-- Managed by Jenkins Job Builder -->
730 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
731
732 properties:
733 - cord-infra-properties:
734 build-days-to-keep: '{build-days-to-keep}'
735 artifact-num-to-keep: '{artifact-num-to-keep}'
736
737 wrappers:
738 - lf-infra-wrappers:
739 build-timeout: '{build-timeout}'
740 jenkins-ssh-credential: '{jenkins-ssh-credential}'
741
742 parameters:
743 - string:
744 name: buildNode
745 default: '{build-node}'
746 description: 'Name of the Jenkins executor node to run the job on.'
747
748 - string:
749 name: cpContext
750 default: '{cp-context}'
751 description: 'K8S context for omec control plane.'
752
753 - string:
754 name: dpContext
755 default: '{dp-context}'
756 description: 'K8S context for omec data plane.'
757
758 - string:
759 name: centralConfig
760 default: '{central-config}'
761 description: 'Directory name for central yaml files under aether-pod-configs.'
762
763 - string:
764 name: edgeConfig
765 default: '{edge-config}'
766 description: 'Directory name for edge yaml files under aether-pod-configs.'
767
768 - string:
769 name: hssdbImage
770 default: 'omecproject/c3po-hssdb:master-latest'
771 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
772
773 - string:
774 name: hssImage
775 default: 'omecproject/c3po-hss:master-latest'
776 description: 'Docker image for hss. Leave empty to use default helm-charts value'
777
778 - string:
779 name: mmeImage
780 default: 'omecproject/nucleus:master-latest'
781 description: 'Docker image for mme. Leave empty to use default helm-charts value'
782
783 - string:
784 name: spgwcImage
785 default: 'omecproject/ngic-cp:central-cp-multi-upfs-latest'
786 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
787
788 - string:
You Wange1cbba22020-06-15 21:16:14 -0700789 name: bessImage
790 default: 'omecproject/upf-epc-bess:master-latest'
791 description: 'Docker image for bess. Leave empty to use default helm-charts value'
792
793 - string:
794 name: cpifaceImage
795 default: 'omecproject/upf-epc-cpiface:master-latest'
796 description: 'Docker image for cpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700797
798 concurrent: false
799
800 pipeline-scm:
801 script-path: 'Jenkinsfile-omec-deploy.groovy'
802 scm:
803 - git:
804 url: 'https://github.com/{github-organization}/omec-project-ci'
805 branches:
806 - 'master'
807
808# OMEC test job
809- job-template:
810 id: 'omec-ng40-test'
811 name: 'omec_ng40-test_{pod}'
812 project-type: pipeline
813
814 description: |
815 <!-- Managed by Jenkins Job Builder -->
816 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
817
818 properties:
819 - cord-infra-properties:
820 build-days-to-keep: '{build-days-to-keep}'
821 artifact-num-to-keep: '{artifact-num-to-keep}'
822
823 wrappers:
824 - lf-infra-wrappers:
825 build-timeout: '{build-timeout}'
826 jenkins-ssh-credential: '{jenkins-ssh-credential}'
827
828 parameters:
829 - string:
830 name: buildNode
831 default: '{build-node}'
832 description: 'Name of the Jenkins executor node to run the job on.'
833
834 - string:
835 name: ng40VM
836 default: '{ng40-vm}'
837 description: 'user@IP for accessing NG40 VM from the build node.'
838
839 - string:
840 name: ntlFile
841 default: 'run.ntl'
842 description: 'NG40 test automation file'
843
844 concurrent: false
845
846 pipeline-scm:
847 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
848 scm:
849 - git:
850 url: 'https://github.com/{github-organization}/omec-project-ci'
851 branches:
852 - 'master'