blob: 0aae8f239eeace9bc745df2ab1ed71746c5202e3 [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 Wang5c15a7a2020-04-02 11:24:33 -070036 pipeline-file: 'omec-postmerge.groovy'
Zack Williams320b3142019-03-14 23:10:01 -070037
Zack Williams73c3cf42019-02-25 23:43:22 -070038# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080039- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070040 name: ngic-rtc
41 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080042
Zack Williamsb3292082019-10-11 17:15:18 -070043 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070044
Zack Williams1e325b22019-07-24 17:52:57 -070045 github-organization: 'omec-project'
46
Zack Williams5d81f812019-02-27 14:37:09 -070047 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
48 github_pr_org_list:
49 - 'omec-project'
50
Kailashbe4dc092019-01-23 09:22:17 -080051 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070052 - 'omec-combined':
53 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070054 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070055 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070056 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070057 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070058 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080059 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080060 pipeline-file: 'omec-fossa-scan.groovy'
61 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080062 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080063 pipeline-file: 'omec-reuse-scan.groovy'
64 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -070065 - 'docker-publish-github':
66 build-timeout: 30
67 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070068 build-node: 'ubuntu16.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -070069 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -070070
Zack Williamse306e572019-04-18 07:12:46 -070071# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070072- project:
Zack Williamse306e572019-04-18 07:12:46 -070073 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070074 project: '{name}'
75
Zack Williamsb3292082019-10-11 17:15:18 -070076 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070077
Zack Williams1e325b22019-07-24 17:52:57 -070078 github-organization: 'omec-project'
79
Zack Williams5d81f812019-02-27 14:37:09 -070080 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
81 github_pr_org_list:
82 - 'omec-project'
83
Zack Williams73c3cf42019-02-25 23:43:22 -070084 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070085 - 'omec-combined':
86 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070087 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070088 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070089 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -070090 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -070091 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070092 - 'omec-install':
93 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -070094 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -070095 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080096 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080097 pipeline-file: 'omec-fossa-scan.groovy'
98 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080099 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800100 pipeline-file: 'omec-reuse-scan.groovy'
101 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700102 - 'docker-publish-github':
103 build-timeout: 30
104 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -0700105 build-node: 'ubuntu16.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700106 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700107
108# for openmme
109- project:
110 name: openmme
111 project: '{name}'
112
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700113 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -0700114
Zack Williams1e325b22019-07-24 17:52:57 -0700115 github-organization: 'omec-project'
116
Zack Williams5d81f812019-02-27 14:37:09 -0700117 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
118 github_pr_org_list:
119 - 'omec-project'
120
Zack Williams73c3cf42019-02-25 23:43:22 -0700121 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700122 - 'omec-combined':
123 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700124 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700125 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700126 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700127 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700128 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800129 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800130 pipeline-file: 'omec-fossa-scan.groovy'
131 build-node: 'omec-qa'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800132 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800133 pipeline-file: 'omec-reuse-scan.groovy'
134 build-node: 'omec-qa'
Zack Williams1e325b22019-07-24 17:52:57 -0700135 - 'docker-publish-github':
136 build-timeout: 30
137 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700138 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700139
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800140# for nucleus
141- project:
142 name: Nucleus
143 project: '{name}'
144
145 build-node: 'intel-102'
146
147 github-organization: 'omec-project'
148
149 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
150 github_pr_org_list:
151 - 'omec-project'
152
153 jobs:
You Wang83055442020-04-17 14:54:40 -0700154 - 'omec-combined':
155 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
156 mme-repo: 'Nucleus'
157 - 'omec-install':
158 sub-project: '{name}'
159 branch: 'master'
160 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800161 - 'omec-fossa':
162 pipeline-file: 'omec-fossa-scan.groovy'
163 build-node: 'omec-qa'
164 - 'omec-reuse':
165 pipeline-file: 'omec-reuse-scan.groovy'
166 build-node: 'omec-qa'
You Wangf5739552020-06-02 16:36:31 -0700167 - 'docker-publish-github':
168 build-timeout: 60
169 docker-repo: 'omecproject'
170 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700171 - 'omec-container'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800172
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800173# for freediameter
174- project:
175 name: freediameter
176 project: '{name}'
177
178 build-node: 'intel-102'
179
180 github-organization: 'omec-project'
181
182 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
183 github_pr_org_list:
184 - 'omec-project'
185
186 jobs:
187 - 'omec-fossa':
188 pipeline-file: 'omec-fossa-scan.groovy'
189 build-node: 'omec-qa'
190 - 'omec-reuse':
191 pipeline-file: 'omec-reuse-scan.groovy'
192 build-node: 'omec-qa'
193
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700194# for ignite
195- project:
196 name: ignite
197 project: '{name}'
198
199 build-node: 'intel-102'
200
201 github-organization: 'omec-project'
202
203 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
204 github_pr_org_list:
205 - 'omec-project'
206
207 jobs:
208 - 'omec-fossa':
209 pipeline-file: 'omec-fossa-scan.groovy'
210 build-node: 'omec-qa'
211 - 'omec-reuse':
212 pipeline-file: 'omec-reuse-scan.groovy'
213 build-node: 'omec-qa'
214
You Wangccc13492020-04-01 11:11:59 -0700215# for upf-epc
216- project:
217 name: upf-epc
218 project: '{name}'
219
220 github-organization: 'omec-project'
221
222 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
223 github_pr_org_list:
224 - 'omec-project'
225
226 jobs:
227 - 'omec-fossa':
228 pipeline-file: 'omec-fossa-scan.groovy'
229 build-node: 'omec-qa'
230 - 'omec-reuse':
231 pipeline-file: 'omec-reuse-scan.groovy'
232 build-node: 'omec-qa'
233 - 'docker-publish-github':
234 build-timeout: 30
235 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700236 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700237 extraEnvironmentVars: CPU=haswell
You Wangccc13492020-04-01 11:11:59 -0700238
Zack Williams320b3142019-03-14 23:10:01 -0700239# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800240- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700241 id: 'omec-combined'
242 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800243 project-type: pipeline
244
245 description: |
246 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700247 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800248
249 properties:
250 - cord-infra-properties:
251 build-days-to-keep: '{build-days-to-keep}'
252 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700253 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700254 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700255 - build-blocker:
256 use-build-blocker: true
257 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700258 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800259
260 wrappers:
261 - lf-infra-wrappers:
262 build-timeout: '{build-timeout}'
263 jenkins-ssh-credential: '{jenkins-ssh-credential}'
264
265 parameters:
266 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700267 name: buildNode
268 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700269 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800270
271 - string:
hwchiu14f97852019-10-08 10:51:11 -0700272 name: project
273 default: '{project}'
274 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800275
You Wang83055442020-04-17 14:54:40 -0700276 - string:
277 name: mmeRepo
278 default: '{mme-repo}'
279 description: 'Name of the MME repo to test (openmme/Nucleus)'
280
Zack Williams73c3cf42019-02-25 23:43:22 -0700281 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700282 - cord-infra-github-pr-trigger:
283 github_pr_org_list: '{obj:github_pr_org_list}'
284 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800285 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700286
Zack Williams5d81f812019-02-27 14:37:09 -0700287 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800288
289 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700290 script-path: '{pipeline-file}'
291 scm:
292 - git:
hwchiu14f97852019-10-08 10:51:11 -0700293 url: 'https://github.com/{github-organization}/omec-project-ci'
294 branches:
295 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700296
Zack Williams320b3142019-03-14 23:10:01 -0700297# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700298- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700299 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700300 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700301 project-type: pipeline
302
303 description: |
304 <!-- Managed by Jenkins Job Builder -->
305 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
306
307 properties:
308 - cord-infra-properties:
309 build-days-to-keep: '{build-days-to-keep}'
310 artifact-num-to-keep: '{artifact-num-to-keep}'
311 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700312 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700313
314 wrappers:
315 - lf-infra-wrappers:
316 build-timeout: '{build-timeout}'
317 jenkins-ssh-credential: '{jenkins-ssh-credential}'
318
319 parameters:
320 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700321 name: buildNode
322 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700323 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700324
325 - string:
hwchiu14f97852019-10-08 10:51:11 -0700326 name: project
327 default: '{project}'
328 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700329
You Wang8addd4c2020-04-14 16:25:57 -0700330 - string:
331 name: branch
332 default: '{branch}'
333 description: 'Branch of the project'
334
Zack Williams320b3142019-03-14 23:10:01 -0700335 concurrent: false
336
337 pipeline-scm:
338 script-path: '{pipeline-file}'
339 scm:
340 - git:
hwchiu14f97852019-10-08 10:51:11 -0700341 url: 'https://github.com/{github-organization}/omec-project-ci'
342 branches:
343 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700344
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800345# FOSSA License Scan
346- job-template:
347 id: 'omec-fossa'
348 name: 'omec_{project}_fossa'
349 project-type: pipeline
350
351 description: |
352 <!-- Managed by Jenkins Job Builder -->
353 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
354
355 properties:
356 - cord-infra-properties:
357 build-days-to-keep: '{build-days-to-keep}'
358 artifact-num-to-keep: '{artifact-num-to-keep}'
359 - github:
360 url: 'https://github.com/{github-organization}/{project}'
361
362 wrappers:
363 - lf-infra-wrappers:
364 build-timeout: '{build-timeout}'
365 jenkins-ssh-credential: '{jenkins-ssh-credential}'
366
367 parameters:
368 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700369 name: ghprbPullId
370 default: '$ghprbPullId'
371 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
372
373 - string:
374 name: branch
375 default: '$ghprbTargetBranch'
376 description: 'Branch to run. Only used when manually run.'
377
378 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800379 name: buildNode
380 default: '{build-node}'
381 description: 'Name of the Jenkins executor node to run the job on'
382
383 - string:
384 name: project
385 default: '{project}'
386 description: 'Name of the project'
387
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700388 - string:
389 name: ghprbGhRepository
390 default: '{github-organization}/{project}'
391 description: 'Repository of the project.'
392
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800393 triggers:
394 - cord-infra-github-pr-trigger:
395 github_pr_org_list: '{obj:github_pr_org_list}'
396 github_pr_auth_id: '{github_pr_auth_id}'
397 status_context: 'CORD Jenkins - FOSSA Verification'
398
399 concurrent: false
400
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800401 project-type: pipeline
402 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800403
404# REUSE License Scan
405- job-template:
406 id: 'omec-reuse'
407 name: 'omec_{project}_reuse'
408 project-type: pipeline
409
410 description: |
411 <!-- Managed by Jenkins Job Builder -->
412 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
413
414 properties:
415 - cord-infra-properties:
416 build-days-to-keep: '{build-days-to-keep}'
417 artifact-num-to-keep: '{artifact-num-to-keep}'
418 - github:
419 url: 'https://github.com/{github-organization}/{project}'
420
421 wrappers:
422 - lf-infra-wrappers:
423 build-timeout: '{build-timeout}'
424 jenkins-ssh-credential: '{jenkins-ssh-credential}'
425
426 parameters:
427 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700428 name: ghprbPullId
429 default: '$ghprbPullId'
430 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
431
432 - string:
433 name: branch
434 default: '$ghprbTargetBranch'
435 description: 'Branch to run. Only used when manually run.'
436
437 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800438 name: buildNode
439 default: '{build-node}'
440 description: 'Name of the Jenkins executor node to run the job on'
441
442 - string:
443 name: project
444 default: '{project}'
445 description: 'Name of the project'
446
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700447 - string:
448 name: ghprbGhRepository
449 default: '{github-organization}/{project}'
450 description: 'Repository of the project.'
451
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800452 triggers:
453 - cord-infra-github-pr-trigger:
454 github_pr_org_list: '{obj:github_pr_org_list}'
455 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800456 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800457
458 concurrent: false
459
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800460 project-type: pipeline
461 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800462
Zack Williams320b3142019-03-14 23:10:01 -0700463# tests
464- job-template:
465 id: 'omec-tc1'
466 name: 'omec_tc1'
467 project-type: pipeline
468
469 description: |
470 <!-- Managed by Jenkins Job Builder -->
471 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
472
473 properties:
474 - cord-infra-properties:
475 build-days-to-keep: '{build-days-to-keep}'
476 artifact-num-to-keep: '{artifact-num-to-keep}'
477
478 wrappers:
479 - lf-infra-wrappers:
480 build-timeout: '{build-timeout}'
481 jenkins-ssh-credential: '{jenkins-ssh-credential}'
482
483 parameters:
484 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700485 name: buildNode
486 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700487 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700488
You Wang83055442020-04-17 14:54:40 -0700489 - string:
490 name: mmeRepo
491 default: 'openmme'
492 description: 'Name of the MME repo to test (openmme/Nucleus)'
493
Zack Williams5d81f812019-02-27 14:37:09 -0700494 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700495
496 pipeline-scm:
497 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
498 scm:
499 - git:
hwchiu14f97852019-10-08 10:51:11 -0700500 url: 'https://github.com/omec-project/omec-project-ci'
501 branches:
502 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700503
504- job-template:
505 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700506 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700507 project-type: pipeline
508
509 description: |
510 <!-- Managed by Jenkins Job Builder -->
511 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
512
513 properties:
514 - cord-infra-properties:
515 build-days-to-keep: '{build-days-to-keep}'
516 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700517
518 wrappers:
519 - lf-infra-wrappers:
520 build-timeout: '{build-timeout}'
521 jenkins-ssh-credential: '{jenkins-ssh-credential}'
522
523 parameters:
524 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700525 name: buildNode
526 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700527 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700528
You Wang83055442020-04-17 14:54:40 -0700529 - string:
530 name: mmeRepo
531 default: 'openmme'
532 description: 'Name of the MME repo to test (openmme/Nucleus)'
533
Zack Williams5d81f812019-02-27 14:37:09 -0700534 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700535
536 pipeline-scm:
537 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800538 scm:
539 - git:
hwchiu14f97852019-10-08 10:51:11 -0700540 url: 'https://github.com/omec-project/omec-project-ci'
541 branches:
542 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700543
You Wang5c15a7a2020-04-02 11:24:33 -0700544# Post-merge job
545# Triggered by Github pull request merge
546- job-template:
547 id: omec-postmerge
548 name: '{project}_postmerge'
549 description: |
550 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
551
552 properties:
553 - cord-infra-properties:
554 build-days-to-keep: '{build-days-to-keep}'
555 artifact-num-to-keep: '{artifact-num-to-keep}'
556
557 triggers:
558 - cord-infra-github-pr-trigger-merge:
559 project: '{project}'
560
561 wrappers:
562 - lf-infra-wrappers:
563 build-timeout: '{build-timeout}'
564 jenkins-ssh-credential: '{jenkins-ssh-credential}'
565
566 parameters:
567 - string:
568 name: buildNode
569 default: '{build-node}'
570 description: 'Name of the Jenkins node to run the job on'
571
572 - string:
You Wang40239452020-06-11 20:17:15 -0700573 name: registry
574 default: 'omecproject'
575 description: 'Docker registry to push images to'
576
577 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700578 name: repoName
579 default: ''
580 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
581
582 - string:
583 name: repoUrl
584 default: ''
585 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
586
587 - string:
588 name: branchName
589 default: ''
590 description: 'Branch of the project. Populated by Generic Webhook Trigger'
591
592 - string:
593 name: commitHash
594 default: ''
595 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
596
597 - string:
598 name: c3poBranchName
599 default: '{c3po-branch-name}'
600 description: 'Branch name of c3po repo which we run tests against'
601
602 - string:
603 name: ngicBranchName
604 default: '{ngic-branch-name}'
605 description: 'Branch name of ngic-rtc repo which we run tests against'
606
607 - string:
You Wang40239452020-06-11 20:17:15 -0700608 name: nucleusBranchName
609 default: '{nucleus-branch-name}'
610 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700611
612 - string:
613 name: maintainers
614 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
615 description: "The person that sould be notified if this job fails"
616
617 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700618 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700619
620 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700621
622# OMEC CI job which builds docker images, deploys and tests OMEC
623- job-template:
624 id: 'omec-container'
625 name: 'omec_{project}_container'
626 project-type: pipeline
627
628 description: |
629 <!-- Managed by Jenkins Job Builder -->
630 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
631
632 properties:
633 - cord-infra-properties:
634 build-days-to-keep: '{build-days-to-keep}'
635 artifact-num-to-keep: '{artifact-num-to-keep}'
636 - github:
637 url: 'https://github.com/{github-organization}/{project}'
638 - build-blocker:
639 use-build-blocker: true
640 blocking-jobs:
641 - "omec_.*_container"
642
643 wrappers:
644 - lf-infra-wrappers:
645 build-timeout: '{build-timeout}'
646 jenkins-ssh-credential: '{jenkins-ssh-credential}'
647
648 parameters:
649 - string:
650 name: buildNode
651 default: 'ng40-host-node'
652 description: 'Name of the Jenkins executor node to run the job on'
653
654 - string:
655 name: project
656 default: '{project}'
657 description: 'Name of the project'
658
659 - string:
660 name: ghprbTargetBranch
661 default: '$ghprbTargetBranch'
662 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
663
664 - string:
665 name: ghprbPullId
666 default: '$ghprbPullId'
667 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
668
669 - string:
670 name: ghprbActualCommit
671 default: '$ghprbActualCommit'
672 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
673
674 - string:
675 name: registry
676 default: 'registry.central.aetherproject.net'
677 description: 'Docker registry that stores images built for CI testing'
678
679 - string:
680 name: c3poBranch
681 default: 'master'
682 description: 'Branch name of c3po repo which we run tests against'
683
684 - string:
685 name: nucleusBranch
686 default: 'master'
687 description: 'Branch name of Nucleus repo which we run tests against'
688
689 - string:
690 name: ngicBranch
691 default: 'central-cp-multi-upfs'
692 description: 'Branch name of ngic-rtc repo which we run tests against'
693
694 triggers:
695 - cord-infra-github-pr-trigger:
696 github_pr_org_list: '{obj:github_pr_org_list}'
697 github_pr_auth_id: '{github_pr_auth_id}'
698 status_context: 'CORD Jenkins - Container Based Verification'
699
700 concurrent: false
701
702 pipeline-scm:
703 script-path: 'Jenkinsfile-omec-container.groovy'
704 scm:
705 - git:
706 url: 'https://github.com/{github-organization}/omec-project-ci'
707 branches:
708 - 'master'
709
710# OMEC deployment job
711- job-template:
712 id: 'omec-deploy'
713 name: 'omec_deploy_{pod}'
714 project-type: pipeline
715
716 description: |
717 <!-- Managed by Jenkins Job Builder -->
718 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
719
720 properties:
721 - cord-infra-properties:
722 build-days-to-keep: '{build-days-to-keep}'
723 artifact-num-to-keep: '{artifact-num-to-keep}'
724
725 wrappers:
726 - lf-infra-wrappers:
727 build-timeout: '{build-timeout}'
728 jenkins-ssh-credential: '{jenkins-ssh-credential}'
729
730 parameters:
731 - string:
732 name: buildNode
733 default: '{build-node}'
734 description: 'Name of the Jenkins executor node to run the job on.'
735
736 - string:
737 name: cpContext
738 default: '{cp-context}'
739 description: 'K8S context for omec control plane.'
740
741 - string:
742 name: dpContext
743 default: '{dp-context}'
744 description: 'K8S context for omec data plane.'
745
746 - string:
747 name: centralConfig
748 default: '{central-config}'
749 description: 'Directory name for central yaml files under aether-pod-configs.'
750
751 - string:
752 name: edgeConfig
753 default: '{edge-config}'
754 description: 'Directory name for edge yaml files under aether-pod-configs.'
755
756 - string:
757 name: hssdbImage
758 default: 'omecproject/c3po-hssdb:master-latest'
759 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
760
761 - string:
762 name: hssImage
763 default: 'omecproject/c3po-hss:master-latest'
764 description: 'Docker image for hss. Leave empty to use default helm-charts value'
765
766 - string:
767 name: mmeImage
768 default: 'omecproject/nucleus:master-latest'
769 description: 'Docker image for mme. Leave empty to use default helm-charts value'
770
771 - string:
772 name: spgwcImage
773 default: 'omecproject/ngic-cp:central-cp-multi-upfs-latest'
774 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
775
776 - string:
777 name: spgwuImage
778 default: 'omecproject/ngic-dp:central-cp-multi-upfs-latest-debug'
779 description: 'Docker image for spgwu. Leave empty to use default helm-charts value'
780
781 concurrent: false
782
783 pipeline-scm:
784 script-path: 'Jenkinsfile-omec-deploy.groovy'
785 scm:
786 - git:
787 url: 'https://github.com/{github-organization}/omec-project-ci'
788 branches:
789 - 'master'
790
791# OMEC test job
792- job-template:
793 id: 'omec-ng40-test'
794 name: 'omec_ng40-test_{pod}'
795 project-type: pipeline
796
797 description: |
798 <!-- Managed by Jenkins Job Builder -->
799 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
800
801 properties:
802 - cord-infra-properties:
803 build-days-to-keep: '{build-days-to-keep}'
804 artifact-num-to-keep: '{artifact-num-to-keep}'
805
806 wrappers:
807 - lf-infra-wrappers:
808 build-timeout: '{build-timeout}'
809 jenkins-ssh-credential: '{jenkins-ssh-credential}'
810
811 parameters:
812 - string:
813 name: buildNode
814 default: '{build-node}'
815 description: 'Name of the Jenkins executor node to run the job on.'
816
817 - string:
818 name: ng40VM
819 default: '{ng40-vm}'
820 description: 'user@IP for accessing NG40 VM from the build node.'
821
822 - string:
823 name: ntlFile
824 default: 'run.ntl'
825 description: 'NG40 test automation file'
826
827 concurrent: false
828
829 pipeline-scm:
830 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
831 scm:
832 - git:
833 url: 'https://github.com/{github-organization}/omec-project-ci'
834 branches:
835 - 'master'