blob: fa0915469cf9d10a848a6419224cb76ad233f0c4 [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'
You Wang1ebab212020-11-17 16:39:56 -080011 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080012 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams320b3142019-03-14 23:10:01 -070013
14 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
15 github_pr_org_list:
16 - 'omec-project'
17
18 jobs:
19 - 'omec-tc1'
20 - 'omec-tc2'
You Wang3cc17af2020-06-12 14:56:10 -070021 - 'omec-deploy':
22 pod: 'dev'
23 build-node: 'omec-ci'
You Wangb68b3d12021-01-12 09:00:06 -080024 cp-context: 'acc-dev-gcp'
25 dp-context: 'ace-dev-menlo'
26 central-config: 'acc-dev-gcp/app_values/omec-cp.yaml'
27 edge-config: 'ace-dev-menlo/app_values/omec-upf.yaml'
You Wang3cc17af2020-06-12 14:56:10 -070028 - 'omec-ng40-test':
29 pod: 'dev'
Jeremy Ronquillo083fc462020-10-14 20:44:39 +000030 build-node: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -070031 ng40-vm: 'ng40@192.168.122.101'
You Wangb68b3d12021-01-12 09:00:06 -080032 cp-context: 'acc-dev-gcp'
33 dp-context: 'ace-dev-menlo'
You Wangc8955b12020-06-19 14:22:12 -070034 - 'omec-archive-artifacts':
35 pod: 'dev'
36 build-node: 'omec-ci'
You Wangb68b3d12021-01-12 09:00:06 -080037 cp-context: 'acc-dev-gcp'
38 dp-context: 'ace-dev-menlo'
You Wangc1f71962020-10-06 16:26:34 -070039 log-since: '1h'
You Wang4f14afd2021-01-19 13:44:07 -080040 - 'omec-post-results':
41 pod: 'dev'
42 build-node: 'omec-ci'
You Wang5c15a7a2020-04-02 11:24:33 -070043 - 'omec-postmerge':
44 project: '{name}'
You Wang40239452020-06-11 20:17:15 -070045 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070046 c3po-branch-name: 'master'
You Wang425d49f2020-07-29 21:43:28 -070047 spgw-branch-name: 'master'
You Wang40239452020-06-11 20:17:15 -070048 nucleus-branch-name: 'master'
You Wange1cbba22020-06-15 21:16:14 -070049 upf-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070050 pipeline-file: 'omec-postmerge.groovy'
You Wangf5a80032021-01-19 09:13:18 -080051 - 'omec-nightly':
52 pod: 'dev'
53 build-node: 'omec-ci'
54 type: 'func'
55 build-timeout: 30
56 ntl-file: 'func.ntl'
57 time: '1'
58 desc: |
59 <img src="https://jenkins.opencord.org/job/omec_func_dev/lastCompletedBuild/artifact/plots/plot.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/>
60 - 'omec-nightly':
61 pod: 'dev'
62 build-node: 'omec-ci'
63 type: 'scale'
64 build-timeout: 180
65 ntl-file: 'scale-16k-rate10.ntl'
66 time: '2'
67 desc: |
68 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/attach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
69 ----------<br />
70 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/detach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
71 ----------<br />
72 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/ping.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
Zack Williams320b3142019-03-14 23:10:01 -070073
Zack Williams73c3cf42019-02-25 23:43:22 -070074# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080075- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070076 name: ngic-rtc
77 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080078
Zack Williamsb3292082019-10-11 17:15:18 -070079 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070080 github-organization: 'omec-project'
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'
You Wang54afc7f2020-11-17 18:07:19 -080084 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080085 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070086
Kailashbe4dc092019-01-23 09:22:17 -080087 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070088 - 'omec-combined':
89 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070090 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070091 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070092 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070093 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070094 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080095 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080096 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070097 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080098 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080099 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700100 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700101 - 'docker-publish-github':
102 build-timeout: 30
103 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700104 build-node: 'ubuntu18.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -0700105 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700106
Zack Williamse306e572019-04-18 07:12:46 -0700107# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700108- project:
Zack Williamse306e572019-04-18 07:12:46 -0700109 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700110 project: '{name}'
111
Zack Williamsb3292082019-10-11 17:15:18 -0700112 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700113 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700114 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
115 github_pr_org_list:
116 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800117 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800118 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700119
Zack Williams73c3cf42019-02-25 23:43:22 -0700120 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700121 - 'omec-combined':
122 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -0700123 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -0700124 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700125 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -0700126 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -0700127 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -0700128 - 'omec-install':
129 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -0700130 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -0700131 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800132 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800133 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700134 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800135 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800136 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700137 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700138 - 'docker-publish-github':
139 build-timeout: 30
140 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700141 build-node: 'ubuntu18.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700142 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800143 - 'omec-container-remote':
144 pod: 'dev'
145 remote-jenkins-name: 'Aether Jenkins'
146 pipeline-file: 'omec-container-remote.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -0700147
148# for openmme
149- project:
150 name: openmme
151 project: '{name}'
152
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700153 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700154 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700155 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
156 github_pr_org_list:
157 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800158 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800159 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700160
Zack Williams73c3cf42019-02-25 23:43:22 -0700161 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700162 - 'omec-combined':
163 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700164 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700165 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700166 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700167 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700168 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800169 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800170 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700171 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800172 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800173 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700174 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700175 - 'docker-publish-github':
176 build-timeout: 30
177 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700178 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700179
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800180# for nucleus
181- project:
182 name: Nucleus
183 project: '{name}'
184
185 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800186 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800187 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
188 github_pr_org_list:
189 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800190 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800191 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800192
193 jobs:
You Wang83055442020-04-17 14:54:40 -0700194 - 'omec-combined':
195 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
196 mme-repo: 'Nucleus'
197 - 'omec-install':
198 sub-project: '{name}'
199 branch: 'master'
200 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800201 - 'omec-fossa':
202 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700203 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800204 - 'omec-reuse':
205 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700206 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800207 - 'omec-cppcheck':
208 pipeline-file: 'omec-cppcheck.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700209 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700210 - 'docker-publish-github':
211 build-timeout: 60
212 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700213 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700214 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800215 - 'omec-container-remote':
216 pod: 'dev'
217 remote-jenkins-name: 'Aether Jenkins'
218 pipeline-file: 'omec-container-remote.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800219
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800220# for freediameter
221- project:
222 name: freediameter
223 project: '{name}'
224
225 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800226 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800227 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
228 github_pr_org_list:
229 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800230 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800231 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800232
233 jobs:
234 - 'omec-fossa':
235 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700236 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800237 - 'omec-reuse':
238 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700239 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800240
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700241# for ignite
242- project:
243 name: ignite
244 project: '{name}'
245
246 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700247 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700248 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
249 github_pr_org_list:
250 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800251 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800252 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700253
254 jobs:
255 - 'omec-fossa':
256 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700257 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700258 - 'omec-reuse':
259 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700260 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700261
You Wangccc13492020-04-01 11:11:59 -0700262# for upf-epc
263- project:
264 name: upf-epc
265 project: '{name}'
266
267 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700268 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
269 github_pr_org_list:
270 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800271 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800272 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700273
274 jobs:
275 - 'omec-fossa':
276 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700277 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700278 - 'omec-reuse':
279 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700280 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700281 - 'docker-publish-github':
282 build-timeout: 30
283 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700284 build-node: 'ubuntu18.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700285 extraEnvironmentVars: CPU=haswell
You Wange1cbba22020-06-15 21:16:14 -0700286 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800287 - 'omec-container-remote':
288 pod: 'dev'
289 remote-jenkins-name: 'Aether Jenkins'
290 pipeline-file: 'omec-container-remote.groovy'
You Wangccc13492020-04-01 11:11:59 -0700291
Zack Williams320b3142019-03-14 23:10:01 -0700292# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800293- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700294 id: 'omec-combined'
295 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800296 project-type: pipeline
297
298 description: |
299 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700300 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800301
You Wangd1a54642021-02-05 15:42:04 -0800302 disabled: true
303
Kailashbe4dc092019-01-23 09:22:17 -0800304 properties:
305 - cord-infra-properties:
306 build-days-to-keep: '{build-days-to-keep}'
307 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700308 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700309 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700310 - build-blocker:
311 use-build-blocker: true
312 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700313 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800314
315 wrappers:
316 - lf-infra-wrappers:
317 build-timeout: '{build-timeout}'
318 jenkins-ssh-credential: '{jenkins-ssh-credential}'
319
320 parameters:
321 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700322 name: buildNode
323 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700324 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800325
326 - string:
hwchiu14f97852019-10-08 10:51:11 -0700327 name: project
328 default: '{project}'
329 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800330
You Wang83055442020-04-17 14:54:40 -0700331 - string:
332 name: mmeRepo
333 default: '{mme-repo}'
334 description: 'Name of the MME repo to test (openmme/Nucleus)'
335
Zack Williams73c3cf42019-02-25 23:43:22 -0700336 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700337 - cord-infra-github-pr-trigger:
338 github_pr_org_list: '{obj:github_pr_org_list}'
339 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800340 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700341
Zack Williams5d81f812019-02-27 14:37:09 -0700342 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800343
344 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700345 script-path: '{pipeline-file}'
346 scm:
347 - git:
hwchiu14f97852019-10-08 10:51:11 -0700348 url: 'https://github.com/{github-organization}/omec-project-ci'
349 branches:
350 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700351
Zack Williams320b3142019-03-14 23:10:01 -0700352# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700353- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700354 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700355 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700356 project-type: pipeline
357
358 description: |
359 <!-- Managed by Jenkins Job Builder -->
360 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
361
You Wangd78fec62021-02-08 16:07:46 -0800362 disabled: true
363
Zack Williams73c3cf42019-02-25 23:43:22 -0700364 properties:
365 - cord-infra-properties:
366 build-days-to-keep: '{build-days-to-keep}'
367 artifact-num-to-keep: '{artifact-num-to-keep}'
368 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700369 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700370
371 wrappers:
372 - lf-infra-wrappers:
373 build-timeout: '{build-timeout}'
374 jenkins-ssh-credential: '{jenkins-ssh-credential}'
375
376 parameters:
377 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700378 name: buildNode
379 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700380 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700381
382 - string:
hwchiu14f97852019-10-08 10:51:11 -0700383 name: project
384 default: '{project}'
385 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700386
You Wang8addd4c2020-04-14 16:25:57 -0700387 - string:
388 name: branch
389 default: '{branch}'
390 description: 'Branch of the project'
391
Zack Williams320b3142019-03-14 23:10:01 -0700392 concurrent: false
393
394 pipeline-scm:
395 script-path: '{pipeline-file}'
396 scm:
397 - git:
hwchiu14f97852019-10-08 10:51:11 -0700398 url: 'https://github.com/{github-organization}/omec-project-ci'
399 branches:
400 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700401
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800402# FOSSA License Scan
403- job-template:
404 id: 'omec-fossa'
405 name: 'omec_{project}_fossa'
406 project-type: pipeline
407
408 description: |
409 <!-- Managed by Jenkins Job Builder -->
410 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
411
412 properties:
413 - cord-infra-properties:
414 build-days-to-keep: '{build-days-to-keep}'
415 artifact-num-to-keep: '{artifact-num-to-keep}'
416 - github:
417 url: 'https://github.com/{github-organization}/{project}'
418
419 wrappers:
420 - lf-infra-wrappers:
421 build-timeout: '{build-timeout}'
422 jenkins-ssh-credential: '{jenkins-ssh-credential}'
423
424 parameters:
425 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700426 name: ghprbPullId
427 default: '$ghprbPullId'
428 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
429
430 - string:
431 name: branch
432 default: '$ghprbTargetBranch'
433 description: 'Branch to run. Only used when manually run.'
434
435 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800436 name: buildNode
437 default: '{build-node}'
438 description: 'Name of the Jenkins executor node to run the job on'
439
440 - string:
441 name: project
442 default: '{project}'
443 description: 'Name of the project'
444
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700445 - string:
446 name: ghprbGhRepository
447 default: '{github-organization}/{project}'
448 description: 'Repository of the project.'
449
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800450 triggers:
451 - cord-infra-github-pr-trigger:
452 github_pr_org_list: '{obj:github_pr_org_list}'
453 github_pr_auth_id: '{github_pr_auth_id}'
454 status_context: 'CORD Jenkins - FOSSA Verification'
455
456 concurrent: false
457
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800458 project-type: pipeline
459 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800460
461# REUSE License Scan
462- job-template:
463 id: 'omec-reuse'
464 name: 'omec_{project}_reuse'
465 project-type: pipeline
466
467 description: |
468 <!-- Managed by Jenkins Job Builder -->
469 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
470
471 properties:
472 - cord-infra-properties:
473 build-days-to-keep: '{build-days-to-keep}'
474 artifact-num-to-keep: '{artifact-num-to-keep}'
475 - github:
476 url: 'https://github.com/{github-organization}/{project}'
477
478 wrappers:
479 - lf-infra-wrappers:
480 build-timeout: '{build-timeout}'
481 jenkins-ssh-credential: '{jenkins-ssh-credential}'
482
483 parameters:
484 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700485 name: ghprbPullId
486 default: '$ghprbPullId'
487 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
488
489 - string:
490 name: branch
491 default: '$ghprbTargetBranch'
492 description: 'Branch to run. Only used when manually run.'
493
494 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800495 name: buildNode
496 default: '{build-node}'
497 description: 'Name of the Jenkins executor node to run the job on'
498
499 - string:
500 name: project
501 default: '{project}'
502 description: 'Name of the project'
503
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700504 - string:
505 name: ghprbGhRepository
506 default: '{github-organization}/{project}'
507 description: 'Repository of the project.'
508
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800509 triggers:
510 - cord-infra-github-pr-trigger:
511 github_pr_org_list: '{obj:github_pr_org_list}'
512 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800513 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800514
515 concurrent: false
516
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800517 project-type: pipeline
518 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800519
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800520# cppcheck
521- job-template:
522 id: 'omec-cppcheck'
523 name: 'omec_{project}-cppcheck'
524 project-type: pipeline
525
526 description: |
527 <!-- Managed by Jenkins Job Builder -->
528 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
529
530 properties:
531 - cord-infra-properties:
532 build-days-to-keep: '{build-days-to-keep}'
533 artifact-num-to-keep: '{artifact-num-to-keep}'
534 - github:
535 url: 'https://github.com/{github-organization}/{project}'
536
537 wrappers:
538 - lf-infra-wrappers:
539 build-timeout: '{build-timeout}'
540 jenkins-ssh-credential: '{jenkins-ssh-credential}'
541
542 parameters:
543 - string:
544 name: ghprbPullId
545 default: '$ghprbPullId'
546 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
547
548 - string:
549 name: branch
550 default: '$ghprbTargetBranch'
551 description: 'Branch to run. Only used when manually run.'
552
553 - string:
554 name: buildNode
555 default: '{build-node}'
556 description: 'Name of the Jenkins executor node to run the job on'
557
558 - string:
559 name: project
560 default: '{project}'
561 description: 'Name of the project'
562
563 - string:
564 name: ghprbGhRepository
565 default: '{github-organization}/{project}'
566 description: 'Repository of the project.'
567
568 triggers:
569 - cord-infra-github-pr-trigger:
570 github_pr_org_list: '{obj:github_pr_org_list}'
571 github_pr_auth_id: '{github_pr_auth_id}'
572 status_context: 'CORD Jenkins - cppcheck Verification'
573
574 concurrent: false
575
576 project-type: pipeline
577 dsl: !include-raw-escape: pipeline/{pipeline-file}
578
Zack Williams320b3142019-03-14 23:10:01 -0700579# tests
580- job-template:
581 id: 'omec-tc1'
582 name: 'omec_tc1'
583 project-type: pipeline
584
585 description: |
586 <!-- Managed by Jenkins Job Builder -->
587 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
588
You Wangd78fec62021-02-08 16:07:46 -0800589 disabled: true
590
Zack Williams320b3142019-03-14 23:10:01 -0700591 properties:
592 - cord-infra-properties:
593 build-days-to-keep: '{build-days-to-keep}'
594 artifact-num-to-keep: '{artifact-num-to-keep}'
595
596 wrappers:
597 - lf-infra-wrappers:
598 build-timeout: '{build-timeout}'
599 jenkins-ssh-credential: '{jenkins-ssh-credential}'
600
601 parameters:
602 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700603 name: buildNode
604 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700605 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700606
You Wang83055442020-04-17 14:54:40 -0700607 - string:
608 name: mmeRepo
609 default: 'openmme'
610 description: 'Name of the MME repo to test (openmme/Nucleus)'
611
Zack Williams5d81f812019-02-27 14:37:09 -0700612 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700613
614 pipeline-scm:
615 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
616 scm:
617 - git:
hwchiu14f97852019-10-08 10:51:11 -0700618 url: 'https://github.com/omec-project/omec-project-ci'
619 branches:
620 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700621
622- job-template:
623 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700624 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700625 project-type: pipeline
626
627 description: |
628 <!-- Managed by Jenkins Job Builder -->
629 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
630
You Wangd78fec62021-02-08 16:07:46 -0800631 disabled: true
632
Zack Williams73c3cf42019-02-25 23:43:22 -0700633 properties:
634 - cord-infra-properties:
635 build-days-to-keep: '{build-days-to-keep}'
636 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700637
638 wrappers:
639 - lf-infra-wrappers:
640 build-timeout: '{build-timeout}'
641 jenkins-ssh-credential: '{jenkins-ssh-credential}'
642
643 parameters:
644 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700645 name: buildNode
646 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700647 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700648
You Wang83055442020-04-17 14:54:40 -0700649 - string:
650 name: mmeRepo
651 default: 'openmme'
652 description: 'Name of the MME repo to test (openmme/Nucleus)'
653
Zack Williams5d81f812019-02-27 14:37:09 -0700654 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700655
656 pipeline-scm:
657 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800658 scm:
659 - git:
hwchiu14f97852019-10-08 10:51:11 -0700660 url: 'https://github.com/omec-project/omec-project-ci'
661 branches:
662 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700663
You Wang5c15a7a2020-04-02 11:24:33 -0700664# Post-merge job
665# Triggered by Github pull request merge
666- job-template:
667 id: omec-postmerge
668 name: '{project}_postmerge'
669 description: |
670 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
671
672 properties:
673 - cord-infra-properties:
674 build-days-to-keep: '{build-days-to-keep}'
675 artifact-num-to-keep: '{artifact-num-to-keep}'
676
677 triggers:
678 - cord-infra-github-pr-trigger-merge:
679 project: '{project}'
680
681 wrappers:
682 - lf-infra-wrappers:
683 build-timeout: '{build-timeout}'
684 jenkins-ssh-credential: '{jenkins-ssh-credential}'
685
686 parameters:
687 - string:
688 name: buildNode
689 default: '{build-node}'
690 description: 'Name of the Jenkins node to run the job on'
691
692 - string:
You Wang8be478b2020-11-17 14:41:16 -0800693 name: registryProxy
694 default: '{registry-proxy}'
695 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700696
697 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700698 name: repoName
699 default: ''
700 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
701
702 - string:
703 name: repoUrl
704 default: ''
705 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
706
707 - string:
708 name: branchName
709 default: ''
710 description: 'Branch of the project. Populated by Generic Webhook Trigger'
711
712 - string:
713 name: commitHash
714 default: ''
715 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
716
717 - string:
718 name: c3poBranchName
719 default: '{c3po-branch-name}'
720 description: 'Branch name of c3po repo which we run tests against'
721
722 - string:
You Wang425d49f2020-07-29 21:43:28 -0700723 name: spgwBranchName
724 default: '{spgw-branch-name}'
725 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700726
727 - string:
You Wang40239452020-06-11 20:17:15 -0700728 name: nucleusBranchName
729 default: '{nucleus-branch-name}'
730 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700731
732 - string:
You Wange1cbba22020-06-15 21:16:14 -0700733 name: upfBranchName
734 default: '{upf-branch-name}'
735 description: 'Branch name of upf-epc repo which we run tests against'
736
737 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700738 name: maintainers
739 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
740 description: "The person that sould be notified if this job fails"
741
742 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700743 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700744
745 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700746
747# OMEC CI job which builds docker images, deploys and tests OMEC
748- job-template:
749 id: 'omec-container'
750 name: 'omec_{project}_container'
751 project-type: pipeline
752
753 description: |
754 <!-- Managed by Jenkins Job Builder -->
755 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
756
You Wangd1a54642021-02-05 15:42:04 -0800757 disabled: true
758
You Wang3cc17af2020-06-12 14:56:10 -0700759 properties:
760 - cord-infra-properties:
761 build-days-to-keep: '{build-days-to-keep}'
762 artifact-num-to-keep: '{artifact-num-to-keep}'
763 - github:
764 url: 'https://github.com/{github-organization}/{project}'
765 - build-blocker:
766 use-build-blocker: true
767 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700768 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700769
770 wrappers:
771 - lf-infra-wrappers:
772 build-timeout: '{build-timeout}'
773 jenkins-ssh-credential: '{jenkins-ssh-credential}'
774
775 parameters:
776 - string:
777 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000778 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700779 description: 'Name of the Jenkins executor node to run the job on'
780
781 - string:
782 name: project
783 default: '{project}'
784 description: 'Name of the project'
785
786 - string:
787 name: ghprbTargetBranch
788 default: '$ghprbTargetBranch'
789 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
790
791 - string:
792 name: ghprbPullId
793 default: '$ghprbPullId'
794 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
795
796 - string:
797 name: ghprbActualCommit
798 default: '$ghprbActualCommit'
799 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
800
801 - string:
802 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800803 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700804 description: 'Docker registry that stores images built for CI testing'
805
806 - string:
You Wang8be478b2020-11-17 14:41:16 -0800807 name: registryProxy
808 default: '{registry-proxy}'
809 description: 'Harbor proxy which caches dockerhub images'
810
811 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700812 name: c3poBranch
813 default: 'master'
814 description: 'Branch name of c3po repo which we run tests against'
815
816 - string:
817 name: nucleusBranch
818 default: 'master'
819 description: 'Branch name of Nucleus repo which we run tests against'
820
821 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700822 name: spgwBranch
823 default: 'master'
824 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700825
You Wange1cbba22020-06-15 21:16:14 -0700826 - string:
827 name: upfBranch
828 default: 'master'
829 description: 'Branch name of upf-epc repo which we run tests against'
830
You Wang3cc17af2020-06-12 14:56:10 -0700831 triggers:
832 - cord-infra-github-pr-trigger:
833 github_pr_org_list: '{obj:github_pr_org_list}'
834 github_pr_auth_id: '{github_pr_auth_id}'
835 status_context: 'CORD Jenkins - Container Based Verification'
836
837 concurrent: false
838
839 pipeline-scm:
840 script-path: 'Jenkinsfile-omec-container.groovy'
841 scm:
842 - git:
843 url: 'https://github.com/{github-organization}/omec-project-ci'
844 branches:
845 - 'master'
846
847# OMEC deployment job
848- job-template:
849 id: 'omec-deploy'
850 name: 'omec_deploy_{pod}'
851 project-type: pipeline
852
853 description: |
854 <!-- Managed by Jenkins Job Builder -->
855 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
856
You Wangd78fec62021-02-08 16:07:46 -0800857 disabled: true
858
You Wang3cc17af2020-06-12 14:56:10 -0700859 properties:
860 - cord-infra-properties:
861 build-days-to-keep: '{build-days-to-keep}'
862 artifact-num-to-keep: '{artifact-num-to-keep}'
863
864 wrappers:
865 - lf-infra-wrappers:
866 build-timeout: '{build-timeout}'
867 jenkins-ssh-credential: '{jenkins-ssh-credential}'
868
869 parameters:
870 - string:
871 name: buildNode
872 default: '{build-node}'
873 description: 'Name of the Jenkins executor node to run the job on.'
874
875 - string:
876 name: cpContext
877 default: '{cp-context}'
878 description: 'K8S context for omec control plane.'
879
880 - string:
881 name: dpContext
882 default: '{dp-context}'
883 description: 'K8S context for omec data plane.'
884
885 - string:
886 name: centralConfig
887 default: '{central-config}'
888 description: 'Directory name for central yaml files under aether-pod-configs.'
889
890 - string:
891 name: edgeConfig
892 default: '{edge-config}'
893 description: 'Directory name for edge yaml files under aether-pod-configs.'
894
895 - string:
896 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800897 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700898 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
899
900 - string:
901 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800902 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700903 description: 'Docker image for hss. Leave empty to use default helm-charts value'
904
905 - string:
906 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800907 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700908 description: 'Docker image for mme. Leave empty to use default helm-charts value'
909
910 - string:
911 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800912 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700913 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
914
915 - string:
You Wange1cbba22020-06-15 21:16:14 -0700916 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800917 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700918 description: 'Docker image for bess. Leave empty to use default helm-charts value'
919
920 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700921 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800922 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700923 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
924
925 - string:
926 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800927 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700928 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700929
930 concurrent: false
931
932 pipeline-scm:
933 script-path: 'Jenkinsfile-omec-deploy.groovy'
934 scm:
935 - git:
936 url: 'https://github.com/{github-organization}/omec-project-ci'
937 branches:
938 - 'master'
939
940# OMEC test job
941- job-template:
942 id: 'omec-ng40-test'
943 name: 'omec_ng40-test_{pod}'
944 project-type: pipeline
945
946 description: |
947 <!-- Managed by Jenkins Job Builder -->
948 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
949
You Wangd78fec62021-02-08 16:07:46 -0800950 disabled: true
951
You Wang3cc17af2020-06-12 14:56:10 -0700952 properties:
953 - cord-infra-properties:
954 build-days-to-keep: '{build-days-to-keep}'
955 artifact-num-to-keep: '{artifact-num-to-keep}'
956
957 wrappers:
958 - lf-infra-wrappers:
959 build-timeout: '{build-timeout}'
960 jenkins-ssh-credential: '{jenkins-ssh-credential}'
961
962 parameters:
963 - string:
964 name: buildNode
965 default: '{build-node}'
966 description: 'Name of the Jenkins executor node to run the job on.'
967
968 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700969 name: timeout
970 default: '30'
971 description: 'Timeout period for this pipeline in minutes.'
972
973 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700974 name: ng40VM
975 default: '{ng40-vm}'
976 description: 'user@IP for accessing NG40 VM from the build node.'
977
978 - string:
979 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800980 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700981 description: 'NG40 test automation file'
982
You Wangadd58172020-06-23 20:09:28 -0700983 - string:
984 name: cpContext
985 default: '{cp-context}'
986 description: 'K8S context for omec control plane.'
987
988 - string:
989 name: dpContext
990 default: '{dp-context}'
991 description: 'K8S context for omec data plane.'
992
You Wang3cc17af2020-06-12 14:56:10 -0700993 concurrent: false
994
995 pipeline-scm:
996 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
997 scm:
998 - git:
999 url: 'https://github.com/{github-organization}/omec-project-ci'
1000 branches:
1001 - 'master'
You Wangc8955b12020-06-19 14:22:12 -07001002
1003# OMEC archive artifacts job
1004- job-template:
1005 id: 'omec-archive-artifacts'
1006 name: 'omec_archive-artifacts_{pod}'
1007 project-type: pipeline
1008
1009 description: |
1010 <!-- Managed by Jenkins Job Builder -->
1011 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1012
You Wangd78fec62021-02-08 16:07:46 -08001013 disabled: true
1014
You Wangc8955b12020-06-19 14:22:12 -07001015 properties:
1016 - cord-infra-properties:
1017 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -08001018 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -07001019
1020 wrappers:
1021 - lf-infra-wrappers:
1022 build-timeout: '{build-timeout}'
1023 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1024
1025 parameters:
1026 - string:
1027 name: buildNode
1028 default: '{build-node}'
1029 description: 'Name of the Jenkins executor node to run the job on.'
1030
1031 - string:
1032 name: cpContext
1033 default: '{cp-context}'
1034 description: 'K8S context for omec control plane.'
1035
1036 - string:
1037 name: dpContext
1038 default: '{dp-context}'
1039 description: 'K8S context for omec data plane.'
1040
You Wangc1f71962020-10-06 16:26:34 -07001041 - string:
1042 name: logSince
1043 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -08001044 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
1045
1046 - string:
1047 name: logSinceTime
1048 default: ''
1049 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -07001050
You Wangc8955b12020-06-19 14:22:12 -07001051 concurrent: false
1052
1053 pipeline-scm:
1054 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1055 scm:
1056 - git:
1057 url: 'https://github.com/{github-organization}/omec-project-ci'
1058 branches:
1059 - 'master'
You Wangf5a80032021-01-19 09:13:18 -08001060
1061# OMEC nightly job
1062- job-template:
1063 id: 'omec-nightly'
1064 name: 'omec_{type}_{pod}'
1065 project-type: pipeline
1066
1067 description: |
1068 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1069 {desc}
1070
You Wangd78fec62021-02-08 16:07:46 -08001071 disabled: true
1072
You Wangf5a80032021-01-19 09:13:18 -08001073 properties:
1074 - cord-infra-properties:
1075 build-days-to-keep: '{build-days-to-keep}'
1076 artifact-num-to-keep: '{artifact-num-to-keep}'
1077
1078 wrappers:
1079 - lf-infra-wrappers:
1080 build-timeout: '{build-timeout}'
1081 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1082
1083 parameters:
1084 - string:
1085 name: buildNode
1086 default: '{build-node}'
1087 description: 'Name of the Jenkins executor node to run the job on'
1088
1089 - string:
1090 name: testType
1091 default: '{type}'
1092 description: 'Type of test'
1093
1094 - string:
1095 name: pod
1096 default: '{pod}'
1097 description: 'Name of OMEC POD'
1098
1099 - string:
1100 name: timeout
1101 default: '{build-timeout}'
1102 description: 'Timeout period for this pipeline in minutes'
1103
1104 - string:
1105 name: ntlFile
1106 default: '{ntl-file}'
1107 description: 'NG40 test automation file'
1108
1109 - bool:
1110 name: redeploy
1111 default: true
1112 description: 'Redeploy OMEC before running tests if set to true'
1113
You Wangbaeea362021-01-19 14:11:15 -08001114 - string:
1115 name: hssdbImage
1116 default: '{registry-proxy}/c3po-hssdb:master-latest'
1117 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
1118
1119 - string:
1120 name: hssImage
1121 default: '{registry-proxy}/c3po-hss:master-latest'
1122 description: 'Docker image for hss. Leave empty to use default helm-charts value'
1123
1124 - string:
1125 name: mmeImage
1126 default: '{registry-proxy}/nucleus:master-latest'
1127 description: 'Docker image for mme. Leave empty to use default helm-charts value'
1128
1129 - string:
1130 name: spgwcImage
1131 default: '{registry-proxy}/spgw:master-latest'
1132 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
1133
1134 - string:
1135 name: bessImage
1136 default: '{registry-proxy}/upf-epc-bess:master-latest'
1137 description: 'Docker image for bess. Leave empty to use default helm-charts value'
1138
1139 - string:
1140 name: zmqifaceImage
1141 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
1142 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
1143
1144 - string:
1145 name: pfcpifaceImage
1146 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
1147 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
1148
You Wang174622a2021-01-27 14:57:03 -08001149 - string:
1150 name: maintainers
1151 default: 'you@opennetworking.org'
1152 description: "The person that sould be notified if this job fails"
1153
You Wangf5a80032021-01-19 09:13:18 -08001154 concurrent: false
1155
1156 triggers:
1157 - timed: |
1158 TZ=America/Los_Angeles
1159 H {time} * * *
1160
1161 pipeline-scm:
1162 script-path: 'Jenkinsfile-omec-nightly.groovy'
1163 scm:
1164 - git:
1165 url: 'https://github.com/{github-organization}/omec-project-ci'
1166 branches:
1167 - 'master'
You Wang4f14afd2021-01-19 13:44:07 -08001168
1169# OMEC post results job
1170- job-template:
1171 id: 'omec-post-results'
1172 name: 'omec_post-results_{pod}'
1173 project-type: pipeline
1174
1175 description: |
1176 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1177
You Wangd78fec62021-02-08 16:07:46 -08001178 disabled: true
1179
You Wang4f14afd2021-01-19 13:44:07 -08001180 properties:
1181 - cord-infra-properties:
1182 build-days-to-keep: '{build-days-to-keep}'
1183 artifact-num-to-keep: 2
1184
1185 wrappers:
1186 - lf-infra-wrappers:
1187 build-timeout: '{build-timeout}'
1188 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1189
1190 parameters:
1191 - string:
1192 name: buildNode
1193 default: '{build-node}'
1194 description: 'Name of the Jenkins executor node to run the job on'
1195
1196 - string:
1197 name: pod
1198 default: '{pod}'
1199 description: 'Name of OMEC pod'
1200
1201 - string:
1202 name: testType
1203 default: 'scale'
1204 description: 'Type of test e.g. scale, func, etc.'
1205
1206 - string:
1207 name: buildNumber
1208 default: '0'
1209 description: 'Build number of upstream job'
1210
1211 concurrent: false
1212
1213 pipeline-scm:
1214 script-path: 'Jenkinsfile-omec-post-results.groovy'
1215 scm:
1216 - git:
1217 url: 'https://github.com/{github-organization}/omec-project-ci'
1218 branches:
1219 - 'master'
You Wangd1a54642021-02-05 15:42:04 -08001220
1221# OMEC CI job which replaces the original container job
1222- job-template:
1223 id: 'omec-container-remote'
You Wang1c915392021-02-06 15:22:41 -08001224 name: 'omec_{project}_container_remote'
You Wangd1a54642021-02-05 15:42:04 -08001225
1226 description: |
1227 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
1228
1229 properties:
1230 - cord-infra-properties:
1231 build-days-to-keep: '{build-days-to-keep}'
1232 artifact-num-to-keep: '{artifact-num-to-keep}'
1233 - github:
1234 url: 'https://github.com/{github-organization}/{project}'
1235
1236 wrappers:
1237 - lf-infra-wrappers:
1238 build-timeout: '{build-timeout}'
1239 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1240
1241 parameters:
1242 - string:
1243 name: buildNode
1244 default: 'omec-ci'
1245 description: 'Name of the Jenkins executor node to run the job on'
1246
1247 - string:
1248 name: project
1249 default: '{project}'
1250 description: 'Name of the project'
1251
1252 - string:
1253 name: pod
1254 default: '{pod}'
1255 description: 'Name of OMEC pod'
1256
1257 - string:
1258 name: remoteJenkinsName
1259 default: '{remote-jenkins-name}'
1260 description: 'Name of the remote Jenkins instance that runs the job'
1261
1262 - string:
1263 name: ghprbTargetBranch
1264 default: '$ghprbTargetBranch'
1265 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1266
1267 - string:
1268 name: ghprbPullId
1269 default: '$ghprbPullId'
1270 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1271
1272 - string:
1273 name: ghprbActualCommit
1274 default: '$ghprbActualCommit'
1275 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1276
1277 triggers:
1278 - cord-infra-github-pr-trigger:
1279 github_pr_org_list: '{obj:github_pr_org_list}'
1280 github_pr_auth_id: '{github_pr_auth_id}'
1281 status_context: 'CORD Jenkins - Container Based Verification'
1282
1283 concurrent: false
1284
1285 project-type: pipeline
1286 dsl: !include-raw-escape: pipeline/{pipeline-file}