blob: 7d336ba16dd627b4fb968bb03d25463ecb47376c [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
Zack Williams320b3142019-03-14 23:10:01 -0700263# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800264- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700265 id: 'omec-combined'
266 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800267 project-type: pipeline
268
269 description: |
270 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700271 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800272
You Wangd1a54642021-02-05 15:42:04 -0800273 disabled: true
274
Kailashbe4dc092019-01-23 09:22:17 -0800275 properties:
276 - cord-infra-properties:
277 build-days-to-keep: '{build-days-to-keep}'
278 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700279 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700280 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700281 - build-blocker:
282 use-build-blocker: true
283 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700284 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800285
286 wrappers:
287 - lf-infra-wrappers:
288 build-timeout: '{build-timeout}'
289 jenkins-ssh-credential: '{jenkins-ssh-credential}'
290
291 parameters:
292 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700293 name: buildNode
294 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700295 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800296
297 - string:
hwchiu14f97852019-10-08 10:51:11 -0700298 name: project
299 default: '{project}'
300 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800301
You Wang83055442020-04-17 14:54:40 -0700302 - string:
303 name: mmeRepo
304 default: '{mme-repo}'
305 description: 'Name of the MME repo to test (openmme/Nucleus)'
306
Zack Williams73c3cf42019-02-25 23:43:22 -0700307 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700308 - cord-infra-github-pr-trigger:
309 github_pr_org_list: '{obj:github_pr_org_list}'
310 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800311 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700312
Zack Williams5d81f812019-02-27 14:37:09 -0700313 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800314
315 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700316 script-path: '{pipeline-file}'
317 scm:
318 - git:
hwchiu14f97852019-10-08 10:51:11 -0700319 url: 'https://github.com/{github-organization}/omec-project-ci'
320 branches:
321 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700322
Zack Williams320b3142019-03-14 23:10:01 -0700323# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700324- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700325 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700326 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700327 project-type: pipeline
328
329 description: |
330 <!-- Managed by Jenkins Job Builder -->
331 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
332
You Wangd78fec62021-02-08 16:07:46 -0800333 disabled: true
334
Zack Williams73c3cf42019-02-25 23:43:22 -0700335 properties:
336 - cord-infra-properties:
337 build-days-to-keep: '{build-days-to-keep}'
338 artifact-num-to-keep: '{artifact-num-to-keep}'
339 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700340 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700341
342 wrappers:
343 - lf-infra-wrappers:
344 build-timeout: '{build-timeout}'
345 jenkins-ssh-credential: '{jenkins-ssh-credential}'
346
347 parameters:
348 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700349 name: buildNode
350 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700351 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700352
353 - string:
hwchiu14f97852019-10-08 10:51:11 -0700354 name: project
355 default: '{project}'
356 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700357
You Wang8addd4c2020-04-14 16:25:57 -0700358 - string:
359 name: branch
360 default: '{branch}'
361 description: 'Branch of the project'
362
Zack Williams320b3142019-03-14 23:10:01 -0700363 concurrent: false
364
365 pipeline-scm:
366 script-path: '{pipeline-file}'
367 scm:
368 - git:
hwchiu14f97852019-10-08 10:51:11 -0700369 url: 'https://github.com/{github-organization}/omec-project-ci'
370 branches:
371 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700372
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800373# FOSSA License Scan
374- job-template:
375 id: 'omec-fossa'
376 name: 'omec_{project}_fossa'
377 project-type: pipeline
378
379 description: |
380 <!-- Managed by Jenkins Job Builder -->
381 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
382
383 properties:
384 - cord-infra-properties:
385 build-days-to-keep: '{build-days-to-keep}'
386 artifact-num-to-keep: '{artifact-num-to-keep}'
387 - github:
388 url: 'https://github.com/{github-organization}/{project}'
389
390 wrappers:
391 - lf-infra-wrappers:
392 build-timeout: '{build-timeout}'
393 jenkins-ssh-credential: '{jenkins-ssh-credential}'
394
395 parameters:
396 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700397 name: ghprbPullId
398 default: '$ghprbPullId'
399 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
400
401 - string:
402 name: branch
403 default: '$ghprbTargetBranch'
404 description: 'Branch to run. Only used when manually run.'
405
406 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800407 name: buildNode
408 default: '{build-node}'
409 description: 'Name of the Jenkins executor node to run the job on'
410
411 - string:
412 name: project
413 default: '{project}'
414 description: 'Name of the project'
415
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700416 - string:
417 name: ghprbGhRepository
418 default: '{github-organization}/{project}'
419 description: 'Repository of the project.'
420
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800421 triggers:
422 - cord-infra-github-pr-trigger:
423 github_pr_org_list: '{obj:github_pr_org_list}'
424 github_pr_auth_id: '{github_pr_auth_id}'
425 status_context: 'CORD Jenkins - FOSSA Verification'
426
427 concurrent: false
428
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800429 project-type: pipeline
430 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800431
432# REUSE License Scan
433- job-template:
434 id: 'omec-reuse'
435 name: 'omec_{project}_reuse'
436 project-type: pipeline
437
438 description: |
439 <!-- Managed by Jenkins Job Builder -->
440 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
441
442 properties:
443 - cord-infra-properties:
444 build-days-to-keep: '{build-days-to-keep}'
445 artifact-num-to-keep: '{artifact-num-to-keep}'
446 - github:
447 url: 'https://github.com/{github-organization}/{project}'
448
449 wrappers:
450 - lf-infra-wrappers:
451 build-timeout: '{build-timeout}'
452 jenkins-ssh-credential: '{jenkins-ssh-credential}'
453
454 parameters:
455 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700456 name: ghprbPullId
457 default: '$ghprbPullId'
458 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
459
460 - string:
461 name: branch
462 default: '$ghprbTargetBranch'
463 description: 'Branch to run. Only used when manually run.'
464
465 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800466 name: buildNode
467 default: '{build-node}'
468 description: 'Name of the Jenkins executor node to run the job on'
469
470 - string:
471 name: project
472 default: '{project}'
473 description: 'Name of the project'
474
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700475 - string:
476 name: ghprbGhRepository
477 default: '{github-organization}/{project}'
478 description: 'Repository of the project.'
479
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800480 triggers:
481 - cord-infra-github-pr-trigger:
482 github_pr_org_list: '{obj:github_pr_org_list}'
483 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800484 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800485
486 concurrent: false
487
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800488 project-type: pipeline
489 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800490
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800491# cppcheck
492- job-template:
493 id: 'omec-cppcheck'
494 name: 'omec_{project}-cppcheck'
495 project-type: pipeline
496
497 description: |
498 <!-- Managed by Jenkins Job Builder -->
499 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
500
501 properties:
502 - cord-infra-properties:
503 build-days-to-keep: '{build-days-to-keep}'
504 artifact-num-to-keep: '{artifact-num-to-keep}'
505 - github:
506 url: 'https://github.com/{github-organization}/{project}'
507
508 wrappers:
509 - lf-infra-wrappers:
510 build-timeout: '{build-timeout}'
511 jenkins-ssh-credential: '{jenkins-ssh-credential}'
512
513 parameters:
514 - string:
515 name: ghprbPullId
516 default: '$ghprbPullId'
517 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
518
519 - string:
520 name: branch
521 default: '$ghprbTargetBranch'
522 description: 'Branch to run. Only used when manually run.'
523
524 - string:
525 name: buildNode
526 default: '{build-node}'
527 description: 'Name of the Jenkins executor node to run the job on'
528
529 - string:
530 name: project
531 default: '{project}'
532 description: 'Name of the project'
533
534 - string:
535 name: ghprbGhRepository
536 default: '{github-organization}/{project}'
537 description: 'Repository of the project.'
538
539 triggers:
540 - cord-infra-github-pr-trigger:
541 github_pr_org_list: '{obj:github_pr_org_list}'
542 github_pr_auth_id: '{github_pr_auth_id}'
543 status_context: 'CORD Jenkins - cppcheck Verification'
544
545 concurrent: false
546
547 project-type: pipeline
548 dsl: !include-raw-escape: pipeline/{pipeline-file}
549
Zack Williams320b3142019-03-14 23:10:01 -0700550# tests
551- job-template:
552 id: 'omec-tc1'
553 name: 'omec_tc1'
554 project-type: pipeline
555
556 description: |
557 <!-- Managed by Jenkins Job Builder -->
558 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
559
You Wangd78fec62021-02-08 16:07:46 -0800560 disabled: true
561
Zack Williams320b3142019-03-14 23:10:01 -0700562 properties:
563 - cord-infra-properties:
564 build-days-to-keep: '{build-days-to-keep}'
565 artifact-num-to-keep: '{artifact-num-to-keep}'
566
567 wrappers:
568 - lf-infra-wrappers:
569 build-timeout: '{build-timeout}'
570 jenkins-ssh-credential: '{jenkins-ssh-credential}'
571
572 parameters:
573 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700574 name: buildNode
575 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700576 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700577
You Wang83055442020-04-17 14:54:40 -0700578 - string:
579 name: mmeRepo
580 default: 'openmme'
581 description: 'Name of the MME repo to test (openmme/Nucleus)'
582
Zack Williams5d81f812019-02-27 14:37:09 -0700583 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700584
585 pipeline-scm:
586 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
587 scm:
588 - git:
hwchiu14f97852019-10-08 10:51:11 -0700589 url: 'https://github.com/omec-project/omec-project-ci'
590 branches:
591 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700592
593- job-template:
594 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700595 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700596 project-type: pipeline
597
598 description: |
599 <!-- Managed by Jenkins Job Builder -->
600 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
601
You Wangd78fec62021-02-08 16:07:46 -0800602 disabled: true
603
Zack Williams73c3cf42019-02-25 23:43:22 -0700604 properties:
605 - cord-infra-properties:
606 build-days-to-keep: '{build-days-to-keep}'
607 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700608
609 wrappers:
610 - lf-infra-wrappers:
611 build-timeout: '{build-timeout}'
612 jenkins-ssh-credential: '{jenkins-ssh-credential}'
613
614 parameters:
615 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700616 name: buildNode
617 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700618 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700619
You Wang83055442020-04-17 14:54:40 -0700620 - string:
621 name: mmeRepo
622 default: 'openmme'
623 description: 'Name of the MME repo to test (openmme/Nucleus)'
624
Zack Williams5d81f812019-02-27 14:37:09 -0700625 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700626
627 pipeline-scm:
628 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800629 scm:
630 - git:
hwchiu14f97852019-10-08 10:51:11 -0700631 url: 'https://github.com/omec-project/omec-project-ci'
632 branches:
633 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700634
You Wang5c15a7a2020-04-02 11:24:33 -0700635# Post-merge job
636# Triggered by Github pull request merge
637- job-template:
638 id: omec-postmerge
639 name: '{project}_postmerge'
640 description: |
641 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
642
643 properties:
644 - cord-infra-properties:
645 build-days-to-keep: '{build-days-to-keep}'
646 artifact-num-to-keep: '{artifact-num-to-keep}'
647
648 triggers:
649 - cord-infra-github-pr-trigger-merge:
650 project: '{project}'
651
652 wrappers:
653 - lf-infra-wrappers:
654 build-timeout: '{build-timeout}'
655 jenkins-ssh-credential: '{jenkins-ssh-credential}'
656
657 parameters:
658 - string:
659 name: buildNode
660 default: '{build-node}'
661 description: 'Name of the Jenkins node to run the job on'
662
663 - string:
You Wang8be478b2020-11-17 14:41:16 -0800664 name: registryProxy
665 default: '{registry-proxy}'
666 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700667
668 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700669 name: repoName
670 default: ''
671 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
672
673 - string:
674 name: repoUrl
675 default: ''
676 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
677
678 - string:
679 name: branchName
680 default: ''
681 description: 'Branch of the project. Populated by Generic Webhook Trigger'
682
683 - string:
684 name: commitHash
685 default: ''
686 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
687
688 - string:
689 name: c3poBranchName
690 default: '{c3po-branch-name}'
691 description: 'Branch name of c3po repo which we run tests against'
692
693 - string:
You Wang425d49f2020-07-29 21:43:28 -0700694 name: spgwBranchName
695 default: '{spgw-branch-name}'
696 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700697
698 - string:
You Wang40239452020-06-11 20:17:15 -0700699 name: nucleusBranchName
700 default: '{nucleus-branch-name}'
701 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700702
703 - string:
You Wange1cbba22020-06-15 21:16:14 -0700704 name: upfBranchName
705 default: '{upf-branch-name}'
706 description: 'Branch name of upf-epc repo which we run tests against'
707
708 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700709 name: maintainers
710 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
711 description: "The person that sould be notified if this job fails"
712
713 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700714 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700715
716 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700717
718# OMEC CI job which builds docker images, deploys and tests OMEC
719- job-template:
720 id: 'omec-container'
721 name: 'omec_{project}_container'
722 project-type: pipeline
723
724 description: |
725 <!-- Managed by Jenkins Job Builder -->
726 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
727
You Wangd1a54642021-02-05 15:42:04 -0800728 disabled: true
729
You Wang3cc17af2020-06-12 14:56:10 -0700730 properties:
731 - cord-infra-properties:
732 build-days-to-keep: '{build-days-to-keep}'
733 artifact-num-to-keep: '{artifact-num-to-keep}'
734 - github:
735 url: 'https://github.com/{github-organization}/{project}'
736 - build-blocker:
737 use-build-blocker: true
738 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700739 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700740
741 wrappers:
742 - lf-infra-wrappers:
743 build-timeout: '{build-timeout}'
744 jenkins-ssh-credential: '{jenkins-ssh-credential}'
745
746 parameters:
747 - string:
748 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000749 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700750 description: 'Name of the Jenkins executor node to run the job on'
751
752 - string:
753 name: project
754 default: '{project}'
755 description: 'Name of the project'
756
757 - string:
758 name: ghprbTargetBranch
759 default: '$ghprbTargetBranch'
760 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
761
762 - string:
763 name: ghprbPullId
764 default: '$ghprbPullId'
765 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
766
767 - string:
768 name: ghprbActualCommit
769 default: '$ghprbActualCommit'
770 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
771
772 - string:
773 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800774 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700775 description: 'Docker registry that stores images built for CI testing'
776
777 - string:
You Wang8be478b2020-11-17 14:41:16 -0800778 name: registryProxy
779 default: '{registry-proxy}'
780 description: 'Harbor proxy which caches dockerhub images'
781
782 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700783 name: c3poBranch
784 default: 'master'
785 description: 'Branch name of c3po repo which we run tests against'
786
787 - string:
788 name: nucleusBranch
789 default: 'master'
790 description: 'Branch name of Nucleus repo which we run tests against'
791
792 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700793 name: spgwBranch
794 default: 'master'
795 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700796
You Wange1cbba22020-06-15 21:16:14 -0700797 - string:
798 name: upfBranch
799 default: 'master'
800 description: 'Branch name of upf-epc repo which we run tests against'
801
You Wang3cc17af2020-06-12 14:56:10 -0700802 triggers:
803 - cord-infra-github-pr-trigger:
804 github_pr_org_list: '{obj:github_pr_org_list}'
805 github_pr_auth_id: '{github_pr_auth_id}'
806 status_context: 'CORD Jenkins - Container Based Verification'
807
808 concurrent: false
809
810 pipeline-scm:
811 script-path: 'Jenkinsfile-omec-container.groovy'
812 scm:
813 - git:
814 url: 'https://github.com/{github-organization}/omec-project-ci'
815 branches:
816 - 'master'
817
818# OMEC deployment job
819- job-template:
820 id: 'omec-deploy'
821 name: 'omec_deploy_{pod}'
822 project-type: pipeline
823
824 description: |
825 <!-- Managed by Jenkins Job Builder -->
826 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
827
You Wangd78fec62021-02-08 16:07:46 -0800828 disabled: true
829
You Wang3cc17af2020-06-12 14:56:10 -0700830 properties:
831 - cord-infra-properties:
832 build-days-to-keep: '{build-days-to-keep}'
833 artifact-num-to-keep: '{artifact-num-to-keep}'
834
835 wrappers:
836 - lf-infra-wrappers:
837 build-timeout: '{build-timeout}'
838 jenkins-ssh-credential: '{jenkins-ssh-credential}'
839
840 parameters:
841 - string:
842 name: buildNode
843 default: '{build-node}'
844 description: 'Name of the Jenkins executor node to run the job on.'
845
846 - string:
847 name: cpContext
848 default: '{cp-context}'
849 description: 'K8S context for omec control plane.'
850
851 - string:
852 name: dpContext
853 default: '{dp-context}'
854 description: 'K8S context for omec data plane.'
855
856 - string:
857 name: centralConfig
858 default: '{central-config}'
859 description: 'Directory name for central yaml files under aether-pod-configs.'
860
861 - string:
862 name: edgeConfig
863 default: '{edge-config}'
864 description: 'Directory name for edge yaml files under aether-pod-configs.'
865
866 - string:
867 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800868 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700869 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
870
871 - string:
872 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800873 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700874 description: 'Docker image for hss. Leave empty to use default helm-charts value'
875
876 - string:
877 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800878 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700879 description: 'Docker image for mme. Leave empty to use default helm-charts value'
880
881 - string:
882 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800883 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700884 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
885
886 - string:
You Wange1cbba22020-06-15 21:16:14 -0700887 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800888 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700889 description: 'Docker image for bess. Leave empty to use default helm-charts value'
890
891 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700892 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800893 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700894 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
895
896 - string:
897 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800898 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700899 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700900
901 concurrent: false
902
903 pipeline-scm:
904 script-path: 'Jenkinsfile-omec-deploy.groovy'
905 scm:
906 - git:
907 url: 'https://github.com/{github-organization}/omec-project-ci'
908 branches:
909 - 'master'
910
911# OMEC test job
912- job-template:
913 id: 'omec-ng40-test'
914 name: 'omec_ng40-test_{pod}'
915 project-type: pipeline
916
917 description: |
918 <!-- Managed by Jenkins Job Builder -->
919 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
920
You Wangd78fec62021-02-08 16:07:46 -0800921 disabled: true
922
You Wang3cc17af2020-06-12 14:56:10 -0700923 properties:
924 - cord-infra-properties:
925 build-days-to-keep: '{build-days-to-keep}'
926 artifact-num-to-keep: '{artifact-num-to-keep}'
927
928 wrappers:
929 - lf-infra-wrappers:
930 build-timeout: '{build-timeout}'
931 jenkins-ssh-credential: '{jenkins-ssh-credential}'
932
933 parameters:
934 - string:
935 name: buildNode
936 default: '{build-node}'
937 description: 'Name of the Jenkins executor node to run the job on.'
938
939 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700940 name: timeout
941 default: '30'
942 description: 'Timeout period for this pipeline in minutes.'
943
944 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700945 name: ng40VM
946 default: '{ng40-vm}'
947 description: 'user@IP for accessing NG40 VM from the build node.'
948
949 - string:
950 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800951 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700952 description: 'NG40 test automation file'
953
You Wangadd58172020-06-23 20:09:28 -0700954 - string:
955 name: cpContext
956 default: '{cp-context}'
957 description: 'K8S context for omec control plane.'
958
959 - string:
960 name: dpContext
961 default: '{dp-context}'
962 description: 'K8S context for omec data plane.'
963
You Wang3cc17af2020-06-12 14:56:10 -0700964 concurrent: false
965
966 pipeline-scm:
967 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
968 scm:
969 - git:
970 url: 'https://github.com/{github-organization}/omec-project-ci'
971 branches:
972 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700973
974# OMEC archive artifacts job
975- job-template:
976 id: 'omec-archive-artifacts'
977 name: 'omec_archive-artifacts_{pod}'
978 project-type: pipeline
979
980 description: |
981 <!-- Managed by Jenkins Job Builder -->
982 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
983
You Wangd78fec62021-02-08 16:07:46 -0800984 disabled: true
985
You Wangc8955b12020-06-19 14:22:12 -0700986 properties:
987 - cord-infra-properties:
988 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -0800989 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -0700990
991 wrappers:
992 - lf-infra-wrappers:
993 build-timeout: '{build-timeout}'
994 jenkins-ssh-credential: '{jenkins-ssh-credential}'
995
996 parameters:
997 - string:
998 name: buildNode
999 default: '{build-node}'
1000 description: 'Name of the Jenkins executor node to run the job on.'
1001
1002 - string:
1003 name: cpContext
1004 default: '{cp-context}'
1005 description: 'K8S context for omec control plane.'
1006
1007 - string:
1008 name: dpContext
1009 default: '{dp-context}'
1010 description: 'K8S context for omec data plane.'
1011
You Wangc1f71962020-10-06 16:26:34 -07001012 - string:
1013 name: logSince
1014 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -08001015 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
1016
1017 - string:
1018 name: logSinceTime
1019 default: ''
1020 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -07001021
You Wangc8955b12020-06-19 14:22:12 -07001022 concurrent: false
1023
1024 pipeline-scm:
1025 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1026 scm:
1027 - git:
1028 url: 'https://github.com/{github-organization}/omec-project-ci'
1029 branches:
1030 - 'master'
You Wangf5a80032021-01-19 09:13:18 -08001031
1032# OMEC nightly job
1033- job-template:
1034 id: 'omec-nightly'
1035 name: 'omec_{type}_{pod}'
1036 project-type: pipeline
1037
1038 description: |
1039 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1040 {desc}
1041
You Wangd78fec62021-02-08 16:07:46 -08001042 disabled: true
1043
You Wangf5a80032021-01-19 09:13:18 -08001044 properties:
1045 - cord-infra-properties:
1046 build-days-to-keep: '{build-days-to-keep}'
1047 artifact-num-to-keep: '{artifact-num-to-keep}'
1048
1049 wrappers:
1050 - lf-infra-wrappers:
1051 build-timeout: '{build-timeout}'
1052 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1053
1054 parameters:
1055 - string:
1056 name: buildNode
1057 default: '{build-node}'
1058 description: 'Name of the Jenkins executor node to run the job on'
1059
1060 - string:
1061 name: testType
1062 default: '{type}'
1063 description: 'Type of test'
1064
1065 - string:
1066 name: pod
1067 default: '{pod}'
1068 description: 'Name of OMEC POD'
1069
1070 - string:
1071 name: timeout
1072 default: '{build-timeout}'
1073 description: 'Timeout period for this pipeline in minutes'
1074
1075 - string:
1076 name: ntlFile
1077 default: '{ntl-file}'
1078 description: 'NG40 test automation file'
1079
1080 - bool:
1081 name: redeploy
1082 default: true
1083 description: 'Redeploy OMEC before running tests if set to true'
1084
You Wangbaeea362021-01-19 14:11:15 -08001085 - string:
1086 name: hssdbImage
1087 default: '{registry-proxy}/c3po-hssdb:master-latest'
1088 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
1089
1090 - string:
1091 name: hssImage
1092 default: '{registry-proxy}/c3po-hss:master-latest'
1093 description: 'Docker image for hss. Leave empty to use default helm-charts value'
1094
1095 - string:
1096 name: mmeImage
1097 default: '{registry-proxy}/nucleus:master-latest'
1098 description: 'Docker image for mme. Leave empty to use default helm-charts value'
1099
1100 - string:
1101 name: spgwcImage
1102 default: '{registry-proxy}/spgw:master-latest'
1103 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
1104
1105 - string:
1106 name: bessImage
1107 default: '{registry-proxy}/upf-epc-bess:master-latest'
1108 description: 'Docker image for bess. Leave empty to use default helm-charts value'
1109
1110 - string:
1111 name: zmqifaceImage
1112 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
1113 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
1114
1115 - string:
1116 name: pfcpifaceImage
1117 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
1118 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
1119
You Wang174622a2021-01-27 14:57:03 -08001120 - string:
1121 name: maintainers
1122 default: 'you@opennetworking.org'
1123 description: "The person that sould be notified if this job fails"
1124
You Wangf5a80032021-01-19 09:13:18 -08001125 concurrent: false
1126
1127 triggers:
1128 - timed: |
1129 TZ=America/Los_Angeles
1130 H {time} * * *
1131
1132 pipeline-scm:
1133 script-path: 'Jenkinsfile-omec-nightly.groovy'
1134 scm:
1135 - git:
1136 url: 'https://github.com/{github-organization}/omec-project-ci'
1137 branches:
1138 - 'master'
You Wang4f14afd2021-01-19 13:44:07 -08001139
1140# OMEC post results job
1141- job-template:
1142 id: 'omec-post-results'
1143 name: 'omec_post-results_{pod}'
1144 project-type: pipeline
1145
1146 description: |
1147 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1148
You Wangd78fec62021-02-08 16:07:46 -08001149 disabled: true
1150
You Wang4f14afd2021-01-19 13:44:07 -08001151 properties:
1152 - cord-infra-properties:
1153 build-days-to-keep: '{build-days-to-keep}'
1154 artifact-num-to-keep: 2
1155
1156 wrappers:
1157 - lf-infra-wrappers:
1158 build-timeout: '{build-timeout}'
1159 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1160
1161 parameters:
1162 - string:
1163 name: buildNode
1164 default: '{build-node}'
1165 description: 'Name of the Jenkins executor node to run the job on'
1166
1167 - string:
1168 name: pod
1169 default: '{pod}'
1170 description: 'Name of OMEC pod'
1171
1172 - string:
1173 name: testType
1174 default: 'scale'
1175 description: 'Type of test e.g. scale, func, etc.'
1176
1177 - string:
1178 name: buildNumber
1179 default: '0'
1180 description: 'Build number of upstream job'
1181
1182 concurrent: false
1183
1184 pipeline-scm:
1185 script-path: 'Jenkinsfile-omec-post-results.groovy'
1186 scm:
1187 - git:
1188 url: 'https://github.com/{github-organization}/omec-project-ci'
1189 branches:
1190 - 'master'
You Wangd1a54642021-02-05 15:42:04 -08001191
1192# OMEC CI job which replaces the original container job
1193- job-template:
1194 id: 'omec-container-remote'
You Wang1c915392021-02-06 15:22:41 -08001195 name: 'omec_{project}_container_remote'
You Wangd1a54642021-02-05 15:42:04 -08001196
1197 description: |
1198 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
1199
1200 properties:
1201 - cord-infra-properties:
1202 build-days-to-keep: '{build-days-to-keep}'
1203 artifact-num-to-keep: '{artifact-num-to-keep}'
1204 - github:
1205 url: 'https://github.com/{github-organization}/{project}'
1206
1207 wrappers:
1208 - lf-infra-wrappers:
1209 build-timeout: '{build-timeout}'
1210 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1211
1212 parameters:
1213 - string:
1214 name: buildNode
1215 default: 'omec-ci'
1216 description: 'Name of the Jenkins executor node to run the job on'
1217
1218 - string:
1219 name: project
1220 default: '{project}'
1221 description: 'Name of the project'
1222
1223 - string:
1224 name: pod
1225 default: '{pod}'
1226 description: 'Name of OMEC pod'
1227
1228 - string:
1229 name: remoteJenkinsName
1230 default: '{remote-jenkins-name}'
1231 description: 'Name of the remote Jenkins instance that runs the job'
1232
1233 - string:
1234 name: ghprbTargetBranch
1235 default: '$ghprbTargetBranch'
1236 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1237
1238 - string:
1239 name: ghprbPullId
1240 default: '$ghprbPullId'
1241 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1242
1243 - string:
1244 name: ghprbActualCommit
1245 default: '$ghprbActualCommit'
1246 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
1247
1248 triggers:
1249 - cord-infra-github-pr-trigger:
1250 github_pr_org_list: '{obj:github_pr_org_list}'
1251 github_pr_auth_id: '{github_pr_auth_id}'
1252 status_context: 'CORD Jenkins - Container Based Verification'
1253
1254 concurrent: false
1255
1256 project-type: pipeline
1257 dsl: !include-raw-escape: pipeline/{pipeline-file}
Joey Armstrongaf679da2023-01-31 14:22:41 -05001258
1259# [EOF]