blob: 674ed2a1afe93cb9d10b05ffa77026718647257b [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'
Zack Williams73c3cf42019-02-25 23:43:22 -0700143
144# for openmme
145- project:
146 name: openmme
147 project: '{name}'
148
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700149 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700150 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700151 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
152 github_pr_org_list:
153 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800154 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800155 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700156
Zack Williams73c3cf42019-02-25 23:43:22 -0700157 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700158 - 'omec-combined':
159 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700160 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700161 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700162 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700163 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700164 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800165 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800166 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700167 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800168 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800169 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700170 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700171 - 'docker-publish-github':
172 build-timeout: 30
173 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700174 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700175
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800176# for nucleus
177- project:
178 name: Nucleus
179 project: '{name}'
180
181 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800182 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800183 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
184 github_pr_org_list:
185 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800186 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800187 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800188
189 jobs:
You Wang83055442020-04-17 14:54:40 -0700190 - 'omec-combined':
191 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
192 mme-repo: 'Nucleus'
193 - 'omec-install':
194 sub-project: '{name}'
195 branch: 'master'
196 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800197 - 'omec-fossa':
198 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700199 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800200 - 'omec-reuse':
201 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700202 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800203 - 'omec-cppcheck':
204 pipeline-file: 'omec-cppcheck.groovy'
205 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700206 - 'docker-publish-github':
207 build-timeout: 60
208 docker-repo: 'omecproject'
209 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700210 - 'omec-container'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800211
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800212# for freediameter
213- project:
214 name: freediameter
215 project: '{name}'
216
217 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800218 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800219 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
220 github_pr_org_list:
221 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800222 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800223 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800224
225 jobs:
226 - 'omec-fossa':
227 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700228 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800229 - 'omec-reuse':
230 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700231 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800232
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700233# for ignite
234- project:
235 name: ignite
236 project: '{name}'
237
238 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700239 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700240 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
241 github_pr_org_list:
242 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800243 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800244 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700245
246 jobs:
247 - 'omec-fossa':
248 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700249 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700250 - 'omec-reuse':
251 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700252 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700253
You Wangccc13492020-04-01 11:11:59 -0700254# for upf-epc
255- project:
256 name: upf-epc
257 project: '{name}'
258
259 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700260 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
261 github_pr_org_list:
262 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800263 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800264 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700265
266 jobs:
267 - 'omec-fossa':
268 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700269 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700270 - 'omec-reuse':
271 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700272 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700273 - 'docker-publish-github':
274 build-timeout: 30
275 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700276 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700277 extraEnvironmentVars: CPU=haswell
You Wange1cbba22020-06-15 21:16:14 -0700278 - 'omec-container'
You Wangccc13492020-04-01 11:11:59 -0700279
Zack Williams320b3142019-03-14 23:10:01 -0700280# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800281- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700282 id: 'omec-combined'
283 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800284 project-type: pipeline
285
286 description: |
287 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700288 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800289
290 properties:
291 - cord-infra-properties:
292 build-days-to-keep: '{build-days-to-keep}'
293 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700294 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700295 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700296 - build-blocker:
297 use-build-blocker: true
298 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700299 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800300
301 wrappers:
302 - lf-infra-wrappers:
303 build-timeout: '{build-timeout}'
304 jenkins-ssh-credential: '{jenkins-ssh-credential}'
305
306 parameters:
307 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700308 name: buildNode
309 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700310 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800311
312 - string:
hwchiu14f97852019-10-08 10:51:11 -0700313 name: project
314 default: '{project}'
315 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800316
You Wang83055442020-04-17 14:54:40 -0700317 - string:
318 name: mmeRepo
319 default: '{mme-repo}'
320 description: 'Name of the MME repo to test (openmme/Nucleus)'
321
Zack Williams73c3cf42019-02-25 23:43:22 -0700322 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700323 - cord-infra-github-pr-trigger:
324 github_pr_org_list: '{obj:github_pr_org_list}'
325 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800326 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700327
Zack Williams5d81f812019-02-27 14:37:09 -0700328 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800329
330 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700331 script-path: '{pipeline-file}'
332 scm:
333 - git:
hwchiu14f97852019-10-08 10:51:11 -0700334 url: 'https://github.com/{github-organization}/omec-project-ci'
335 branches:
336 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700337
Zack Williams320b3142019-03-14 23:10:01 -0700338# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700339- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700340 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700341 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700342 project-type: pipeline
343
344 description: |
345 <!-- Managed by Jenkins Job Builder -->
346 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
347
348 properties:
349 - cord-infra-properties:
350 build-days-to-keep: '{build-days-to-keep}'
351 artifact-num-to-keep: '{artifact-num-to-keep}'
352 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700353 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700354
355 wrappers:
356 - lf-infra-wrappers:
357 build-timeout: '{build-timeout}'
358 jenkins-ssh-credential: '{jenkins-ssh-credential}'
359
360 parameters:
361 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700362 name: buildNode
363 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700364 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700365
366 - string:
hwchiu14f97852019-10-08 10:51:11 -0700367 name: project
368 default: '{project}'
369 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700370
You Wang8addd4c2020-04-14 16:25:57 -0700371 - string:
372 name: branch
373 default: '{branch}'
374 description: 'Branch of the project'
375
Zack Williams320b3142019-03-14 23:10:01 -0700376 concurrent: false
377
378 pipeline-scm:
379 script-path: '{pipeline-file}'
380 scm:
381 - git:
hwchiu14f97852019-10-08 10:51:11 -0700382 url: 'https://github.com/{github-organization}/omec-project-ci'
383 branches:
384 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700385
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800386# FOSSA License Scan
387- job-template:
388 id: 'omec-fossa'
389 name: 'omec_{project}_fossa'
390 project-type: pipeline
391
392 description: |
393 <!-- Managed by Jenkins Job Builder -->
394 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
395
396 properties:
397 - cord-infra-properties:
398 build-days-to-keep: '{build-days-to-keep}'
399 artifact-num-to-keep: '{artifact-num-to-keep}'
400 - github:
401 url: 'https://github.com/{github-organization}/{project}'
402
403 wrappers:
404 - lf-infra-wrappers:
405 build-timeout: '{build-timeout}'
406 jenkins-ssh-credential: '{jenkins-ssh-credential}'
407
408 parameters:
409 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700410 name: ghprbPullId
411 default: '$ghprbPullId'
412 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
413
414 - string:
415 name: branch
416 default: '$ghprbTargetBranch'
417 description: 'Branch to run. Only used when manually run.'
418
419 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800420 name: buildNode
421 default: '{build-node}'
422 description: 'Name of the Jenkins executor node to run the job on'
423
424 - string:
425 name: project
426 default: '{project}'
427 description: 'Name of the project'
428
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700429 - string:
430 name: ghprbGhRepository
431 default: '{github-organization}/{project}'
432 description: 'Repository of the project.'
433
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800434 triggers:
435 - cord-infra-github-pr-trigger:
436 github_pr_org_list: '{obj:github_pr_org_list}'
437 github_pr_auth_id: '{github_pr_auth_id}'
438 status_context: 'CORD Jenkins - FOSSA Verification'
439
440 concurrent: false
441
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800442 project-type: pipeline
443 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800444
445# REUSE License Scan
446- job-template:
447 id: 'omec-reuse'
448 name: 'omec_{project}_reuse'
449 project-type: pipeline
450
451 description: |
452 <!-- Managed by Jenkins Job Builder -->
453 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
454
455 properties:
456 - cord-infra-properties:
457 build-days-to-keep: '{build-days-to-keep}'
458 artifact-num-to-keep: '{artifact-num-to-keep}'
459 - github:
460 url: 'https://github.com/{github-organization}/{project}'
461
462 wrappers:
463 - lf-infra-wrappers:
464 build-timeout: '{build-timeout}'
465 jenkins-ssh-credential: '{jenkins-ssh-credential}'
466
467 parameters:
468 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700469 name: ghprbPullId
470 default: '$ghprbPullId'
471 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
472
473 - string:
474 name: branch
475 default: '$ghprbTargetBranch'
476 description: 'Branch to run. Only used when manually run.'
477
478 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800479 name: buildNode
480 default: '{build-node}'
481 description: 'Name of the Jenkins executor node to run the job on'
482
483 - string:
484 name: project
485 default: '{project}'
486 description: 'Name of the project'
487
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700488 - string:
489 name: ghprbGhRepository
490 default: '{github-organization}/{project}'
491 description: 'Repository of the project.'
492
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800493 triggers:
494 - cord-infra-github-pr-trigger:
495 github_pr_org_list: '{obj:github_pr_org_list}'
496 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800497 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800498
499 concurrent: false
500
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800501 project-type: pipeline
502 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800503
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800504# cppcheck
505- job-template:
506 id: 'omec-cppcheck'
507 name: 'omec_{project}-cppcheck'
508 project-type: pipeline
509
510 description: |
511 <!-- Managed by Jenkins Job Builder -->
512 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
513
514 properties:
515 - cord-infra-properties:
516 build-days-to-keep: '{build-days-to-keep}'
517 artifact-num-to-keep: '{artifact-num-to-keep}'
518 - github:
519 url: 'https://github.com/{github-organization}/{project}'
520
521 wrappers:
522 - lf-infra-wrappers:
523 build-timeout: '{build-timeout}'
524 jenkins-ssh-credential: '{jenkins-ssh-credential}'
525
526 parameters:
527 - string:
528 name: ghprbPullId
529 default: '$ghprbPullId'
530 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
531
532 - string:
533 name: branch
534 default: '$ghprbTargetBranch'
535 description: 'Branch to run. Only used when manually run.'
536
537 - string:
538 name: buildNode
539 default: '{build-node}'
540 description: 'Name of the Jenkins executor node to run the job on'
541
542 - string:
543 name: project
544 default: '{project}'
545 description: 'Name of the project'
546
547 - string:
548 name: ghprbGhRepository
549 default: '{github-organization}/{project}'
550 description: 'Repository of the project.'
551
552 triggers:
553 - cord-infra-github-pr-trigger:
554 github_pr_org_list: '{obj:github_pr_org_list}'
555 github_pr_auth_id: '{github_pr_auth_id}'
556 status_context: 'CORD Jenkins - cppcheck Verification'
557
558 concurrent: false
559
560 project-type: pipeline
561 dsl: !include-raw-escape: pipeline/{pipeline-file}
562
Zack Williams320b3142019-03-14 23:10:01 -0700563# tests
564- job-template:
565 id: 'omec-tc1'
566 name: 'omec_tc1'
567 project-type: pipeline
568
569 description: |
570 <!-- Managed by Jenkins Job Builder -->
571 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
572
573 properties:
574 - cord-infra-properties:
575 build-days-to-keep: '{build-days-to-keep}'
576 artifact-num-to-keep: '{artifact-num-to-keep}'
577
578 wrappers:
579 - lf-infra-wrappers:
580 build-timeout: '{build-timeout}'
581 jenkins-ssh-credential: '{jenkins-ssh-credential}'
582
583 parameters:
584 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700585 name: buildNode
586 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700587 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700588
You Wang83055442020-04-17 14:54:40 -0700589 - string:
590 name: mmeRepo
591 default: 'openmme'
592 description: 'Name of the MME repo to test (openmme/Nucleus)'
593
Zack Williams5d81f812019-02-27 14:37:09 -0700594 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700595
596 pipeline-scm:
597 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
598 scm:
599 - git:
hwchiu14f97852019-10-08 10:51:11 -0700600 url: 'https://github.com/omec-project/omec-project-ci'
601 branches:
602 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700603
604- job-template:
605 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700606 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700607 project-type: pipeline
608
609 description: |
610 <!-- Managed by Jenkins Job Builder -->
611 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
612
613 properties:
614 - cord-infra-properties:
615 build-days-to-keep: '{build-days-to-keep}'
616 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700617
618 wrappers:
619 - lf-infra-wrappers:
620 build-timeout: '{build-timeout}'
621 jenkins-ssh-credential: '{jenkins-ssh-credential}'
622
623 parameters:
624 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700625 name: buildNode
626 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700627 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700628
You Wang83055442020-04-17 14:54:40 -0700629 - string:
630 name: mmeRepo
631 default: 'openmme'
632 description: 'Name of the MME repo to test (openmme/Nucleus)'
633
Zack Williams5d81f812019-02-27 14:37:09 -0700634 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700635
636 pipeline-scm:
637 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800638 scm:
639 - git:
hwchiu14f97852019-10-08 10:51:11 -0700640 url: 'https://github.com/omec-project/omec-project-ci'
641 branches:
642 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700643
You Wang5c15a7a2020-04-02 11:24:33 -0700644# Post-merge job
645# Triggered by Github pull request merge
646- job-template:
647 id: omec-postmerge
648 name: '{project}_postmerge'
649 description: |
650 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
651
652 properties:
653 - cord-infra-properties:
654 build-days-to-keep: '{build-days-to-keep}'
655 artifact-num-to-keep: '{artifact-num-to-keep}'
656
657 triggers:
658 - cord-infra-github-pr-trigger-merge:
659 project: '{project}'
660
661 wrappers:
662 - lf-infra-wrappers:
663 build-timeout: '{build-timeout}'
664 jenkins-ssh-credential: '{jenkins-ssh-credential}'
665
666 parameters:
667 - string:
668 name: buildNode
669 default: '{build-node}'
670 description: 'Name of the Jenkins node to run the job on'
671
672 - string:
You Wang8be478b2020-11-17 14:41:16 -0800673 name: registryProxy
674 default: '{registry-proxy}'
675 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700676
677 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700678 name: repoName
679 default: ''
680 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
681
682 - string:
683 name: repoUrl
684 default: ''
685 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
686
687 - string:
688 name: branchName
689 default: ''
690 description: 'Branch of the project. Populated by Generic Webhook Trigger'
691
692 - string:
693 name: commitHash
694 default: ''
695 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
696
697 - string:
698 name: c3poBranchName
699 default: '{c3po-branch-name}'
700 description: 'Branch name of c3po repo which we run tests against'
701
702 - string:
You Wang425d49f2020-07-29 21:43:28 -0700703 name: spgwBranchName
704 default: '{spgw-branch-name}'
705 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700706
707 - string:
You Wang40239452020-06-11 20:17:15 -0700708 name: nucleusBranchName
709 default: '{nucleus-branch-name}'
710 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700711
712 - string:
You Wange1cbba22020-06-15 21:16:14 -0700713 name: upfBranchName
714 default: '{upf-branch-name}'
715 description: 'Branch name of upf-epc repo which we run tests against'
716
717 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700718 name: maintainers
719 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
720 description: "The person that sould be notified if this job fails"
721
722 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700723 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700724
725 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700726
727# OMEC CI job which builds docker images, deploys and tests OMEC
728- job-template:
729 id: 'omec-container'
730 name: 'omec_{project}_container'
731 project-type: pipeline
732
733 description: |
734 <!-- Managed by Jenkins Job Builder -->
735 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
736
737 properties:
738 - cord-infra-properties:
739 build-days-to-keep: '{build-days-to-keep}'
740 artifact-num-to-keep: '{artifact-num-to-keep}'
741 - github:
742 url: 'https://github.com/{github-organization}/{project}'
743 - build-blocker:
744 use-build-blocker: true
745 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700746 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700747
748 wrappers:
749 - lf-infra-wrappers:
750 build-timeout: '{build-timeout}'
751 jenkins-ssh-credential: '{jenkins-ssh-credential}'
752
753 parameters:
754 - string:
755 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000756 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700757 description: 'Name of the Jenkins executor node to run the job on'
758
759 - string:
760 name: project
761 default: '{project}'
762 description: 'Name of the project'
763
764 - string:
765 name: ghprbTargetBranch
766 default: '$ghprbTargetBranch'
767 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
768
769 - string:
770 name: ghprbPullId
771 default: '$ghprbPullId'
772 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
773
774 - string:
775 name: ghprbActualCommit
776 default: '$ghprbActualCommit'
777 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
778
779 - string:
780 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800781 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700782 description: 'Docker registry that stores images built for CI testing'
783
784 - string:
You Wang8be478b2020-11-17 14:41:16 -0800785 name: registryProxy
786 default: '{registry-proxy}'
787 description: 'Harbor proxy which caches dockerhub images'
788
789 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700790 name: c3poBranch
791 default: 'master'
792 description: 'Branch name of c3po repo which we run tests against'
793
794 - string:
795 name: nucleusBranch
796 default: 'master'
797 description: 'Branch name of Nucleus repo which we run tests against'
798
799 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700800 name: spgwBranch
801 default: 'master'
802 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700803
You Wange1cbba22020-06-15 21:16:14 -0700804 - string:
805 name: upfBranch
806 default: 'master'
807 description: 'Branch name of upf-epc repo which we run tests against'
808
You Wang3cc17af2020-06-12 14:56:10 -0700809 triggers:
810 - cord-infra-github-pr-trigger:
811 github_pr_org_list: '{obj:github_pr_org_list}'
812 github_pr_auth_id: '{github_pr_auth_id}'
813 status_context: 'CORD Jenkins - Container Based Verification'
814
815 concurrent: false
816
817 pipeline-scm:
818 script-path: 'Jenkinsfile-omec-container.groovy'
819 scm:
820 - git:
821 url: 'https://github.com/{github-organization}/omec-project-ci'
822 branches:
823 - 'master'
824
825# OMEC deployment job
826- job-template:
827 id: 'omec-deploy'
828 name: 'omec_deploy_{pod}'
829 project-type: pipeline
830
831 description: |
832 <!-- Managed by Jenkins Job Builder -->
833 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
834
835 properties:
836 - cord-infra-properties:
837 build-days-to-keep: '{build-days-to-keep}'
838 artifact-num-to-keep: '{artifact-num-to-keep}'
839
840 wrappers:
841 - lf-infra-wrappers:
842 build-timeout: '{build-timeout}'
843 jenkins-ssh-credential: '{jenkins-ssh-credential}'
844
845 parameters:
846 - string:
847 name: buildNode
848 default: '{build-node}'
849 description: 'Name of the Jenkins executor node to run the job on.'
850
851 - string:
852 name: cpContext
853 default: '{cp-context}'
854 description: 'K8S context for omec control plane.'
855
856 - string:
857 name: dpContext
858 default: '{dp-context}'
859 description: 'K8S context for omec data plane.'
860
861 - string:
862 name: centralConfig
863 default: '{central-config}'
864 description: 'Directory name for central yaml files under aether-pod-configs.'
865
866 - string:
867 name: edgeConfig
868 default: '{edge-config}'
869 description: 'Directory name for edge yaml files under aether-pod-configs.'
870
871 - string:
872 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800873 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700874 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
875
876 - string:
877 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800878 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700879 description: 'Docker image for hss. Leave empty to use default helm-charts value'
880
881 - string:
882 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800883 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700884 description: 'Docker image for mme. Leave empty to use default helm-charts value'
885
886 - string:
887 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800888 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700889 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
890
891 - string:
You Wange1cbba22020-06-15 21:16:14 -0700892 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800893 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700894 description: 'Docker image for bess. Leave empty to use default helm-charts value'
895
896 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700897 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800898 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700899 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
900
901 - string:
902 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800903 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700904 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700905
906 concurrent: false
907
908 pipeline-scm:
909 script-path: 'Jenkinsfile-omec-deploy.groovy'
910 scm:
911 - git:
912 url: 'https://github.com/{github-organization}/omec-project-ci'
913 branches:
914 - 'master'
915
916# OMEC test job
917- job-template:
918 id: 'omec-ng40-test'
919 name: 'omec_ng40-test_{pod}'
920 project-type: pipeline
921
922 description: |
923 <!-- Managed by Jenkins Job Builder -->
924 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
925
926 properties:
927 - cord-infra-properties:
928 build-days-to-keep: '{build-days-to-keep}'
929 artifact-num-to-keep: '{artifact-num-to-keep}'
930
931 wrappers:
932 - lf-infra-wrappers:
933 build-timeout: '{build-timeout}'
934 jenkins-ssh-credential: '{jenkins-ssh-credential}'
935
936 parameters:
937 - string:
938 name: buildNode
939 default: '{build-node}'
940 description: 'Name of the Jenkins executor node to run the job on.'
941
942 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700943 name: timeout
944 default: '30'
945 description: 'Timeout period for this pipeline in minutes.'
946
947 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700948 name: ng40VM
949 default: '{ng40-vm}'
950 description: 'user@IP for accessing NG40 VM from the build node.'
951
952 - string:
953 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800954 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700955 description: 'NG40 test automation file'
956
You Wangadd58172020-06-23 20:09:28 -0700957 - string:
958 name: cpContext
959 default: '{cp-context}'
960 description: 'K8S context for omec control plane.'
961
962 - string:
963 name: dpContext
964 default: '{dp-context}'
965 description: 'K8S context for omec data plane.'
966
You Wang3cc17af2020-06-12 14:56:10 -0700967 concurrent: false
968
969 pipeline-scm:
970 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
971 scm:
972 - git:
973 url: 'https://github.com/{github-organization}/omec-project-ci'
974 branches:
975 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700976
977# OMEC archive artifacts job
978- job-template:
979 id: 'omec-archive-artifacts'
980 name: 'omec_archive-artifacts_{pod}'
981 project-type: pipeline
982
983 description: |
984 <!-- Managed by Jenkins Job Builder -->
985 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
986
987 properties:
988 - cord-infra-properties:
989 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -0800990 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -0700991
992 wrappers:
993 - lf-infra-wrappers:
994 build-timeout: '{build-timeout}'
995 jenkins-ssh-credential: '{jenkins-ssh-credential}'
996
997 parameters:
998 - string:
999 name: buildNode
1000 default: '{build-node}'
1001 description: 'Name of the Jenkins executor node to run the job on.'
1002
1003 - string:
1004 name: cpContext
1005 default: '{cp-context}'
1006 description: 'K8S context for omec control plane.'
1007
1008 - string:
1009 name: dpContext
1010 default: '{dp-context}'
1011 description: 'K8S context for omec data plane.'
1012
You Wangc1f71962020-10-06 16:26:34 -07001013 - string:
1014 name: logSince
1015 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -08001016 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
1017
1018 - string:
1019 name: logSinceTime
1020 default: ''
1021 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -07001022
You Wangc8955b12020-06-19 14:22:12 -07001023 concurrent: false
1024
1025 pipeline-scm:
1026 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1027 scm:
1028 - git:
1029 url: 'https://github.com/{github-organization}/omec-project-ci'
1030 branches:
1031 - 'master'
You Wangf5a80032021-01-19 09:13:18 -08001032
1033# OMEC nightly job
1034- job-template:
1035 id: 'omec-nightly'
1036 name: 'omec_{type}_{pod}'
1037 project-type: pipeline
1038
1039 description: |
1040 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1041 {desc}
1042
1043 properties:
1044 - cord-infra-properties:
1045 build-days-to-keep: '{build-days-to-keep}'
1046 artifact-num-to-keep: '{artifact-num-to-keep}'
1047
1048 wrappers:
1049 - lf-infra-wrappers:
1050 build-timeout: '{build-timeout}'
1051 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1052
1053 parameters:
1054 - string:
1055 name: buildNode
1056 default: '{build-node}'
1057 description: 'Name of the Jenkins executor node to run the job on'
1058
1059 - string:
1060 name: testType
1061 default: '{type}'
1062 description: 'Type of test'
1063
1064 - string:
1065 name: pod
1066 default: '{pod}'
1067 description: 'Name of OMEC POD'
1068
1069 - string:
1070 name: timeout
1071 default: '{build-timeout}'
1072 description: 'Timeout period for this pipeline in minutes'
1073
1074 - string:
1075 name: ntlFile
1076 default: '{ntl-file}'
1077 description: 'NG40 test automation file'
1078
1079 - bool:
1080 name: redeploy
1081 default: true
1082 description: 'Redeploy OMEC before running tests if set to true'
1083
You Wangbaeea362021-01-19 14:11:15 -08001084 - string:
1085 name: hssdbImage
1086 default: '{registry-proxy}/c3po-hssdb:master-latest'
1087 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
1088
1089 - string:
1090 name: hssImage
1091 default: '{registry-proxy}/c3po-hss:master-latest'
1092 description: 'Docker image for hss. Leave empty to use default helm-charts value'
1093
1094 - string:
1095 name: mmeImage
1096 default: '{registry-proxy}/nucleus:master-latest'
1097 description: 'Docker image for mme. Leave empty to use default helm-charts value'
1098
1099 - string:
1100 name: spgwcImage
1101 default: '{registry-proxy}/spgw:master-latest'
1102 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
1103
1104 - string:
1105 name: bessImage
1106 default: '{registry-proxy}/upf-epc-bess:master-latest'
1107 description: 'Docker image for bess. Leave empty to use default helm-charts value'
1108
1109 - string:
1110 name: zmqifaceImage
1111 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
1112 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
1113
1114 - string:
1115 name: pfcpifaceImage
1116 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
1117 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
1118
You Wangf5a80032021-01-19 09:13:18 -08001119 concurrent: false
1120
1121 triggers:
1122 - timed: |
1123 TZ=America/Los_Angeles
1124 H {time} * * *
1125
1126 pipeline-scm:
1127 script-path: 'Jenkinsfile-omec-nightly.groovy'
1128 scm:
1129 - git:
1130 url: 'https://github.com/{github-organization}/omec-project-ci'
1131 branches:
1132 - 'master'
You Wang4f14afd2021-01-19 13:44:07 -08001133
1134# OMEC post results job
1135- job-template:
1136 id: 'omec-post-results'
1137 name: 'omec_post-results_{pod}'
1138 project-type: pipeline
1139
1140 description: |
1141 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1142
1143 properties:
1144 - cord-infra-properties:
1145 build-days-to-keep: '{build-days-to-keep}'
1146 artifact-num-to-keep: 2
1147
1148 wrappers:
1149 - lf-infra-wrappers:
1150 build-timeout: '{build-timeout}'
1151 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1152
1153 parameters:
1154 - string:
1155 name: buildNode
1156 default: '{build-node}'
1157 description: 'Name of the Jenkins executor node to run the job on'
1158
1159 - string:
1160 name: pod
1161 default: '{pod}'
1162 description: 'Name of OMEC pod'
1163
1164 - string:
1165 name: testType
1166 default: 'scale'
1167 description: 'Type of test e.g. scale, func, etc.'
1168
1169 - string:
1170 name: buildNumber
1171 default: '0'
1172 description: 'Build number of upstream job'
1173
1174 concurrent: false
1175
1176 pipeline-scm:
1177 script-path: 'Jenkinsfile-omec-post-results.groovy'
1178 scm:
1179 - git:
1180 url: 'https://github.com/{github-organization}/omec-project-ci'
1181 branches:
1182 - 'master'