blob: 907de39f422c39db18e385f81ab72c65f4fb58c3 [file] [log] [blame]
Kailashbe4dc092019-01-23 09:22:17 -08001---
Zack Williams73c3cf42019-02-25 23:43:22 -07002# omec-ci jobs
Zack Williams5d81f812019-02-27 14:37:09 -07003# Uses github pull request builder to trigger and Jenkinsfiles from this repo
4# https://github.com/omec-project/omec-project-ci
Kailashbe4dc092019-01-23 09:22:17 -08005
Zack Williams320b3142019-03-14 23:10:01 -07006# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
7- project:
8 name: omec
Zack Williamsb3292082019-10-11 17:15:18 -07009 build-node: 'intel-102'
You Wang3111c952020-06-12 17:53:04 -070010 github-organization: 'omec-project'
You Wang1ebab212020-11-17 16:39:56 -080011 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080012 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams320b3142019-03-14 23:10:01 -070013
14 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
15 github_pr_org_list:
16 - 'omec-project'
17
18 jobs:
19 - 'omec-tc1'
20 - 'omec-tc2'
You Wang3cc17af2020-06-12 14:56:10 -070021 - 'omec-deploy':
22 pod: 'dev'
23 build-node: 'omec-ci'
You Wangb68b3d12021-01-12 09:00:06 -080024 cp-context: 'acc-dev-gcp'
25 dp-context: 'ace-dev-menlo'
26 central-config: 'acc-dev-gcp/app_values/omec-cp.yaml'
27 edge-config: 'ace-dev-menlo/app_values/omec-upf.yaml'
You Wang3cc17af2020-06-12 14:56:10 -070028 - 'omec-ng40-test':
29 pod: 'dev'
Jeremy Ronquillo083fc462020-10-14 20:44:39 +000030 build-node: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -070031 ng40-vm: 'ng40@192.168.122.101'
You Wangb68b3d12021-01-12 09:00:06 -080032 cp-context: 'acc-dev-gcp'
33 dp-context: 'ace-dev-menlo'
You Wangc8955b12020-06-19 14:22:12 -070034 - 'omec-archive-artifacts':
35 pod: 'dev'
36 build-node: 'omec-ci'
You Wangb68b3d12021-01-12 09:00:06 -080037 cp-context: 'acc-dev-gcp'
38 dp-context: 'ace-dev-menlo'
You Wangc1f71962020-10-06 16:26:34 -070039 log-since: '1h'
You Wang4f14afd2021-01-19 13:44:07 -080040 - 'omec-post-results':
41 pod: 'dev'
42 build-node: 'omec-ci'
You Wang5c15a7a2020-04-02 11:24:33 -070043 - 'omec-postmerge':
44 project: '{name}'
You Wang40239452020-06-11 20:17:15 -070045 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070046 c3po-branch-name: 'master'
You Wang425d49f2020-07-29 21:43:28 -070047 spgw-branch-name: 'master'
You Wang40239452020-06-11 20:17:15 -070048 nucleus-branch-name: 'master'
You Wange1cbba22020-06-15 21:16:14 -070049 upf-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070050 pipeline-file: 'omec-postmerge.groovy'
You Wangf5a80032021-01-19 09:13:18 -080051 - 'omec-nightly':
52 pod: 'dev'
53 build-node: 'omec-ci'
54 type: 'func'
55 build-timeout: 30
56 ntl-file: 'func.ntl'
57 time: '1'
58 desc: |
59 <img src="https://jenkins.opencord.org/job/omec_func_dev/lastCompletedBuild/artifact/plots/plot.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/>
60 - 'omec-nightly':
61 pod: 'dev'
62 build-node: 'omec-ci'
63 type: 'scale'
64 build-timeout: 180
65 ntl-file: 'scale-16k-rate10.ntl'
66 time: '2'
67 desc: |
68 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/attach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
69 ----------<br />
70 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/detach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
71 ----------<br />
72 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/ping.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
Zack Williams320b3142019-03-14 23:10:01 -070073
Zack Williams73c3cf42019-02-25 23:43:22 -070074# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080075- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070076 name: ngic-rtc
77 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080078
Zack Williamsb3292082019-10-11 17:15:18 -070079 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070080 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070081 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
82 github_pr_org_list:
83 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -080084 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080085 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070086
Kailashbe4dc092019-01-23 09:22:17 -080087 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070088 - 'omec-combined':
89 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070090 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070091 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070092 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070093 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070094 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080095 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080096 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070097 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080098 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080099 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700100 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700101 - 'docker-publish-github':
102 build-timeout: 30
103 docker-repo: 'omecproject'
Joey Armstrongc5194c42024-07-23 15:31:18 -0400104 # build-node: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -0400105 build-node: 'ubuntu18.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700106 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700107
Zack Williamse306e572019-04-18 07:12:46 -0700108# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700109- project:
Zack Williamse306e572019-04-18 07:12:46 -0700110 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700111 project: '{name}'
112
Zack Williamsb3292082019-10-11 17:15:18 -0700113 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700114 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700115 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
116 github_pr_org_list:
117 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800118 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800119 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700120
Zack Williams73c3cf42019-02-25 23:43:22 -0700121 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700122 - 'omec-combined':
123 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -0700124 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -0700125 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700126 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -0700127 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -0700128 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -0700129 - 'omec-install':
130 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -0700131 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -0700132 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800133 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800134 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700135 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800136 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800137 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700138 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700139 - 'docker-publish-github':
140 build-timeout: 30
141 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700142 build-node: 'ubuntu18.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700143 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800144 - 'omec-container-remote':
You Wangde433552021-05-12 09:16:37 -0700145 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800146 remote-jenkins-name: 'Aether Jenkins'
147 pipeline-file: 'omec-container-remote.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -0700148
149# for openmme
150- project:
151 name: openmme
152 project: '{name}'
153
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700154 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700155 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700156 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
157 github_pr_org_list:
158 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800159 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800160 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700161
Zack Williams73c3cf42019-02-25 23:43:22 -0700162 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700163 - 'omec-combined':
164 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700165 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700166 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700167 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700168 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700169 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800170 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800171 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700172 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800173 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800174 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700175 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700176 - 'docker-publish-github':
177 build-timeout: 30
178 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700179 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700180
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800181# for nucleus
182- project:
183 name: Nucleus
184 project: '{name}'
185
186 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800187 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800188 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
189 github_pr_org_list:
190 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800191 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800192 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800193
194 jobs:
You Wang83055442020-04-17 14:54:40 -0700195 - 'omec-combined':
196 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
197 mme-repo: 'Nucleus'
198 - 'omec-install':
199 sub-project: '{name}'
200 branch: 'master'
201 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800202 - 'omec-fossa':
203 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700204 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800205 - 'omec-reuse':
206 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700207 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800208 - 'omec-cppcheck':
209 pipeline-file: 'omec-cppcheck.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700210 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700211 - 'docker-publish-github':
212 build-timeout: 60
213 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700214 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700215 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800216 - 'omec-container-remote':
You Wangde433552021-05-12 09:16:37 -0700217 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800218 remote-jenkins-name: 'Aether Jenkins'
219 pipeline-file: 'omec-container-remote.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800220
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800221# for freediameter
222- project:
223 name: freediameter
224 project: '{name}'
225
226 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800227 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800228 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
229 github_pr_org_list:
230 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800231 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800232 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800233
234 jobs:
235 - 'omec-fossa':
236 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700237 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800238 - 'omec-reuse':
239 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700240 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800241
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700242# for ignite
243- project:
244 name: ignite
245 project: '{name}'
246
247 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700248 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700249 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
250 github_pr_org_list:
251 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800252 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800253 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700254
255 jobs:
256 - 'omec-fossa':
257 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700258 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700259 - 'omec-reuse':
260 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700261 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700262
Jeremy Ronquilloe060ceb2022-03-01 17:04:46 -0800263# for upf
You Wangccc13492020-04-01 11:11:59 -0700264- project:
Jeremy Ronquilloe060ceb2022-03-01 17:04:46 -0800265 name: upf
You Wangccc13492020-04-01 11:11:59 -0700266 project: '{name}'
267
268 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700269 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
270 github_pr_org_list:
271 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800272 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800273 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700274
275 jobs:
276 - 'omec-fossa':
277 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700278 build-node: 'ubuntu18.04-basebuild-1c-2g'
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
You Wangd1a54642021-02-05 15:42:04 -0800290 disabled: true
291
Kailashbe4dc092019-01-23 09:22:17 -0800292 properties:
293 - cord-infra-properties:
294 build-days-to-keep: '{build-days-to-keep}'
295 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700296 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700297 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700298 - build-blocker:
299 use-build-blocker: true
300 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700301 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800302
303 wrappers:
304 - lf-infra-wrappers:
305 build-timeout: '{build-timeout}'
306 jenkins-ssh-credential: '{jenkins-ssh-credential}'
307
308 parameters:
309 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700310 name: buildNode
311 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700312 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800313
314 - string:
hwchiu14f97852019-10-08 10:51:11 -0700315 name: project
316 default: '{project}'
317 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800318
You Wang83055442020-04-17 14:54:40 -0700319 - string:
320 name: mmeRepo
321 default: '{mme-repo}'
322 description: 'Name of the MME repo to test (openmme/Nucleus)'
323
Zack Williams73c3cf42019-02-25 23:43:22 -0700324 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700325 - cord-infra-github-pr-trigger:
326 github_pr_org_list: '{obj:github_pr_org_list}'
327 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800328 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700329
Zack Williams5d81f812019-02-27 14:37:09 -0700330 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800331
332 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700333 script-path: '{pipeline-file}'
334 scm:
335 - git:
hwchiu14f97852019-10-08 10:51:11 -0700336 url: 'https://github.com/{github-organization}/omec-project-ci'
337 branches:
338 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700339
Zack Williams320b3142019-03-14 23:10:01 -0700340# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700341- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700342 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700343 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700344 project-type: pipeline
345
346 description: |
347 <!-- Managed by Jenkins Job Builder -->
348 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
349
You Wangd78fec62021-02-08 16:07:46 -0800350 disabled: true
351
Zack Williams73c3cf42019-02-25 23:43:22 -0700352 properties:
353 - cord-infra-properties:
354 build-days-to-keep: '{build-days-to-keep}'
355 artifact-num-to-keep: '{artifact-num-to-keep}'
356 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700357 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700358
359 wrappers:
360 - lf-infra-wrappers:
361 build-timeout: '{build-timeout}'
362 jenkins-ssh-credential: '{jenkins-ssh-credential}'
363
364 parameters:
365 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700366 name: buildNode
367 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700368 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700369
370 - string:
hwchiu14f97852019-10-08 10:51:11 -0700371 name: project
372 default: '{project}'
373 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700374
You Wang8addd4c2020-04-14 16:25:57 -0700375 - string:
376 name: branch
377 default: '{branch}'
378 description: 'Branch of the project'
379
Zack Williams320b3142019-03-14 23:10:01 -0700380 concurrent: false
381
382 pipeline-scm:
383 script-path: '{pipeline-file}'
384 scm:
385 - git:
hwchiu14f97852019-10-08 10:51:11 -0700386 url: 'https://github.com/{github-organization}/omec-project-ci'
387 branches:
388 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700389
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800390# FOSSA License Scan
391- job-template:
392 id: 'omec-fossa'
393 name: 'omec_{project}_fossa'
394 project-type: pipeline
395
396 description: |
397 <!-- Managed by Jenkins Job Builder -->
398 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
399
400 properties:
401 - cord-infra-properties:
402 build-days-to-keep: '{build-days-to-keep}'
403 artifact-num-to-keep: '{artifact-num-to-keep}'
404 - github:
405 url: 'https://github.com/{github-organization}/{project}'
406
407 wrappers:
408 - lf-infra-wrappers:
409 build-timeout: '{build-timeout}'
410 jenkins-ssh-credential: '{jenkins-ssh-credential}'
411
412 parameters:
413 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700414 name: ghprbPullId
415 default: '$ghprbPullId'
416 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
417
418 - string:
419 name: branch
420 default: '$ghprbTargetBranch'
421 description: 'Branch to run. Only used when manually run.'
422
423 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800424 name: buildNode
425 default: '{build-node}'
426 description: 'Name of the Jenkins executor node to run the job on'
427
428 - string:
429 name: project
430 default: '{project}'
431 description: 'Name of the project'
432
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700433 - string:
434 name: ghprbGhRepository
435 default: '{github-organization}/{project}'
436 description: 'Repository of the project.'
437
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800438 triggers:
439 - cord-infra-github-pr-trigger:
440 github_pr_org_list: '{obj:github_pr_org_list}'
441 github_pr_auth_id: '{github_pr_auth_id}'
442 status_context: 'CORD Jenkins - FOSSA Verification'
443
444 concurrent: false
445
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800446 project-type: pipeline
447 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800448
449# REUSE License Scan
450- job-template:
451 id: 'omec-reuse'
452 name: 'omec_{project}_reuse'
453 project-type: pipeline
454
455 description: |
456 <!-- Managed by Jenkins Job Builder -->
457 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
458
459 properties:
460 - cord-infra-properties:
461 build-days-to-keep: '{build-days-to-keep}'
462 artifact-num-to-keep: '{artifact-num-to-keep}'
463 - github:
464 url: 'https://github.com/{github-organization}/{project}'
465
466 wrappers:
467 - lf-infra-wrappers:
468 build-timeout: '{build-timeout}'
469 jenkins-ssh-credential: '{jenkins-ssh-credential}'
470
471 parameters:
472 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700473 name: ghprbPullId
474 default: '$ghprbPullId'
475 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
476
477 - string:
478 name: branch
479 default: '$ghprbTargetBranch'
480 description: 'Branch to run. Only used when manually run.'
481
482 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800483 name: buildNode
484 default: '{build-node}'
485 description: 'Name of the Jenkins executor node to run the job on'
486
487 - string:
488 name: project
489 default: '{project}'
490 description: 'Name of the project'
491
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700492 - string:
493 name: ghprbGhRepository
494 default: '{github-organization}/{project}'
495 description: 'Repository of the project.'
496
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800497 triggers:
498 - cord-infra-github-pr-trigger:
499 github_pr_org_list: '{obj:github_pr_org_list}'
500 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800501 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800502
503 concurrent: false
504
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800505 project-type: pipeline
506 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800507
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800508# cppcheck
509- job-template:
510 id: 'omec-cppcheck'
511 name: 'omec_{project}-cppcheck'
512 project-type: pipeline
513
514 description: |
515 <!-- Managed by Jenkins Job Builder -->
516 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
517
518 properties:
519 - cord-infra-properties:
520 build-days-to-keep: '{build-days-to-keep}'
521 artifact-num-to-keep: '{artifact-num-to-keep}'
522 - github:
523 url: 'https://github.com/{github-organization}/{project}'
524
525 wrappers:
526 - lf-infra-wrappers:
527 build-timeout: '{build-timeout}'
528 jenkins-ssh-credential: '{jenkins-ssh-credential}'
529
530 parameters:
531 - string:
532 name: ghprbPullId
533 default: '$ghprbPullId'
534 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
535
536 - string:
537 name: branch
538 default: '$ghprbTargetBranch'
539 description: 'Branch to run. Only used when manually run.'
540
541 - string:
542 name: buildNode
543 default: '{build-node}'
544 description: 'Name of the Jenkins executor node to run the job on'
545
546 - string:
547 name: project
548 default: '{project}'
549 description: 'Name of the project'
550
551 - string:
552 name: ghprbGhRepository
553 default: '{github-organization}/{project}'
554 description: 'Repository of the project.'
555
556 triggers:
557 - cord-infra-github-pr-trigger:
558 github_pr_org_list: '{obj:github_pr_org_list}'
559 github_pr_auth_id: '{github_pr_auth_id}'
560 status_context: 'CORD Jenkins - cppcheck Verification'
561
562 concurrent: false
563
564 project-type: pipeline
565 dsl: !include-raw-escape: pipeline/{pipeline-file}
566
Zack Williams320b3142019-03-14 23:10:01 -0700567# tests
568- job-template:
569 id: 'omec-tc1'
570 name: 'omec_tc1'
571 project-type: pipeline
572
573 description: |
574 <!-- Managed by Jenkins Job Builder -->
575 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
576
You Wangd78fec62021-02-08 16:07:46 -0800577 disabled: true
578
Zack Williams320b3142019-03-14 23:10:01 -0700579 properties:
580 - cord-infra-properties:
581 build-days-to-keep: '{build-days-to-keep}'
582 artifact-num-to-keep: '{artifact-num-to-keep}'
583
584 wrappers:
585 - lf-infra-wrappers:
586 build-timeout: '{build-timeout}'
587 jenkins-ssh-credential: '{jenkins-ssh-credential}'
588
589 parameters:
590 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700591 name: buildNode
592 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700593 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700594
You Wang83055442020-04-17 14:54:40 -0700595 - string:
596 name: mmeRepo
597 default: 'openmme'
598 description: 'Name of the MME repo to test (openmme/Nucleus)'
599
Zack Williams5d81f812019-02-27 14:37:09 -0700600 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700601
602 pipeline-scm:
603 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
604 scm:
605 - git:
hwchiu14f97852019-10-08 10:51:11 -0700606 url: 'https://github.com/omec-project/omec-project-ci'
607 branches:
608 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700609
610- job-template:
611 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700612 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700613 project-type: pipeline
614
615 description: |
616 <!-- Managed by Jenkins Job Builder -->
617 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
618
You Wangd78fec62021-02-08 16:07:46 -0800619 disabled: true
620
Zack Williams73c3cf42019-02-25 23:43:22 -0700621 properties:
622 - cord-infra-properties:
623 build-days-to-keep: '{build-days-to-keep}'
624 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700625
626 wrappers:
627 - lf-infra-wrappers:
628 build-timeout: '{build-timeout}'
629 jenkins-ssh-credential: '{jenkins-ssh-credential}'
630
631 parameters:
632 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700633 name: buildNode
634 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700635 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700636
You Wang83055442020-04-17 14:54:40 -0700637 - string:
638 name: mmeRepo
639 default: 'openmme'
640 description: 'Name of the MME repo to test (openmme/Nucleus)'
641
Zack Williams5d81f812019-02-27 14:37:09 -0700642 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700643
644 pipeline-scm:
645 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800646 scm:
647 - git:
hwchiu14f97852019-10-08 10:51:11 -0700648 url: 'https://github.com/omec-project/omec-project-ci'
649 branches:
650 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700651
You Wang5c15a7a2020-04-02 11:24:33 -0700652# Post-merge job
653# Triggered by Github pull request merge
654- job-template:
655 id: omec-postmerge
656 name: '{project}_postmerge'
657 description: |
658 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
659
660 properties:
661 - cord-infra-properties:
662 build-days-to-keep: '{build-days-to-keep}'
663 artifact-num-to-keep: '{artifact-num-to-keep}'
664
665 triggers:
666 - cord-infra-github-pr-trigger-merge:
667 project: '{project}'
668
669 wrappers:
670 - lf-infra-wrappers:
671 build-timeout: '{build-timeout}'
672 jenkins-ssh-credential: '{jenkins-ssh-credential}'
673
674 parameters:
675 - string:
676 name: buildNode
677 default: '{build-node}'
678 description: 'Name of the Jenkins node to run the job on'
679
680 - string:
You Wang8be478b2020-11-17 14:41:16 -0800681 name: registryProxy
682 default: '{registry-proxy}'
683 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700684
685 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700686 name: repoName
687 default: ''
688 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
689
690 - string:
691 name: repoUrl
692 default: ''
693 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
694
695 - string:
696 name: branchName
697 default: ''
698 description: 'Branch of the project. Populated by Generic Webhook Trigger'
699
700 - string:
701 name: commitHash
702 default: ''
703 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
704
705 - string:
706 name: c3poBranchName
707 default: '{c3po-branch-name}'
708 description: 'Branch name of c3po repo which we run tests against'
709
710 - string:
You Wang425d49f2020-07-29 21:43:28 -0700711 name: spgwBranchName
712 default: '{spgw-branch-name}'
713 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700714
715 - string:
You Wang40239452020-06-11 20:17:15 -0700716 name: nucleusBranchName
717 default: '{nucleus-branch-name}'
718 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700719
720 - string:
You Wange1cbba22020-06-15 21:16:14 -0700721 name: upfBranchName
722 default: '{upf-branch-name}'
723 description: 'Branch name of upf-epc repo which we run tests against'
724
725 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700726 name: maintainers
727 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
728 description: "The person that sould be notified if this job fails"
729
730 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700731 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700732
733 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700734
735# OMEC CI job which builds docker images, deploys and tests OMEC
736- job-template:
737 id: 'omec-container'
738 name: 'omec_{project}_container'
739 project-type: pipeline
740
741 description: |
742 <!-- Managed by Jenkins Job Builder -->
743 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
744
You Wangd1a54642021-02-05 15:42:04 -0800745 disabled: true
746
You Wang3cc17af2020-06-12 14:56:10 -0700747 properties:
748 - cord-infra-properties:
749 build-days-to-keep: '{build-days-to-keep}'
750 artifact-num-to-keep: '{artifact-num-to-keep}'
751 - github:
752 url: 'https://github.com/{github-organization}/{project}'
753 - build-blocker:
754 use-build-blocker: true
755 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700756 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700757
758 wrappers:
759 - lf-infra-wrappers:
760 build-timeout: '{build-timeout}'
761 jenkins-ssh-credential: '{jenkins-ssh-credential}'
762
763 parameters:
764 - string:
765 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000766 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700767 description: 'Name of the Jenkins executor node to run the job on'
768
769 - string:
770 name: project
771 default: '{project}'
772 description: 'Name of the project'
773
774 - string:
775 name: ghprbTargetBranch
776 default: '$ghprbTargetBranch'
777 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
778
779 - string:
780 name: ghprbPullId
781 default: '$ghprbPullId'
782 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
783
784 - string:
785 name: ghprbActualCommit
786 default: '$ghprbActualCommit'
787 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
788
789 - string:
790 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800791 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700792 description: 'Docker registry that stores images built for CI testing'
793
794 - string:
You Wang8be478b2020-11-17 14:41:16 -0800795 name: registryProxy
796 default: '{registry-proxy}'
797 description: 'Harbor proxy which caches dockerhub images'
798
799 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700800 name: c3poBranch
801 default: 'master'
802 description: 'Branch name of c3po repo which we run tests against'
803
804 - string:
805 name: nucleusBranch
806 default: 'master'
807 description: 'Branch name of Nucleus repo which we run tests against'
808
809 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700810 name: spgwBranch
811 default: 'master'
812 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700813
You Wange1cbba22020-06-15 21:16:14 -0700814 - string:
815 name: upfBranch
816 default: 'master'
817 description: 'Branch name of upf-epc repo which we run tests against'
818
You Wang3cc17af2020-06-12 14:56:10 -0700819 triggers:
820 - cord-infra-github-pr-trigger:
821 github_pr_org_list: '{obj:github_pr_org_list}'
822 github_pr_auth_id: '{github_pr_auth_id}'
823 status_context: 'CORD Jenkins - Container Based Verification'
824
825 concurrent: false
826
827 pipeline-scm:
828 script-path: 'Jenkinsfile-omec-container.groovy'
829 scm:
830 - git:
831 url: 'https://github.com/{github-organization}/omec-project-ci'
832 branches:
833 - 'master'
834
835# OMEC deployment job
836- job-template:
837 id: 'omec-deploy'
838 name: 'omec_deploy_{pod}'
839 project-type: pipeline
840
841 description: |
842 <!-- Managed by Jenkins Job Builder -->
843 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
844
You Wangd78fec62021-02-08 16:07:46 -0800845 disabled: true
846
You Wang3cc17af2020-06-12 14:56:10 -0700847 properties:
848 - cord-infra-properties:
849 build-days-to-keep: '{build-days-to-keep}'
850 artifact-num-to-keep: '{artifact-num-to-keep}'
851
852 wrappers:
853 - lf-infra-wrappers:
854 build-timeout: '{build-timeout}'
855 jenkins-ssh-credential: '{jenkins-ssh-credential}'
856
857 parameters:
858 - string:
859 name: buildNode
860 default: '{build-node}'
861 description: 'Name of the Jenkins executor node to run the job on.'
862
863 - string:
864 name: cpContext
865 default: '{cp-context}'
866 description: 'K8S context for omec control plane.'
867
868 - string:
869 name: dpContext
870 default: '{dp-context}'
871 description: 'K8S context for omec data plane.'
872
873 - string:
874 name: centralConfig
875 default: '{central-config}'
876 description: 'Directory name for central yaml files under aether-pod-configs.'
877
878 - string:
879 name: edgeConfig
880 default: '{edge-config}'
881 description: 'Directory name for edge yaml files under aether-pod-configs.'
882
883 - string:
884 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800885 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700886 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
887
888 - string:
889 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800890 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700891 description: 'Docker image for hss. Leave empty to use default helm-charts value'
892
893 - string:
894 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800895 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700896 description: 'Docker image for mme. Leave empty to use default helm-charts value'
897
898 - string:
899 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800900 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700901 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
902
903 - string:
You Wange1cbba22020-06-15 21:16:14 -0700904 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800905 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700906 description: 'Docker image for bess. Leave empty to use default helm-charts value'
907
908 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700909 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800910 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700911 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
912
913 - string:
914 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800915 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700916 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700917
918 concurrent: false
919
920 pipeline-scm:
921 script-path: 'Jenkinsfile-omec-deploy.groovy'
922 scm:
923 - git:
924 url: 'https://github.com/{github-organization}/omec-project-ci'
925 branches:
926 - 'master'
927
928# OMEC test job
929- job-template:
930 id: 'omec-ng40-test'
931 name: 'omec_ng40-test_{pod}'
932 project-type: pipeline
933
934 description: |
935 <!-- Managed by Jenkins Job Builder -->
936 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
937
You Wangd78fec62021-02-08 16:07:46 -0800938 disabled: true
939
You Wang3cc17af2020-06-12 14:56:10 -0700940 properties:
941 - cord-infra-properties:
942 build-days-to-keep: '{build-days-to-keep}'
943 artifact-num-to-keep: '{artifact-num-to-keep}'
944
945 wrappers:
946 - lf-infra-wrappers:
947 build-timeout: '{build-timeout}'
948 jenkins-ssh-credential: '{jenkins-ssh-credential}'
949
950 parameters:
951 - string:
952 name: buildNode
953 default: '{build-node}'
954 description: 'Name of the Jenkins executor node to run the job on.'
955
956 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700957 name: timeout
958 default: '30'
959 description: 'Timeout period for this pipeline in minutes.'
960
961 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700962 name: ng40VM
963 default: '{ng40-vm}'
964 description: 'user@IP for accessing NG40 VM from the build node.'
965
966 - string:
967 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800968 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700969 description: 'NG40 test automation file'
970
You Wangadd58172020-06-23 20:09:28 -0700971 - string:
972 name: cpContext
973 default: '{cp-context}'
974 description: 'K8S context for omec control plane.'
975
976 - string:
977 name: dpContext
978 default: '{dp-context}'
979 description: 'K8S context for omec data plane.'
980
You Wang3cc17af2020-06-12 14:56:10 -0700981 concurrent: false
982
983 pipeline-scm:
984 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
985 scm:
986 - git:
987 url: 'https://github.com/{github-organization}/omec-project-ci'
988 branches:
989 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700990
991# OMEC archive artifacts job
992- job-template:
993 id: 'omec-archive-artifacts'
994 name: 'omec_archive-artifacts_{pod}'
995 project-type: pipeline
996
997 description: |
998 <!-- Managed by Jenkins Job Builder -->
999 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1000
You Wangd78fec62021-02-08 16:07:46 -08001001 disabled: true
1002
You Wangc8955b12020-06-19 14:22:12 -07001003 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
You Wangd78fec62021-02-08 16:07:46 -08001059 disabled: true
1060
You Wangf5a80032021-01-19 09:13:18 -08001061 properties:
1062 - cord-infra-properties:
1063 build-days-to-keep: '{build-days-to-keep}'
1064 artifact-num-to-keep: '{artifact-num-to-keep}'
1065
1066 wrappers:
1067 - lf-infra-wrappers:
1068 build-timeout: '{build-timeout}'
1069 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1070
1071 parameters:
1072 - string:
1073 name: buildNode
1074 default: '{build-node}'
1075 description: 'Name of the Jenkins executor node to run the job on'
1076
1077 - string:
1078 name: testType
1079 default: '{type}'
1080 description: 'Type of test'
1081
1082 - string:
1083 name: pod
1084 default: '{pod}'
1085 description: 'Name of OMEC POD'
1086
1087 - string:
1088 name: timeout
1089 default: '{build-timeout}'
1090 description: 'Timeout period for this pipeline in minutes'
1091
1092 - string:
1093 name: ntlFile
1094 default: '{ntl-file}'
1095 description: 'NG40 test automation file'
1096
1097 - bool:
1098 name: redeploy
1099 default: true
1100 description: 'Redeploy OMEC before running tests if set to true'
1101
You Wangbaeea362021-01-19 14:11:15 -08001102 - string:
1103 name: hssdbImage
1104 default: '{registry-proxy}/c3po-hssdb:master-latest'
1105 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
1106
1107 - string:
1108 name: hssImage
1109 default: '{registry-proxy}/c3po-hss:master-latest'
1110 description: 'Docker image for hss. Leave empty to use default helm-charts value'
1111
1112 - string:
1113 name: mmeImage
1114 default: '{registry-proxy}/nucleus:master-latest'
1115 description: 'Docker image for mme. Leave empty to use default helm-charts value'
1116
1117 - string:
1118 name: spgwcImage
1119 default: '{registry-proxy}/spgw:master-latest'
1120 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
1121
1122 - string:
1123 name: bessImage
1124 default: '{registry-proxy}/upf-epc-bess:master-latest'
1125 description: 'Docker image for bess. Leave empty to use default helm-charts value'
1126
1127 - string:
1128 name: zmqifaceImage
1129 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
1130 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
1131
1132 - string:
1133 name: pfcpifaceImage
1134 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
1135 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
1136
You Wang174622a2021-01-27 14:57:03 -08001137 - string:
1138 name: maintainers
1139 default: 'you@opennetworking.org'
1140 description: "The person that sould be notified if this job fails"
1141
You Wangf5a80032021-01-19 09:13:18 -08001142 concurrent: false
1143
1144 triggers:
1145 - timed: |
1146 TZ=America/Los_Angeles
1147 H {time} * * *
1148
1149 pipeline-scm:
1150 script-path: 'Jenkinsfile-omec-nightly.groovy'
1151 scm:
1152 - git:
1153 url: 'https://github.com/{github-organization}/omec-project-ci'
1154 branches:
1155 - 'master'
You Wang4f14afd2021-01-19 13:44:07 -08001156
1157# OMEC post results job
1158- job-template:
1159 id: 'omec-post-results'
1160 name: 'omec_post-results_{pod}'
1161 project-type: pipeline
1162
1163 description: |
1164 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1165
You Wangd78fec62021-02-08 16:07:46 -08001166 disabled: true
1167
You Wang4f14afd2021-01-19 13:44:07 -08001168 properties:
1169 - cord-infra-properties:
1170 build-days-to-keep: '{build-days-to-keep}'
1171 artifact-num-to-keep: 2
1172
1173 wrappers:
1174 - lf-infra-wrappers:
1175 build-timeout: '{build-timeout}'
1176 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1177
1178 parameters:
1179 - string:
1180 name: buildNode
1181 default: '{build-node}'
1182 description: 'Name of the Jenkins executor node to run the job on'
1183
1184 - string:
1185 name: pod
1186 default: '{pod}'
1187 description: 'Name of OMEC pod'
1188
1189 - string:
1190 name: testType
1191 default: 'scale'
1192 description: 'Type of test e.g. scale, func, etc.'
1193
1194 - string:
1195 name: buildNumber
1196 default: '0'
1197 description: 'Build number of upstream job'
1198
1199 concurrent: false
1200
1201 pipeline-scm:
1202 script-path: 'Jenkinsfile-omec-post-results.groovy'
1203 scm:
1204 - git:
1205 url: 'https://github.com/{github-organization}/omec-project-ci'
1206 branches:
1207 - 'master'
You Wangd1a54642021-02-05 15:42:04 -08001208
1209# OMEC CI job which replaces the original container job
1210- job-template:
1211 id: 'omec-container-remote'
You Wang1c915392021-02-06 15:22:41 -08001212 name: 'omec_{project}_container_remote'
You Wangd1a54642021-02-05 15:42:04 -08001213
1214 description: |
1215 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
1216
1217 properties:
1218 - cord-infra-properties:
1219 build-days-to-keep: '{build-days-to-keep}'
1220 artifact-num-to-keep: '{artifact-num-to-keep}'
1221 - github:
1222 url: 'https://github.com/{github-organization}/{project}'
1223
1224 wrappers:
1225 - lf-infra-wrappers:
1226 build-timeout: '{build-timeout}'
1227 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1228
1229 parameters:
1230 - string:
1231 name: buildNode
1232 default: 'omec-ci'
1233 description: 'Name of the Jenkins executor node to run the job on'
1234
1235 - string:
1236 name: project
1237 default: '{project}'
1238 description: 'Name of the project'
1239
1240 - string:
1241 name: pod
1242 default: '{pod}'
1243 description: 'Name of OMEC pod'
1244
1245 - string:
1246 name: remoteJenkinsName
1247 default: '{remote-jenkins-name}'
1248 description: 'Name of the remote Jenkins instance that runs the job'
1249
1250 - string:
1251 name: ghprbTargetBranch
1252 default: '$ghprbTargetBranch'
1253 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1254
1255 - string:
1256 name: ghprbPullId
1257 default: '$ghprbPullId'
1258 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1259
1260 - string:
1261 name: ghprbActualCommit
1262 default: '$ghprbActualCommit'
1263 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1264
1265 triggers:
1266 - cord-infra-github-pr-trigger:
1267 github_pr_org_list: '{obj:github_pr_org_list}'
1268 github_pr_auth_id: '{github_pr_auth_id}'
1269 status_context: 'CORD Jenkins - Container Based Verification'
1270
1271 concurrent: false
1272
1273 project-type: pipeline
1274 dsl: !include-raw-escape: pipeline/{pipeline-file}
Joey Armstrongaf679da2023-01-31 14:22:41 -05001275
1276# [EOF]