blob: 3283c510ce62f01442a99ab0662b85d1a00bfa1d [file] [log] [blame]
Kailashbe4dc092019-01-23 09:22:17 -08001---
Zack Williams73c3cf42019-02-25 23:43:22 -07002# omec-ci jobs
Zack Williams5d81f812019-02-27 14:37:09 -07003# Uses github pull request builder to trigger and Jenkinsfiles from this repo
4# https://github.com/omec-project/omec-project-ci
Kailashbe4dc092019-01-23 09:22:17 -08005
Zack Williams320b3142019-03-14 23:10:01 -07006# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
7- project:
8 name: omec
Zack Williamsb3292082019-10-11 17:15:18 -07009 build-node: 'intel-102'
You Wang3111c952020-06-12 17:53:04 -070010 github-organization: 'omec-project'
You Wang1ebab212020-11-17 16:39:56 -080011 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080012 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams320b3142019-03-14 23:10:01 -070013
14 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
15 github_pr_org_list:
16 - 'omec-project'
17
18 jobs:
19 - 'omec-tc1'
20 - 'omec-tc2'
You Wang3cc17af2020-06-12 14:56:10 -070021 - 'omec-deploy':
22 pod: 'dev'
23 build-node: 'omec-ci'
You Wangb68b3d12021-01-12 09:00:06 -080024 cp-context: 'acc-dev-gcp'
25 dp-context: 'ace-dev-menlo'
26 central-config: 'acc-dev-gcp/app_values/omec-cp.yaml'
27 edge-config: 'ace-dev-menlo/app_values/omec-upf.yaml'
You Wang3cc17af2020-06-12 14:56:10 -070028 - 'omec-ng40-test':
29 pod: 'dev'
Jeremy Ronquillo083fc462020-10-14 20:44:39 +000030 build-node: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -070031 ng40-vm: 'ng40@192.168.122.101'
You Wangb68b3d12021-01-12 09:00:06 -080032 cp-context: 'acc-dev-gcp'
33 dp-context: 'ace-dev-menlo'
You Wangc8955b12020-06-19 14:22:12 -070034 - 'omec-archive-artifacts':
35 pod: 'dev'
36 build-node: 'omec-ci'
You Wangb68b3d12021-01-12 09:00:06 -080037 cp-context: 'acc-dev-gcp'
38 dp-context: 'ace-dev-menlo'
You Wangc1f71962020-10-06 16:26:34 -070039 log-since: '1h'
You Wang4f14afd2021-01-19 13:44:07 -080040 - 'omec-post-results':
41 pod: 'dev'
42 build-node: 'omec-ci'
You Wang5c15a7a2020-04-02 11:24:33 -070043 - 'omec-postmerge':
44 project: '{name}'
You Wang40239452020-06-11 20:17:15 -070045 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070046 c3po-branch-name: 'master'
You Wang425d49f2020-07-29 21:43:28 -070047 spgw-branch-name: 'master'
You Wang40239452020-06-11 20:17:15 -070048 nucleus-branch-name: 'master'
You Wange1cbba22020-06-15 21:16:14 -070049 upf-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070050 pipeline-file: 'omec-postmerge.groovy'
You Wangf5a80032021-01-19 09:13:18 -080051 - 'omec-nightly':
52 pod: 'dev'
53 build-node: 'omec-ci'
54 type: 'func'
55 build-timeout: 30
56 ntl-file: 'func.ntl'
57 time: '1'
58 desc: |
59 <img src="https://jenkins.opencord.org/job/omec_func_dev/lastCompletedBuild/artifact/plots/plot.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/>
60 - 'omec-nightly':
61 pod: 'dev'
62 build-node: 'omec-ci'
63 type: 'scale'
64 build-timeout: 180
65 ntl-file: 'scale-16k-rate10.ntl'
66 time: '2'
67 desc: |
68 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/attach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
69 ----------<br />
70 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/detach.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
71 ----------<br />
72 <img src="https://jenkins.opencord.org/job/omec_scale_dev/lastCompletedBuild/artifact/plots/ping.png", alt="Failed to load plot. Either a build is currently running, or the plot was not generated from the last build." width="840", height="360"/><br />
Zack Williams320b3142019-03-14 23:10:01 -070073
Zack Williams73c3cf42019-02-25 23:43:22 -070074# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080075- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070076 name: ngic-rtc
77 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080078
Zack Williamsb3292082019-10-11 17:15:18 -070079 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070080 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070081 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
82 github_pr_org_list:
83 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -080084 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080085 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070086
Kailashbe4dc092019-01-23 09:22:17 -080087 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070088 - 'omec-combined':
89 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070090 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070091 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070092 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070093 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070094 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080095 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080096 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070097 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080098 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080099 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700100 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700101 - 'docker-publish-github':
102 build-timeout: 30
103 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700104 build-node: 'ubuntu18.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -0700105 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700106
Zack Williamse306e572019-04-18 07:12:46 -0700107# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700108- project:
Zack Williamse306e572019-04-18 07:12:46 -0700109 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700110 project: '{name}'
111
Zack Williamsb3292082019-10-11 17:15:18 -0700112 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700113 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700114 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
115 github_pr_org_list:
116 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800117 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800118 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700119
Zack Williams73c3cf42019-02-25 23:43:22 -0700120 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700121 - 'omec-combined':
122 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -0700123 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -0700124 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700125 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -0700126 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -0700127 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -0700128 - 'omec-install':
129 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -0700130 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -0700131 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800132 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800133 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700134 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800135 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800136 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700137 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700138 - 'docker-publish-github':
139 build-timeout: 30
140 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700141 build-node: 'ubuntu18.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700142 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800143 - 'omec-container-remote':
You Wangde433552021-05-12 09:16:37 -0700144 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800145 remote-jenkins-name: 'Aether Jenkins'
146 pipeline-file: 'omec-container-remote.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -0700147
148# for openmme
149- project:
150 name: openmme
151 project: '{name}'
152
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700153 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700154 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700155 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
156 github_pr_org_list:
157 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800158 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800159 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700160
Zack Williams73c3cf42019-02-25 23:43:22 -0700161 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700162 - 'omec-combined':
163 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700164 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700165 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700166 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700167 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700168 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800169 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800170 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700171 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800172 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800173 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700174 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700175 - 'docker-publish-github':
176 build-timeout: 30
177 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700178 build-node: 'ubuntu18.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700179
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800180# for nucleus
181- project:
182 name: Nucleus
183 project: '{name}'
184
185 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800186 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800187 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
188 github_pr_org_list:
189 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800190 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800191 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800192
193 jobs:
You Wang83055442020-04-17 14:54:40 -0700194 - 'omec-combined':
195 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
196 mme-repo: 'Nucleus'
197 - 'omec-install':
198 sub-project: '{name}'
199 branch: 'master'
200 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800201 - 'omec-fossa':
202 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700203 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800204 - 'omec-reuse':
205 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700206 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800207 - 'omec-cppcheck':
208 pipeline-file: 'omec-cppcheck.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700209 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700210 - 'docker-publish-github':
211 build-timeout: 60
212 docker-repo: 'omecproject'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700213 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700214 - 'omec-container'
You Wangd1a54642021-02-05 15:42:04 -0800215 - 'omec-container-remote':
You Wangde433552021-05-12 09:16:37 -0700216 pod: 'ci-4g'
You Wangd1a54642021-02-05 15:42:04 -0800217 remote-jenkins-name: 'Aether Jenkins'
218 pipeline-file: 'omec-container-remote.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800219
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800220# for freediameter
221- project:
222 name: freediameter
223 project: '{name}'
224
225 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800226 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800227 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
228 github_pr_org_list:
229 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800230 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800231 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800232
233 jobs:
234 - 'omec-fossa':
235 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700236 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800237 - 'omec-reuse':
238 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700239 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800240
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700241# for ignite
242- project:
243 name: ignite
244 project: '{name}'
245
246 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700247 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700248 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
249 github_pr_org_list:
250 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800251 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800252 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700253
254 jobs:
255 - 'omec-fossa':
256 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700257 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700258 - 'omec-reuse':
259 pipeline-file: 'omec-reuse-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700260 build-node: 'ubuntu18.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700261
Jeremy Ronquilloe060ceb2022-03-01 17:04:46 -0800262# for upf
You Wangccc13492020-04-01 11:11:59 -0700263- project:
Jeremy Ronquilloe060ceb2022-03-01 17:04:46 -0800264 name: upf
You Wangccc13492020-04-01 11:11:59 -0700265 project: '{name}'
266
267 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700268 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
269 github_pr_org_list:
270 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800271 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800272 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700273
274 jobs:
275 - 'omec-fossa':
276 pipeline-file: 'omec-fossa-scan.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700277 build-node: 'ubuntu18.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700278
Zack Williams320b3142019-03-14 23:10:01 -0700279# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800280- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700281 id: 'omec-combined'
282 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800283 project-type: pipeline
284
285 description: |
286 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700287 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800288
You Wangd1a54642021-02-05 15:42:04 -0800289 disabled: true
290
Kailashbe4dc092019-01-23 09:22:17 -0800291 properties:
292 - cord-infra-properties:
293 build-days-to-keep: '{build-days-to-keep}'
294 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700295 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700296 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700297 - build-blocker:
298 use-build-blocker: true
299 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700300 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800301
302 wrappers:
303 - lf-infra-wrappers:
304 build-timeout: '{build-timeout}'
305 jenkins-ssh-credential: '{jenkins-ssh-credential}'
306
307 parameters:
308 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700309 name: buildNode
310 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700311 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800312
313 - string:
hwchiu14f97852019-10-08 10:51:11 -0700314 name: project
315 default: '{project}'
316 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800317
You Wang83055442020-04-17 14:54:40 -0700318 - string:
319 name: mmeRepo
320 default: '{mme-repo}'
321 description: 'Name of the MME repo to test (openmme/Nucleus)'
322
Zack Williams73c3cf42019-02-25 23:43:22 -0700323 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700324 - cord-infra-github-pr-trigger:
325 github_pr_org_list: '{obj:github_pr_org_list}'
326 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800327 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700328
Zack Williams5d81f812019-02-27 14:37:09 -0700329 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800330
331 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700332 script-path: '{pipeline-file}'
333 scm:
334 - git:
hwchiu14f97852019-10-08 10:51:11 -0700335 url: 'https://github.com/{github-organization}/omec-project-ci'
336 branches:
337 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700338
Zack Williams320b3142019-03-14 23:10:01 -0700339# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700340- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700341 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700342 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700343 project-type: pipeline
344
345 description: |
346 <!-- Managed by Jenkins Job Builder -->
347 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
348
You Wangd78fec62021-02-08 16:07:46 -0800349 disabled: true
350
Zack Williams73c3cf42019-02-25 23:43:22 -0700351 properties:
352 - cord-infra-properties:
353 build-days-to-keep: '{build-days-to-keep}'
354 artifact-num-to-keep: '{artifact-num-to-keep}'
355 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700356 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700357
358 wrappers:
359 - lf-infra-wrappers:
360 build-timeout: '{build-timeout}'
361 jenkins-ssh-credential: '{jenkins-ssh-credential}'
362
363 parameters:
364 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700365 name: buildNode
366 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700367 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700368
369 - string:
hwchiu14f97852019-10-08 10:51:11 -0700370 name: project
371 default: '{project}'
372 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700373
You Wang8addd4c2020-04-14 16:25:57 -0700374 - string:
375 name: branch
376 default: '{branch}'
377 description: 'Branch of the project'
378
Zack Williams320b3142019-03-14 23:10:01 -0700379 concurrent: false
380
381 pipeline-scm:
382 script-path: '{pipeline-file}'
383 scm:
384 - git:
hwchiu14f97852019-10-08 10:51:11 -0700385 url: 'https://github.com/{github-organization}/omec-project-ci'
386 branches:
387 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700388
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800389# FOSSA License Scan
390- job-template:
391 id: 'omec-fossa'
392 name: 'omec_{project}_fossa'
393 project-type: pipeline
394
395 description: |
396 <!-- Managed by Jenkins Job Builder -->
397 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
398
399 properties:
400 - cord-infra-properties:
401 build-days-to-keep: '{build-days-to-keep}'
402 artifact-num-to-keep: '{artifact-num-to-keep}'
403 - github:
404 url: 'https://github.com/{github-organization}/{project}'
405
406 wrappers:
407 - lf-infra-wrappers:
408 build-timeout: '{build-timeout}'
409 jenkins-ssh-credential: '{jenkins-ssh-credential}'
410
411 parameters:
412 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700413 name: ghprbPullId
414 default: '$ghprbPullId'
415 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
416
417 - string:
418 name: branch
419 default: '$ghprbTargetBranch'
420 description: 'Branch to run. Only used when manually run.'
421
422 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800423 name: buildNode
424 default: '{build-node}'
425 description: 'Name of the Jenkins executor node to run the job on'
426
427 - string:
428 name: project
429 default: '{project}'
430 description: 'Name of the project'
431
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700432 - string:
433 name: ghprbGhRepository
434 default: '{github-organization}/{project}'
435 description: 'Repository of the project.'
436
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800437 triggers:
438 - cord-infra-github-pr-trigger:
439 github_pr_org_list: '{obj:github_pr_org_list}'
440 github_pr_auth_id: '{github_pr_auth_id}'
441 status_context: 'CORD Jenkins - FOSSA Verification'
442
443 concurrent: false
444
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800445 project-type: pipeline
446 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800447
448# REUSE License Scan
449- job-template:
450 id: 'omec-reuse'
451 name: 'omec_{project}_reuse'
452 project-type: pipeline
453
454 description: |
455 <!-- Managed by Jenkins Job Builder -->
456 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
457
458 properties:
459 - cord-infra-properties:
460 build-days-to-keep: '{build-days-to-keep}'
461 artifact-num-to-keep: '{artifact-num-to-keep}'
462 - github:
463 url: 'https://github.com/{github-organization}/{project}'
464
465 wrappers:
466 - lf-infra-wrappers:
467 build-timeout: '{build-timeout}'
468 jenkins-ssh-credential: '{jenkins-ssh-credential}'
469
470 parameters:
471 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700472 name: ghprbPullId
473 default: '$ghprbPullId'
474 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
475
476 - string:
477 name: branch
478 default: '$ghprbTargetBranch'
479 description: 'Branch to run. Only used when manually run.'
480
481 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800482 name: buildNode
483 default: '{build-node}'
484 description: 'Name of the Jenkins executor node to run the job on'
485
486 - string:
487 name: project
488 default: '{project}'
489 description: 'Name of the project'
490
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700491 - string:
492 name: ghprbGhRepository
493 default: '{github-organization}/{project}'
494 description: 'Repository of the project.'
495
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800496 triggers:
497 - cord-infra-github-pr-trigger:
498 github_pr_org_list: '{obj:github_pr_org_list}'
499 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800500 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800501
502 concurrent: false
503
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800504 project-type: pipeline
505 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800506
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800507# cppcheck
508- job-template:
509 id: 'omec-cppcheck'
510 name: 'omec_{project}-cppcheck'
511 project-type: pipeline
512
513 description: |
514 <!-- Managed by Jenkins Job Builder -->
515 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
516
517 properties:
518 - cord-infra-properties:
519 build-days-to-keep: '{build-days-to-keep}'
520 artifact-num-to-keep: '{artifact-num-to-keep}'
521 - github:
522 url: 'https://github.com/{github-organization}/{project}'
523
524 wrappers:
525 - lf-infra-wrappers:
526 build-timeout: '{build-timeout}'
527 jenkins-ssh-credential: '{jenkins-ssh-credential}'
528
529 parameters:
530 - string:
531 name: ghprbPullId
532 default: '$ghprbPullId'
533 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
534
535 - string:
536 name: branch
537 default: '$ghprbTargetBranch'
538 description: 'Branch to run. Only used when manually run.'
539
540 - string:
541 name: buildNode
542 default: '{build-node}'
543 description: 'Name of the Jenkins executor node to run the job on'
544
545 - string:
546 name: project
547 default: '{project}'
548 description: 'Name of the project'
549
550 - string:
551 name: ghprbGhRepository
552 default: '{github-organization}/{project}'
553 description: 'Repository of the project.'
554
555 triggers:
556 - cord-infra-github-pr-trigger:
557 github_pr_org_list: '{obj:github_pr_org_list}'
558 github_pr_auth_id: '{github_pr_auth_id}'
559 status_context: 'CORD Jenkins - cppcheck Verification'
560
561 concurrent: false
562
563 project-type: pipeline
564 dsl: !include-raw-escape: pipeline/{pipeline-file}
565
Zack Williams320b3142019-03-14 23:10:01 -0700566# tests
567- job-template:
568 id: 'omec-tc1'
569 name: 'omec_tc1'
570 project-type: pipeline
571
572 description: |
573 <!-- Managed by Jenkins Job Builder -->
574 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
575
You Wangd78fec62021-02-08 16:07:46 -0800576 disabled: true
577
Zack Williams320b3142019-03-14 23:10:01 -0700578 properties:
579 - cord-infra-properties:
580 build-days-to-keep: '{build-days-to-keep}'
581 artifact-num-to-keep: '{artifact-num-to-keep}'
582
583 wrappers:
584 - lf-infra-wrappers:
585 build-timeout: '{build-timeout}'
586 jenkins-ssh-credential: '{jenkins-ssh-credential}'
587
588 parameters:
589 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700590 name: buildNode
591 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700592 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700593
You Wang83055442020-04-17 14:54:40 -0700594 - string:
595 name: mmeRepo
596 default: 'openmme'
597 description: 'Name of the MME repo to test (openmme/Nucleus)'
598
Zack Williams5d81f812019-02-27 14:37:09 -0700599 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700600
601 pipeline-scm:
602 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
603 scm:
604 - git:
hwchiu14f97852019-10-08 10:51:11 -0700605 url: 'https://github.com/omec-project/omec-project-ci'
606 branches:
607 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700608
609- job-template:
610 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700611 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700612 project-type: pipeline
613
614 description: |
615 <!-- Managed by Jenkins Job Builder -->
616 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
617
You Wangd78fec62021-02-08 16:07:46 -0800618 disabled: true
619
Zack Williams73c3cf42019-02-25 23:43:22 -0700620 properties:
621 - cord-infra-properties:
622 build-days-to-keep: '{build-days-to-keep}'
623 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700624
625 wrappers:
626 - lf-infra-wrappers:
627 build-timeout: '{build-timeout}'
628 jenkins-ssh-credential: '{jenkins-ssh-credential}'
629
630 parameters:
631 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700632 name: buildNode
633 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700634 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700635
You Wang83055442020-04-17 14:54:40 -0700636 - string:
637 name: mmeRepo
638 default: 'openmme'
639 description: 'Name of the MME repo to test (openmme/Nucleus)'
640
Zack Williams5d81f812019-02-27 14:37:09 -0700641 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700642
643 pipeline-scm:
644 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800645 scm:
646 - git:
hwchiu14f97852019-10-08 10:51:11 -0700647 url: 'https://github.com/omec-project/omec-project-ci'
648 branches:
649 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700650
You Wang5c15a7a2020-04-02 11:24:33 -0700651# Post-merge job
652# Triggered by Github pull request merge
653- job-template:
654 id: omec-postmerge
655 name: '{project}_postmerge'
656 description: |
657 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
658
659 properties:
660 - cord-infra-properties:
661 build-days-to-keep: '{build-days-to-keep}'
662 artifact-num-to-keep: '{artifact-num-to-keep}'
663
664 triggers:
665 - cord-infra-github-pr-trigger-merge:
666 project: '{project}'
667
668 wrappers:
669 - lf-infra-wrappers:
670 build-timeout: '{build-timeout}'
671 jenkins-ssh-credential: '{jenkins-ssh-credential}'
672
673 parameters:
674 - string:
675 name: buildNode
676 default: '{build-node}'
677 description: 'Name of the Jenkins node to run the job on'
678
679 - string:
You Wang8be478b2020-11-17 14:41:16 -0800680 name: registryProxy
681 default: '{registry-proxy}'
682 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700683
684 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700685 name: repoName
686 default: ''
687 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
688
689 - string:
690 name: repoUrl
691 default: ''
692 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
693
694 - string:
695 name: branchName
696 default: ''
697 description: 'Branch of the project. Populated by Generic Webhook Trigger'
698
699 - string:
700 name: commitHash
701 default: ''
702 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
703
704 - string:
705 name: c3poBranchName
706 default: '{c3po-branch-name}'
707 description: 'Branch name of c3po repo which we run tests against'
708
709 - string:
You Wang425d49f2020-07-29 21:43:28 -0700710 name: spgwBranchName
711 default: '{spgw-branch-name}'
712 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700713
714 - string:
You Wang40239452020-06-11 20:17:15 -0700715 name: nucleusBranchName
716 default: '{nucleus-branch-name}'
717 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700718
719 - string:
You Wange1cbba22020-06-15 21:16:14 -0700720 name: upfBranchName
721 default: '{upf-branch-name}'
722 description: 'Branch name of upf-epc repo which we run tests against'
723
724 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700725 name: maintainers
726 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
727 description: "The person that sould be notified if this job fails"
728
729 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700730 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700731
732 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700733
734# OMEC CI job which builds docker images, deploys and tests OMEC
735- job-template:
736 id: 'omec-container'
737 name: 'omec_{project}_container'
738 project-type: pipeline
739
740 description: |
741 <!-- Managed by Jenkins Job Builder -->
742 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
743
You Wangd1a54642021-02-05 15:42:04 -0800744 disabled: true
745
You Wang3cc17af2020-06-12 14:56:10 -0700746 properties:
747 - cord-infra-properties:
748 build-days-to-keep: '{build-days-to-keep}'
749 artifact-num-to-keep: '{artifact-num-to-keep}'
750 - github:
751 url: 'https://github.com/{github-organization}/{project}'
752 - build-blocker:
753 use-build-blocker: true
754 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700755 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700756
757 wrappers:
758 - lf-infra-wrappers:
759 build-timeout: '{build-timeout}'
760 jenkins-ssh-credential: '{jenkins-ssh-credential}'
761
762 parameters:
763 - string:
764 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000765 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700766 description: 'Name of the Jenkins executor node to run the job on'
767
768 - string:
769 name: project
770 default: '{project}'
771 description: 'Name of the project'
772
773 - string:
774 name: ghprbTargetBranch
775 default: '$ghprbTargetBranch'
776 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
777
778 - string:
779 name: ghprbPullId
780 default: '$ghprbPullId'
781 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
782
783 - string:
784 name: ghprbActualCommit
785 default: '$ghprbActualCommit'
786 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
787
788 - string:
789 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800790 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700791 description: 'Docker registry that stores images built for CI testing'
792
793 - string:
You Wang8be478b2020-11-17 14:41:16 -0800794 name: registryProxy
795 default: '{registry-proxy}'
796 description: 'Harbor proxy which caches dockerhub images'
797
798 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700799 name: c3poBranch
800 default: 'master'
801 description: 'Branch name of c3po repo which we run tests against'
802
803 - string:
804 name: nucleusBranch
805 default: 'master'
806 description: 'Branch name of Nucleus repo which we run tests against'
807
808 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700809 name: spgwBranch
810 default: 'master'
811 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700812
You Wange1cbba22020-06-15 21:16:14 -0700813 - string:
814 name: upfBranch
815 default: 'master'
816 description: 'Branch name of upf-epc repo which we run tests against'
817
You Wang3cc17af2020-06-12 14:56:10 -0700818 triggers:
819 - cord-infra-github-pr-trigger:
820 github_pr_org_list: '{obj:github_pr_org_list}'
821 github_pr_auth_id: '{github_pr_auth_id}'
822 status_context: 'CORD Jenkins - Container Based Verification'
823
824 concurrent: false
825
826 pipeline-scm:
827 script-path: 'Jenkinsfile-omec-container.groovy'
828 scm:
829 - git:
830 url: 'https://github.com/{github-organization}/omec-project-ci'
831 branches:
832 - 'master'
833
834# OMEC deployment job
835- job-template:
836 id: 'omec-deploy'
837 name: 'omec_deploy_{pod}'
838 project-type: pipeline
839
840 description: |
841 <!-- Managed by Jenkins Job Builder -->
842 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
843
You Wangd78fec62021-02-08 16:07:46 -0800844 disabled: true
845
You Wang3cc17af2020-06-12 14:56:10 -0700846 properties:
847 - cord-infra-properties:
848 build-days-to-keep: '{build-days-to-keep}'
849 artifact-num-to-keep: '{artifact-num-to-keep}'
850
851 wrappers:
852 - lf-infra-wrappers:
853 build-timeout: '{build-timeout}'
854 jenkins-ssh-credential: '{jenkins-ssh-credential}'
855
856 parameters:
857 - string:
858 name: buildNode
859 default: '{build-node}'
860 description: 'Name of the Jenkins executor node to run the job on.'
861
862 - string:
863 name: cpContext
864 default: '{cp-context}'
865 description: 'K8S context for omec control plane.'
866
867 - string:
868 name: dpContext
869 default: '{dp-context}'
870 description: 'K8S context for omec data plane.'
871
872 - string:
873 name: centralConfig
874 default: '{central-config}'
875 description: 'Directory name for central yaml files under aether-pod-configs.'
876
877 - string:
878 name: edgeConfig
879 default: '{edge-config}'
880 description: 'Directory name for edge yaml files under aether-pod-configs.'
881
882 - string:
883 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800884 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700885 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
886
887 - string:
888 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800889 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700890 description: 'Docker image for hss. Leave empty to use default helm-charts value'
891
892 - string:
893 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800894 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700895 description: 'Docker image for mme. Leave empty to use default helm-charts value'
896
897 - string:
898 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800899 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700900 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
901
902 - string:
You Wange1cbba22020-06-15 21:16:14 -0700903 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800904 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700905 description: 'Docker image for bess. Leave empty to use default helm-charts value'
906
907 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700908 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800909 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700910 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
911
912 - string:
913 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800914 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700915 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700916
917 concurrent: false
918
919 pipeline-scm:
920 script-path: 'Jenkinsfile-omec-deploy.groovy'
921 scm:
922 - git:
923 url: 'https://github.com/{github-organization}/omec-project-ci'
924 branches:
925 - 'master'
926
927# OMEC test job
928- job-template:
929 id: 'omec-ng40-test'
930 name: 'omec_ng40-test_{pod}'
931 project-type: pipeline
932
933 description: |
934 <!-- Managed by Jenkins Job Builder -->
935 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
936
You Wangd78fec62021-02-08 16:07:46 -0800937 disabled: true
938
You Wang3cc17af2020-06-12 14:56:10 -0700939 properties:
940 - cord-infra-properties:
941 build-days-to-keep: '{build-days-to-keep}'
942 artifact-num-to-keep: '{artifact-num-to-keep}'
943
944 wrappers:
945 - lf-infra-wrappers:
946 build-timeout: '{build-timeout}'
947 jenkins-ssh-credential: '{jenkins-ssh-credential}'
948
949 parameters:
950 - string:
951 name: buildNode
952 default: '{build-node}'
953 description: 'Name of the Jenkins executor node to run the job on.'
954
955 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700956 name: timeout
957 default: '30'
958 description: 'Timeout period for this pipeline in minutes.'
959
960 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700961 name: ng40VM
962 default: '{ng40-vm}'
963 description: 'user@IP for accessing NG40 VM from the build node.'
964
965 - string:
966 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800967 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700968 description: 'NG40 test automation file'
969
You Wangadd58172020-06-23 20:09:28 -0700970 - string:
971 name: cpContext
972 default: '{cp-context}'
973 description: 'K8S context for omec control plane.'
974
975 - string:
976 name: dpContext
977 default: '{dp-context}'
978 description: 'K8S context for omec data plane.'
979
You Wang3cc17af2020-06-12 14:56:10 -0700980 concurrent: false
981
982 pipeline-scm:
983 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
984 scm:
985 - git:
986 url: 'https://github.com/{github-organization}/omec-project-ci'
987 branches:
988 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700989
990# OMEC archive artifacts job
991- job-template:
992 id: 'omec-archive-artifacts'
993 name: 'omec_archive-artifacts_{pod}'
994 project-type: pipeline
995
996 description: |
997 <!-- Managed by Jenkins Job Builder -->
998 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
999
You Wangd78fec62021-02-08 16:07:46 -08001000 disabled: true
1001
You Wangc8955b12020-06-19 14:22:12 -07001002 properties:
1003 - cord-infra-properties:
1004 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -08001005 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -07001006
1007 wrappers:
1008 - lf-infra-wrappers:
1009 build-timeout: '{build-timeout}'
1010 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1011
1012 parameters:
1013 - string:
1014 name: buildNode
1015 default: '{build-node}'
1016 description: 'Name of the Jenkins executor node to run the job on.'
1017
1018 - string:
1019 name: cpContext
1020 default: '{cp-context}'
1021 description: 'K8S context for omec control plane.'
1022
1023 - string:
1024 name: dpContext
1025 default: '{dp-context}'
1026 description: 'K8S context for omec data plane.'
1027
You Wangc1f71962020-10-06 16:26:34 -07001028 - string:
1029 name: logSince
1030 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -08001031 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
1032
1033 - string:
1034 name: logSinceTime
1035 default: ''
1036 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -07001037
You Wangc8955b12020-06-19 14:22:12 -07001038 concurrent: false
1039
1040 pipeline-scm:
1041 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1042 scm:
1043 - git:
1044 url: 'https://github.com/{github-organization}/omec-project-ci'
1045 branches:
1046 - 'master'
You Wangf5a80032021-01-19 09:13:18 -08001047
1048# OMEC nightly job
1049- job-template:
1050 id: 'omec-nightly'
1051 name: 'omec_{type}_{pod}'
1052 project-type: pipeline
1053
1054 description: |
1055 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1056 {desc}
1057
You Wangd78fec62021-02-08 16:07:46 -08001058 disabled: true
1059
You Wangf5a80032021-01-19 09:13:18 -08001060 properties:
1061 - cord-infra-properties:
1062 build-days-to-keep: '{build-days-to-keep}'
1063 artifact-num-to-keep: '{artifact-num-to-keep}'
1064
1065 wrappers:
1066 - lf-infra-wrappers:
1067 build-timeout: '{build-timeout}'
1068 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1069
1070 parameters:
1071 - string:
1072 name: buildNode
1073 default: '{build-node}'
1074 description: 'Name of the Jenkins executor node to run the job on'
1075
1076 - string:
1077 name: testType
1078 default: '{type}'
1079 description: 'Type of test'
1080
1081 - string:
1082 name: pod
1083 default: '{pod}'
1084 description: 'Name of OMEC POD'
1085
1086 - string:
1087 name: timeout
1088 default: '{build-timeout}'
1089 description: 'Timeout period for this pipeline in minutes'
1090
1091 - string:
1092 name: ntlFile
1093 default: '{ntl-file}'
1094 description: 'NG40 test automation file'
1095
1096 - bool:
1097 name: redeploy
1098 default: true
1099 description: 'Redeploy OMEC before running tests if set to true'
1100
You Wangbaeea362021-01-19 14:11:15 -08001101 - string:
1102 name: hssdbImage
1103 default: '{registry-proxy}/c3po-hssdb:master-latest'
1104 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
1105
1106 - string:
1107 name: hssImage
1108 default: '{registry-proxy}/c3po-hss:master-latest'
1109 description: 'Docker image for hss. Leave empty to use default helm-charts value'
1110
1111 - string:
1112 name: mmeImage
1113 default: '{registry-proxy}/nucleus:master-latest'
1114 description: 'Docker image for mme. Leave empty to use default helm-charts value'
1115
1116 - string:
1117 name: spgwcImage
1118 default: '{registry-proxy}/spgw:master-latest'
1119 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
1120
1121 - string:
1122 name: bessImage
1123 default: '{registry-proxy}/upf-epc-bess:master-latest'
1124 description: 'Docker image for bess. Leave empty to use default helm-charts value'
1125
1126 - string:
1127 name: zmqifaceImage
1128 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
1129 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
1130
1131 - string:
1132 name: pfcpifaceImage
1133 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
1134 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
1135
You Wang174622a2021-01-27 14:57:03 -08001136 - string:
1137 name: maintainers
1138 default: 'you@opennetworking.org'
1139 description: "The person that sould be notified if this job fails"
1140
You Wangf5a80032021-01-19 09:13:18 -08001141 concurrent: false
1142
1143 triggers:
1144 - timed: |
1145 TZ=America/Los_Angeles
1146 H {time} * * *
1147
1148 pipeline-scm:
1149 script-path: 'Jenkinsfile-omec-nightly.groovy'
1150 scm:
1151 - git:
1152 url: 'https://github.com/{github-organization}/omec-project-ci'
1153 branches:
1154 - 'master'
You Wang4f14afd2021-01-19 13:44:07 -08001155
1156# OMEC post results job
1157- job-template:
1158 id: 'omec-post-results'
1159 name: 'omec_post-results_{pod}'
1160 project-type: pipeline
1161
1162 description: |
1163 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1164
You Wangd78fec62021-02-08 16:07:46 -08001165 disabled: true
1166
You Wang4f14afd2021-01-19 13:44:07 -08001167 properties:
1168 - cord-infra-properties:
1169 build-days-to-keep: '{build-days-to-keep}'
1170 artifact-num-to-keep: 2
1171
1172 wrappers:
1173 - lf-infra-wrappers:
1174 build-timeout: '{build-timeout}'
1175 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1176
1177 parameters:
1178 - string:
1179 name: buildNode
1180 default: '{build-node}'
1181 description: 'Name of the Jenkins executor node to run the job on'
1182
1183 - string:
1184 name: pod
1185 default: '{pod}'
1186 description: 'Name of OMEC pod'
1187
1188 - string:
1189 name: testType
1190 default: 'scale'
1191 description: 'Type of test e.g. scale, func, etc.'
1192
1193 - string:
1194 name: buildNumber
1195 default: '0'
1196 description: 'Build number of upstream job'
1197
1198 concurrent: false
1199
1200 pipeline-scm:
1201 script-path: 'Jenkinsfile-omec-post-results.groovy'
1202 scm:
1203 - git:
1204 url: 'https://github.com/{github-organization}/omec-project-ci'
1205 branches:
1206 - 'master'
You Wangd1a54642021-02-05 15:42:04 -08001207
1208# OMEC CI job which replaces the original container job
1209- job-template:
1210 id: 'omec-container-remote'
You Wang1c915392021-02-06 15:22:41 -08001211 name: 'omec_{project}_container_remote'
You Wangd1a54642021-02-05 15:42:04 -08001212
1213 description: |
1214 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
1215
1216 properties:
1217 - cord-infra-properties:
1218 build-days-to-keep: '{build-days-to-keep}'
1219 artifact-num-to-keep: '{artifact-num-to-keep}'
1220 - github:
1221 url: 'https://github.com/{github-organization}/{project}'
1222
1223 wrappers:
1224 - lf-infra-wrappers:
1225 build-timeout: '{build-timeout}'
1226 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1227
1228 parameters:
1229 - string:
1230 name: buildNode
1231 default: 'omec-ci'
1232 description: 'Name of the Jenkins executor node to run the job on'
1233
1234 - string:
1235 name: project
1236 default: '{project}'
1237 description: 'Name of the project'
1238
1239 - string:
1240 name: pod
1241 default: '{pod}'
1242 description: 'Name of OMEC pod'
1243
1244 - string:
1245 name: remoteJenkinsName
1246 default: '{remote-jenkins-name}'
1247 description: 'Name of the remote Jenkins instance that runs the job'
1248
1249 - string:
1250 name: ghprbTargetBranch
1251 default: '$ghprbTargetBranch'
1252 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1253
1254 - string:
1255 name: ghprbPullId
1256 default: '$ghprbPullId'
1257 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1258
1259 - string:
1260 name: ghprbActualCommit
1261 default: '$ghprbActualCommit'
1262 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1263
1264 triggers:
1265 - cord-infra-github-pr-trigger:
1266 github_pr_org_list: '{obj:github_pr_org_list}'
1267 github_pr_auth_id: '{github_pr_auth_id}'
1268 status_context: 'CORD Jenkins - Container Based Verification'
1269
1270 concurrent: false
1271
1272 project-type: pipeline
1273 dsl: !include-raw-escape: pipeline/{pipeline-file}
Joey Armstrongaf679da2023-01-31 14:22:41 -05001274
1275# [EOF]