blob: a1b609a8c5de582cc7fee3b07a5af6ffbcb683dc [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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070097 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700100 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700101 - 'docker-publish-github':
102 build-timeout: 30
103 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700104 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700134 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700137 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700138 - 'docker-publish-github':
139 build-timeout: 30
140 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -0700141 build-node: 'ubuntu16.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':
You Wangde433552021-05-12 09:16:37 -0700144 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800145 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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700171 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700174 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700175 - 'docker-publish-github':
176 build-timeout: 30
177 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700178 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700203 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800204 - 'omec-reuse':
205 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700206 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800207 - 'omec-cppcheck':
208 pipeline-file: 'omec-cppcheck.groovy'
209 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700210 - 'docker-publish-github':
211 build-timeout: 60
212 docker-repo: 'omecproject'
213 build-node: 'ubuntu16.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':
You Wangde433552021-05-12 09:16:37 -0700216 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800217 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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700236 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800237 - 'omec-reuse':
238 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700239 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700257 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700258 - 'omec-reuse':
259 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700260 build-node: 'ubuntu16.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'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700277 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700278 - 'omec-reuse':
279 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700280 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700281 - 'docker-publish-github':
282 build-timeout: 30
283 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700284 build-node: 'ubuntu16.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':
You Wangde433552021-05-12 09:16:37 -0700288 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800289 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
362 properties:
363 - cord-infra-properties:
364 build-days-to-keep: '{build-days-to-keep}'
365 artifact-num-to-keep: '{artifact-num-to-keep}'
366 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700367 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700368
369 wrappers:
370 - lf-infra-wrappers:
371 build-timeout: '{build-timeout}'
372 jenkins-ssh-credential: '{jenkins-ssh-credential}'
373
374 parameters:
375 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700376 name: buildNode
377 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700378 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700379
380 - string:
hwchiu14f97852019-10-08 10:51:11 -0700381 name: project
382 default: '{project}'
383 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700384
You Wang8addd4c2020-04-14 16:25:57 -0700385 - string:
386 name: branch
387 default: '{branch}'
388 description: 'Branch of the project'
389
Zack Williams320b3142019-03-14 23:10:01 -0700390 concurrent: false
391
392 pipeline-scm:
393 script-path: '{pipeline-file}'
394 scm:
395 - git:
hwchiu14f97852019-10-08 10:51:11 -0700396 url: 'https://github.com/{github-organization}/omec-project-ci'
397 branches:
398 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700399
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800400# FOSSA License Scan
401- job-template:
402 id: 'omec-fossa'
403 name: 'omec_{project}_fossa'
404 project-type: pipeline
405
406 description: |
407 <!-- Managed by Jenkins Job Builder -->
408 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
409
410 properties:
411 - cord-infra-properties:
412 build-days-to-keep: '{build-days-to-keep}'
413 artifact-num-to-keep: '{artifact-num-to-keep}'
414 - github:
415 url: 'https://github.com/{github-organization}/{project}'
416
417 wrappers:
418 - lf-infra-wrappers:
419 build-timeout: '{build-timeout}'
420 jenkins-ssh-credential: '{jenkins-ssh-credential}'
421
422 parameters:
423 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700424 name: ghprbPullId
425 default: '$ghprbPullId'
426 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
427
428 - string:
429 name: branch
430 default: '$ghprbTargetBranch'
431 description: 'Branch to run. Only used when manually run.'
432
433 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800434 name: buildNode
435 default: '{build-node}'
436 description: 'Name of the Jenkins executor node to run the job on'
437
438 - string:
439 name: project
440 default: '{project}'
441 description: 'Name of the project'
442
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700443 - string:
444 name: ghprbGhRepository
445 default: '{github-organization}/{project}'
446 description: 'Repository of the project.'
447
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800448 triggers:
449 - cord-infra-github-pr-trigger:
450 github_pr_org_list: '{obj:github_pr_org_list}'
451 github_pr_auth_id: '{github_pr_auth_id}'
452 status_context: 'CORD Jenkins - FOSSA Verification'
453
454 concurrent: false
455
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800456 project-type: pipeline
457 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800458
459# REUSE License Scan
460- job-template:
461 id: 'omec-reuse'
462 name: 'omec_{project}_reuse'
463 project-type: pipeline
464
465 description: |
466 <!-- Managed by Jenkins Job Builder -->
467 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
468
469 properties:
470 - cord-infra-properties:
471 build-days-to-keep: '{build-days-to-keep}'
472 artifact-num-to-keep: '{artifact-num-to-keep}'
473 - github:
474 url: 'https://github.com/{github-organization}/{project}'
475
476 wrappers:
477 - lf-infra-wrappers:
478 build-timeout: '{build-timeout}'
479 jenkins-ssh-credential: '{jenkins-ssh-credential}'
480
481 parameters:
482 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700483 name: ghprbPullId
484 default: '$ghprbPullId'
485 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
486
487 - string:
488 name: branch
489 default: '$ghprbTargetBranch'
490 description: 'Branch to run. Only used when manually run.'
491
492 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800493 name: buildNode
494 default: '{build-node}'
495 description: 'Name of the Jenkins executor node to run the job on'
496
497 - string:
498 name: project
499 default: '{project}'
500 description: 'Name of the project'
501
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700502 - string:
503 name: ghprbGhRepository
504 default: '{github-organization}/{project}'
505 description: 'Repository of the project.'
506
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800507 triggers:
508 - cord-infra-github-pr-trigger:
509 github_pr_org_list: '{obj:github_pr_org_list}'
510 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800511 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800512
513 concurrent: false
514
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800515 project-type: pipeline
516 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800517
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800518# cppcheck
519- job-template:
520 id: 'omec-cppcheck'
521 name: 'omec_{project}-cppcheck'
522 project-type: pipeline
523
524 description: |
525 <!-- Managed by Jenkins Job Builder -->
526 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
527
528 properties:
529 - cord-infra-properties:
530 build-days-to-keep: '{build-days-to-keep}'
531 artifact-num-to-keep: '{artifact-num-to-keep}'
532 - github:
533 url: 'https://github.com/{github-organization}/{project}'
534
535 wrappers:
536 - lf-infra-wrappers:
537 build-timeout: '{build-timeout}'
538 jenkins-ssh-credential: '{jenkins-ssh-credential}'
539
540 parameters:
541 - string:
542 name: ghprbPullId
543 default: '$ghprbPullId'
544 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
545
546 - string:
547 name: branch
548 default: '$ghprbTargetBranch'
549 description: 'Branch to run. Only used when manually run.'
550
551 - string:
552 name: buildNode
553 default: '{build-node}'
554 description: 'Name of the Jenkins executor node to run the job on'
555
556 - string:
557 name: project
558 default: '{project}'
559 description: 'Name of the project'
560
561 - string:
562 name: ghprbGhRepository
563 default: '{github-organization}/{project}'
564 description: 'Repository of the project.'
565
566 triggers:
567 - cord-infra-github-pr-trigger:
568 github_pr_org_list: '{obj:github_pr_org_list}'
569 github_pr_auth_id: '{github_pr_auth_id}'
570 status_context: 'CORD Jenkins - cppcheck Verification'
571
572 concurrent: false
573
574 project-type: pipeline
575 dsl: !include-raw-escape: pipeline/{pipeline-file}
576
Zack Williams320b3142019-03-14 23:10:01 -0700577# tests
578- job-template:
579 id: 'omec-tc1'
580 name: 'omec_tc1'
581 project-type: pipeline
582
583 description: |
584 <!-- Managed by Jenkins Job Builder -->
585 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
586
587 properties:
588 - cord-infra-properties:
589 build-days-to-keep: '{build-days-to-keep}'
590 artifact-num-to-keep: '{artifact-num-to-keep}'
591
592 wrappers:
593 - lf-infra-wrappers:
594 build-timeout: '{build-timeout}'
595 jenkins-ssh-credential: '{jenkins-ssh-credential}'
596
597 parameters:
598 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700599 name: buildNode
600 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700601 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700602
You Wang83055442020-04-17 14:54:40 -0700603 - string:
604 name: mmeRepo
605 default: 'openmme'
606 description: 'Name of the MME repo to test (openmme/Nucleus)'
607
Zack Williams5d81f812019-02-27 14:37:09 -0700608 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700609
610 pipeline-scm:
611 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
612 scm:
613 - git:
hwchiu14f97852019-10-08 10:51:11 -0700614 url: 'https://github.com/omec-project/omec-project-ci'
615 branches:
616 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700617
618- job-template:
619 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700620 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700621 project-type: pipeline
622
623 description: |
624 <!-- Managed by Jenkins Job Builder -->
625 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
626
627 properties:
628 - cord-infra-properties:
629 build-days-to-keep: '{build-days-to-keep}'
630 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700631
632 wrappers:
633 - lf-infra-wrappers:
634 build-timeout: '{build-timeout}'
635 jenkins-ssh-credential: '{jenkins-ssh-credential}'
636
637 parameters:
638 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700639 name: buildNode
640 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700641 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700642
You Wang83055442020-04-17 14:54:40 -0700643 - string:
644 name: mmeRepo
645 default: 'openmme'
646 description: 'Name of the MME repo to test (openmme/Nucleus)'
647
Zack Williams5d81f812019-02-27 14:37:09 -0700648 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700649
650 pipeline-scm:
651 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800652 scm:
653 - git:
hwchiu14f97852019-10-08 10:51:11 -0700654 url: 'https://github.com/omec-project/omec-project-ci'
655 branches:
656 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700657
You Wang5c15a7a2020-04-02 11:24:33 -0700658# Post-merge job
659# Triggered by Github pull request merge
660- job-template:
661 id: omec-postmerge
662 name: '{project}_postmerge'
663 description: |
664 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
665
666 properties:
667 - cord-infra-properties:
668 build-days-to-keep: '{build-days-to-keep}'
669 artifact-num-to-keep: '{artifact-num-to-keep}'
670
671 triggers:
672 - cord-infra-github-pr-trigger-merge:
673 project: '{project}'
674
675 wrappers:
676 - lf-infra-wrappers:
677 build-timeout: '{build-timeout}'
678 jenkins-ssh-credential: '{jenkins-ssh-credential}'
679
680 parameters:
681 - string:
682 name: buildNode
683 default: '{build-node}'
684 description: 'Name of the Jenkins node to run the job on'
685
686 - string:
You Wang8be478b2020-11-17 14:41:16 -0800687 name: registryProxy
688 default: '{registry-proxy}'
689 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700690
691 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700692 name: repoName
693 default: ''
694 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
695
696 - string:
697 name: repoUrl
698 default: ''
699 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
700
701 - string:
702 name: branchName
703 default: ''
704 description: 'Branch of the project. Populated by Generic Webhook Trigger'
705
706 - string:
707 name: commitHash
708 default: ''
709 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
710
711 - string:
712 name: c3poBranchName
713 default: '{c3po-branch-name}'
714 description: 'Branch name of c3po repo which we run tests against'
715
716 - string:
You Wang425d49f2020-07-29 21:43:28 -0700717 name: spgwBranchName
718 default: '{spgw-branch-name}'
719 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700720
721 - string:
You Wang40239452020-06-11 20:17:15 -0700722 name: nucleusBranchName
723 default: '{nucleus-branch-name}'
724 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700725
726 - string:
You Wange1cbba22020-06-15 21:16:14 -0700727 name: upfBranchName
728 default: '{upf-branch-name}'
729 description: 'Branch name of upf-epc repo which we run tests against'
730
731 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700732 name: maintainers
733 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
734 description: "The person that sould be notified if this job fails"
735
736 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700737 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700738
739 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700740
741# OMEC CI job which builds docker images, deploys and tests OMEC
742- job-template:
743 id: 'omec-container'
744 name: 'omec_{project}_container'
745 project-type: pipeline
746
747 description: |
748 <!-- Managed by Jenkins Job Builder -->
749 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
750
You Wangd1a54642021-02-05 15:42:04 -0800751 disabled: true
752
You Wang3cc17af2020-06-12 14:56:10 -0700753 properties:
754 - cord-infra-properties:
755 build-days-to-keep: '{build-days-to-keep}'
756 artifact-num-to-keep: '{artifact-num-to-keep}'
757 - github:
758 url: 'https://github.com/{github-organization}/{project}'
759 - build-blocker:
760 use-build-blocker: true
761 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700762 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700763
764 wrappers:
765 - lf-infra-wrappers:
766 build-timeout: '{build-timeout}'
767 jenkins-ssh-credential: '{jenkins-ssh-credential}'
768
769 parameters:
770 - string:
771 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000772 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700773 description: 'Name of the Jenkins executor node to run the job on'
774
775 - string:
776 name: project
777 default: '{project}'
778 description: 'Name of the project'
779
780 - string:
781 name: ghprbTargetBranch
782 default: '$ghprbTargetBranch'
783 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
784
785 - string:
786 name: ghprbPullId
787 default: '$ghprbPullId'
788 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
789
790 - string:
791 name: ghprbActualCommit
792 default: '$ghprbActualCommit'
793 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
794
795 - string:
796 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800797 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700798 description: 'Docker registry that stores images built for CI testing'
799
800 - string:
You Wang8be478b2020-11-17 14:41:16 -0800801 name: registryProxy
802 default: '{registry-proxy}'
803 description: 'Harbor proxy which caches dockerhub images'
804
805 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700806 name: c3poBranch
807 default: 'master'
808 description: 'Branch name of c3po repo which we run tests against'
809
810 - string:
811 name: nucleusBranch
812 default: 'master'
813 description: 'Branch name of Nucleus repo which we run tests against'
814
815 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700816 name: spgwBranch
817 default: 'master'
818 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700819
You Wange1cbba22020-06-15 21:16:14 -0700820 - string:
821 name: upfBranch
822 default: 'master'
823 description: 'Branch name of upf-epc repo which we run tests against'
824
You Wang3cc17af2020-06-12 14:56:10 -0700825 triggers:
826 - cord-infra-github-pr-trigger:
827 github_pr_org_list: '{obj:github_pr_org_list}'
828 github_pr_auth_id: '{github_pr_auth_id}'
829 status_context: 'CORD Jenkins - Container Based Verification'
830
831 concurrent: false
832
833 pipeline-scm:
834 script-path: 'Jenkinsfile-omec-container.groovy'
835 scm:
836 - git:
837 url: 'https://github.com/{github-organization}/omec-project-ci'
838 branches:
839 - 'master'
840
841# OMEC deployment job
842- job-template:
843 id: 'omec-deploy'
844 name: 'omec_deploy_{pod}'
845 project-type: pipeline
846
847 description: |
848 <!-- Managed by Jenkins Job Builder -->
849 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
850
851 properties:
852 - cord-infra-properties:
853 build-days-to-keep: '{build-days-to-keep}'
854 artifact-num-to-keep: '{artifact-num-to-keep}'
855
856 wrappers:
857 - lf-infra-wrappers:
858 build-timeout: '{build-timeout}'
859 jenkins-ssh-credential: '{jenkins-ssh-credential}'
860
861 parameters:
862 - string:
863 name: buildNode
864 default: '{build-node}'
865 description: 'Name of the Jenkins executor node to run the job on.'
866
867 - string:
868 name: cpContext
869 default: '{cp-context}'
870 description: 'K8S context for omec control plane.'
871
872 - string:
873 name: dpContext
874 default: '{dp-context}'
875 description: 'K8S context for omec data plane.'
876
877 - string:
878 name: centralConfig
879 default: '{central-config}'
880 description: 'Directory name for central yaml files under aether-pod-configs.'
881
882 - string:
883 name: edgeConfig
884 default: '{edge-config}'
885 description: 'Directory name for edge yaml files under aether-pod-configs.'
886
887 - string:
888 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800889 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700890 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
891
892 - string:
893 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800894 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700895 description: 'Docker image for hss. Leave empty to use default helm-charts value'
896
897 - string:
898 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800899 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700900 description: 'Docker image for mme. Leave empty to use default helm-charts value'
901
902 - string:
903 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800904 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700905 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
906
907 - string:
You Wange1cbba22020-06-15 21:16:14 -0700908 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800909 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700910 description: 'Docker image for bess. Leave empty to use default helm-charts value'
911
912 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700913 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800914 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700915 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
916
917 - string:
918 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800919 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700920 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700921
922 concurrent: false
923
924 pipeline-scm:
925 script-path: 'Jenkinsfile-omec-deploy.groovy'
926 scm:
927 - git:
928 url: 'https://github.com/{github-organization}/omec-project-ci'
929 branches:
930 - 'master'
931
932# OMEC test job
933- job-template:
934 id: 'omec-ng40-test'
935 name: 'omec_ng40-test_{pod}'
936 project-type: pipeline
937
938 description: |
939 <!-- Managed by Jenkins Job Builder -->
940 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
941
942 properties:
943 - cord-infra-properties:
944 build-days-to-keep: '{build-days-to-keep}'
945 artifact-num-to-keep: '{artifact-num-to-keep}'
946
947 wrappers:
948 - lf-infra-wrappers:
949 build-timeout: '{build-timeout}'
950 jenkins-ssh-credential: '{jenkins-ssh-credential}'
951
952 parameters:
953 - string:
954 name: buildNode
955 default: '{build-node}'
956 description: 'Name of the Jenkins executor node to run the job on.'
957
958 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700959 name: timeout
960 default: '30'
961 description: 'Timeout period for this pipeline in minutes.'
962
963 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700964 name: ng40VM
965 default: '{ng40-vm}'
966 description: 'user@IP for accessing NG40 VM from the build node.'
967
968 - string:
969 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800970 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700971 description: 'NG40 test automation file'
972
You Wangadd58172020-06-23 20:09:28 -0700973 - string:
974 name: cpContext
975 default: '{cp-context}'
976 description: 'K8S context for omec control plane.'
977
978 - string:
979 name: dpContext
980 default: '{dp-context}'
981 description: 'K8S context for omec data plane.'
982
You Wang3cc17af2020-06-12 14:56:10 -0700983 concurrent: false
984
985 pipeline-scm:
986 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
987 scm:
988 - git:
989 url: 'https://github.com/{github-organization}/omec-project-ci'
990 branches:
991 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700992
993# OMEC archive artifacts job
994- job-template:
995 id: 'omec-archive-artifacts'
996 name: 'omec_archive-artifacts_{pod}'
997 project-type: pipeline
998
999 description: |
1000 <!-- Managed by Jenkins Job Builder -->
1001 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1002
1003 properties:
1004 - cord-infra-properties:
1005 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -08001006 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -07001007
1008 wrappers:
1009 - lf-infra-wrappers:
1010 build-timeout: '{build-timeout}'
1011 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1012
1013 parameters:
1014 - string:
1015 name: buildNode
1016 default: '{build-node}'
1017 description: 'Name of the Jenkins executor node to run the job on.'
1018
1019 - string:
1020 name: cpContext
1021 default: '{cp-context}'
1022 description: 'K8S context for omec control plane.'
1023
1024 - string:
1025 name: dpContext
1026 default: '{dp-context}'
1027 description: 'K8S context for omec data plane.'
1028
You Wangc1f71962020-10-06 16:26:34 -07001029 - string:
1030 name: logSince
1031 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -08001032 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
1033
1034 - string:
1035 name: logSinceTime
1036 default: ''
1037 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -07001038
You Wangc8955b12020-06-19 14:22:12 -07001039 concurrent: false
1040
1041 pipeline-scm:
1042 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1043 scm:
1044 - git:
1045 url: 'https://github.com/{github-organization}/omec-project-ci'
1046 branches:
1047 - 'master'
You Wangf5a80032021-01-19 09:13:18 -08001048
1049# OMEC nightly job
1050- job-template:
1051 id: 'omec-nightly'
1052 name: 'omec_{type}_{pod}'
1053 project-type: pipeline
1054
1055 description: |
1056 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1057 {desc}
1058
1059 properties:
1060 - cord-infra-properties:
1061 build-days-to-keep: '{build-days-to-keep}'
1062 artifact-num-to-keep: '{artifact-num-to-keep}'
1063
1064 wrappers:
1065 - lf-infra-wrappers:
1066 build-timeout: '{build-timeout}'
1067 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1068
1069 parameters:
1070 - string:
1071 name: buildNode
1072 default: '{build-node}'
1073 description: 'Name of the Jenkins executor node to run the job on'
1074
1075 - string:
1076 name: testType
1077 default: '{type}'
1078 description: 'Type of test'
1079
1080 - string:
1081 name: pod
1082 default: '{pod}'
1083 description: 'Name of OMEC POD'
1084
1085 - string:
1086 name: timeout
1087 default: '{build-timeout}'
1088 description: 'Timeout period for this pipeline in minutes'
1089
1090 - string:
1091 name: ntlFile
1092 default: '{ntl-file}'
1093 description: 'NG40 test automation file'
1094
1095 - bool:
1096 name: redeploy
1097 default: true
1098 description: 'Redeploy OMEC before running tests if set to true'
1099
You Wangbaeea362021-01-19 14:11:15 -08001100 - string:
1101 name: hssdbImage
1102 default: '{registry-proxy}/c3po-hssdb:master-latest'
1103 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
1104
1105 - string:
1106 name: hssImage
1107 default: '{registry-proxy}/c3po-hss:master-latest'
1108 description: 'Docker image for hss. Leave empty to use default helm-charts value'
1109
1110 - string:
1111 name: mmeImage
1112 default: '{registry-proxy}/nucleus:master-latest'
1113 description: 'Docker image for mme. Leave empty to use default helm-charts value'
1114
1115 - string:
1116 name: spgwcImage
1117 default: '{registry-proxy}/spgw:master-latest'
1118 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
1119
1120 - string:
1121 name: bessImage
1122 default: '{registry-proxy}/upf-epc-bess:master-latest'
1123 description: 'Docker image for bess. Leave empty to use default helm-charts value'
1124
1125 - string:
1126 name: zmqifaceImage
1127 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
1128 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
1129
1130 - string:
1131 name: pfcpifaceImage
1132 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
1133 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
1134
You Wang174622a2021-01-27 14:57:03 -08001135 - string:
1136 name: maintainers
1137 default: 'you@opennetworking.org'
1138 description: "The person that sould be notified if this job fails"
1139
You Wangf5a80032021-01-19 09:13:18 -08001140 concurrent: false
1141
1142 triggers:
1143 - timed: |
1144 TZ=America/Los_Angeles
1145 H {time} * * *
1146
1147 pipeline-scm:
1148 script-path: 'Jenkinsfile-omec-nightly.groovy'
1149 scm:
1150 - git:
1151 url: 'https://github.com/{github-organization}/omec-project-ci'
1152 branches:
1153 - 'master'
You Wang4f14afd2021-01-19 13:44:07 -08001154
1155# OMEC post results job
1156- job-template:
1157 id: 'omec-post-results'
1158 name: 'omec_post-results_{pod}'
1159 project-type: pipeline
1160
1161 description: |
1162 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1163
1164 properties:
1165 - cord-infra-properties:
1166 build-days-to-keep: '{build-days-to-keep}'
1167 artifact-num-to-keep: 2
1168
1169 wrappers:
1170 - lf-infra-wrappers:
1171 build-timeout: '{build-timeout}'
1172 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1173
1174 parameters:
1175 - string:
1176 name: buildNode
1177 default: '{build-node}'
1178 description: 'Name of the Jenkins executor node to run the job on'
1179
1180 - string:
1181 name: pod
1182 default: '{pod}'
1183 description: 'Name of OMEC pod'
1184
1185 - string:
1186 name: testType
1187 default: 'scale'
1188 description: 'Type of test e.g. scale, func, etc.'
1189
1190 - string:
1191 name: buildNumber
1192 default: '0'
1193 description: 'Build number of upstream job'
1194
1195 concurrent: false
1196
1197 pipeline-scm:
1198 script-path: 'Jenkinsfile-omec-post-results.groovy'
1199 scm:
1200 - git:
1201 url: 'https://github.com/{github-organization}/omec-project-ci'
1202 branches:
1203 - 'master'
You Wangd1a54642021-02-05 15:42:04 -08001204
1205# OMEC CI job which replaces the original container job
1206- job-template:
1207 id: 'omec-container-remote'
You Wang1c915392021-02-06 15:22:41 -08001208 name: 'omec_{project}_container_remote'
You Wangd1a54642021-02-05 15:42:04 -08001209
1210 description: |
1211 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
1212
1213 properties:
1214 - cord-infra-properties:
1215 build-days-to-keep: '{build-days-to-keep}'
1216 artifact-num-to-keep: '{artifact-num-to-keep}'
1217 - github:
1218 url: 'https://github.com/{github-organization}/{project}'
1219
1220 wrappers:
1221 - lf-infra-wrappers:
1222 build-timeout: '{build-timeout}'
1223 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1224
1225 parameters:
1226 - string:
1227 name: buildNode
1228 default: 'omec-ci'
1229 description: 'Name of the Jenkins executor node to run the job on'
1230
1231 - string:
1232 name: project
1233 default: '{project}'
1234 description: 'Name of the project'
1235
1236 - string:
1237 name: pod
1238 default: '{pod}'
1239 description: 'Name of OMEC pod'
1240
1241 - string:
1242 name: remoteJenkinsName
1243 default: '{remote-jenkins-name}'
1244 description: 'Name of the remote Jenkins instance that runs the job'
1245
1246 - string:
1247 name: ghprbTargetBranch
1248 default: '$ghprbTargetBranch'
1249 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1250
1251 - string:
1252 name: ghprbPullId
1253 default: '$ghprbPullId'
1254 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1255
1256 - string:
1257 name: ghprbActualCommit
1258 default: '$ghprbActualCommit'
1259 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1260
1261 triggers:
1262 - cord-infra-github-pr-trigger:
1263 github_pr_org_list: '{obj:github_pr_org_list}'
1264 github_pr_auth_id: '{github_pr_auth_id}'
1265 status_context: 'CORD Jenkins - Container Based Verification'
1266
1267 concurrent: false
1268
1269 project-type: pipeline
1270 dsl: !include-raw-escape: pipeline/{pipeline-file}