blob: 79ce2f9e12225ef7fdcc234d3c96dd531def19e2 [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 Wang5c15a7a2020-04-02 11:24:33 -070040 - 'omec-postmerge':
41 project: '{name}'
You Wang40239452020-06-11 20:17:15 -070042 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070043 c3po-branch-name: 'master'
You Wang425d49f2020-07-29 21:43:28 -070044 spgw-branch-name: 'master'
You Wang40239452020-06-11 20:17:15 -070045 nucleus-branch-name: 'master'
You Wange1cbba22020-06-15 21:16:14 -070046 upf-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070047 pipeline-file: 'omec-postmerge.groovy'
You Wangf5a80032021-01-19 09:13:18 -080048 - 'omec-nightly':
49 pod: 'dev'
50 build-node: 'omec-ci'
51 type: 'func'
52 build-timeout: 30
53 ntl-file: 'func.ntl'
54 time: '1'
55 desc: |
56 <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"/>
57 - 'omec-nightly':
58 pod: 'dev'
59 build-node: 'omec-ci'
60 type: 'scale'
61 build-timeout: 180
62 ntl-file: 'scale-16k-rate10.ntl'
63 time: '2'
64 desc: |
65 <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 />
66 ----------<br />
67 <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 />
68 ----------<br />
69 <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 -070070
Zack Williams73c3cf42019-02-25 23:43:22 -070071# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080072- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070073 name: ngic-rtc
74 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080075
Zack Williamsb3292082019-10-11 17:15:18 -070076 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070077 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070078 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
79 github_pr_org_list:
80 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -080081 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080082 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070083
Kailashbe4dc092019-01-23 09:22:17 -080084 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070085 - 'omec-combined':
86 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070087 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070088 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070089 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070090 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070091 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080092 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080093 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070094 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080095 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080096 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070097 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -070098 - 'docker-publish-github':
99 build-timeout: 30
100 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700101 build-node: 'ubuntu16.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -0700102 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700103
Zack Williamse306e572019-04-18 07:12:46 -0700104# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700105- project:
Zack Williamse306e572019-04-18 07:12:46 -0700106 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -0700107 project: '{name}'
108
Zack Williamsb3292082019-10-11 17:15:18 -0700109 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700110 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700111 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
112 github_pr_org_list:
113 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800114 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800115 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700116
Zack Williams73c3cf42019-02-25 23:43:22 -0700117 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700118 - 'omec-combined':
119 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -0700120 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -0700121 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700122 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -0700123 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -0700124 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -0700125 - 'omec-install':
126 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -0700127 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -0700128 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800129 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800130 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700131 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800132 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800133 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700134 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700135 - 'docker-publish-github':
136 build-timeout: 30
137 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -0700138 build-node: 'ubuntu16.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700139 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700140
141# for openmme
142- project:
143 name: openmme
144 project: '{name}'
145
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700146 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700147 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700148 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
149 github_pr_org_list:
150 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800151 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800152 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700153
Zack Williams73c3cf42019-02-25 23:43:22 -0700154 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700155 - 'omec-combined':
156 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700157 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700158 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700159 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700160 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700161 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800162 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800163 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700164 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800165 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800166 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700167 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700168 - 'docker-publish-github':
169 build-timeout: 30
170 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700171 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700172
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800173# for nucleus
174- project:
175 name: Nucleus
176 project: '{name}'
177
178 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800179 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800180 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
181 github_pr_org_list:
182 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800183 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800184 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800185
186 jobs:
You Wang83055442020-04-17 14:54:40 -0700187 - 'omec-combined':
188 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
189 mme-repo: 'Nucleus'
190 - 'omec-install':
191 sub-project: '{name}'
192 branch: 'master'
193 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800194 - 'omec-fossa':
195 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700196 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800197 - 'omec-reuse':
198 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700199 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800200 - 'omec-cppcheck':
201 pipeline-file: 'omec-cppcheck.groovy'
202 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700203 - 'docker-publish-github':
204 build-timeout: 60
205 docker-repo: 'omecproject'
206 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700207 - 'omec-container'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800208
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800209# for freediameter
210- project:
211 name: freediameter
212 project: '{name}'
213
214 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800215 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800216 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
217 github_pr_org_list:
218 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800219 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800220 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800221
222 jobs:
223 - 'omec-fossa':
224 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700225 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800226 - 'omec-reuse':
227 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700228 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800229
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700230# for ignite
231- project:
232 name: ignite
233 project: '{name}'
234
235 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700236 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700237 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
238 github_pr_org_list:
239 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800240 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800241 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700242
243 jobs:
244 - 'omec-fossa':
245 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700246 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700247 - 'omec-reuse':
248 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700249 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700250
You Wangccc13492020-04-01 11:11:59 -0700251# for upf-epc
252- project:
253 name: upf-epc
254 project: '{name}'
255
256 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700257 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
258 github_pr_org_list:
259 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800260 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800261 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700262
263 jobs:
264 - 'omec-fossa':
265 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700266 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700267 - 'omec-reuse':
268 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700269 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700270 - 'docker-publish-github':
271 build-timeout: 30
272 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700273 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700274 extraEnvironmentVars: CPU=haswell
You Wange1cbba22020-06-15 21:16:14 -0700275 - 'omec-container'
You Wangccc13492020-04-01 11:11:59 -0700276
Zack Williams320b3142019-03-14 23:10:01 -0700277# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800278- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700279 id: 'omec-combined'
280 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800281 project-type: pipeline
282
283 description: |
284 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700285 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800286
287 properties:
288 - cord-infra-properties:
289 build-days-to-keep: '{build-days-to-keep}'
290 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700291 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700292 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700293 - build-blocker:
294 use-build-blocker: true
295 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700296 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800297
298 wrappers:
299 - lf-infra-wrappers:
300 build-timeout: '{build-timeout}'
301 jenkins-ssh-credential: '{jenkins-ssh-credential}'
302
303 parameters:
304 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700305 name: buildNode
306 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700307 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800308
309 - string:
hwchiu14f97852019-10-08 10:51:11 -0700310 name: project
311 default: '{project}'
312 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800313
You Wang83055442020-04-17 14:54:40 -0700314 - string:
315 name: mmeRepo
316 default: '{mme-repo}'
317 description: 'Name of the MME repo to test (openmme/Nucleus)'
318
Zack Williams73c3cf42019-02-25 23:43:22 -0700319 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700320 - cord-infra-github-pr-trigger:
321 github_pr_org_list: '{obj:github_pr_org_list}'
322 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800323 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700324
Zack Williams5d81f812019-02-27 14:37:09 -0700325 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800326
327 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700328 script-path: '{pipeline-file}'
329 scm:
330 - git:
hwchiu14f97852019-10-08 10:51:11 -0700331 url: 'https://github.com/{github-organization}/omec-project-ci'
332 branches:
333 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700334
Zack Williams320b3142019-03-14 23:10:01 -0700335# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700336- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700337 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700338 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700339 project-type: pipeline
340
341 description: |
342 <!-- Managed by Jenkins Job Builder -->
343 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
344
345 properties:
346 - cord-infra-properties:
347 build-days-to-keep: '{build-days-to-keep}'
348 artifact-num-to-keep: '{artifact-num-to-keep}'
349 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700350 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700351
352 wrappers:
353 - lf-infra-wrappers:
354 build-timeout: '{build-timeout}'
355 jenkins-ssh-credential: '{jenkins-ssh-credential}'
356
357 parameters:
358 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700359 name: buildNode
360 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700361 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700362
363 - string:
hwchiu14f97852019-10-08 10:51:11 -0700364 name: project
365 default: '{project}'
366 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700367
You Wang8addd4c2020-04-14 16:25:57 -0700368 - string:
369 name: branch
370 default: '{branch}'
371 description: 'Branch of the project'
372
Zack Williams320b3142019-03-14 23:10:01 -0700373 concurrent: false
374
375 pipeline-scm:
376 script-path: '{pipeline-file}'
377 scm:
378 - git:
hwchiu14f97852019-10-08 10:51:11 -0700379 url: 'https://github.com/{github-organization}/omec-project-ci'
380 branches:
381 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700382
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800383# FOSSA License Scan
384- job-template:
385 id: 'omec-fossa'
386 name: 'omec_{project}_fossa'
387 project-type: pipeline
388
389 description: |
390 <!-- Managed by Jenkins Job Builder -->
391 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
392
393 properties:
394 - cord-infra-properties:
395 build-days-to-keep: '{build-days-to-keep}'
396 artifact-num-to-keep: '{artifact-num-to-keep}'
397 - github:
398 url: 'https://github.com/{github-organization}/{project}'
399
400 wrappers:
401 - lf-infra-wrappers:
402 build-timeout: '{build-timeout}'
403 jenkins-ssh-credential: '{jenkins-ssh-credential}'
404
405 parameters:
406 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700407 name: ghprbPullId
408 default: '$ghprbPullId'
409 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
410
411 - string:
412 name: branch
413 default: '$ghprbTargetBranch'
414 description: 'Branch to run. Only used when manually run.'
415
416 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800417 name: buildNode
418 default: '{build-node}'
419 description: 'Name of the Jenkins executor node to run the job on'
420
421 - string:
422 name: project
423 default: '{project}'
424 description: 'Name of the project'
425
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700426 - string:
427 name: ghprbGhRepository
428 default: '{github-organization}/{project}'
429 description: 'Repository of the project.'
430
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800431 triggers:
432 - cord-infra-github-pr-trigger:
433 github_pr_org_list: '{obj:github_pr_org_list}'
434 github_pr_auth_id: '{github_pr_auth_id}'
435 status_context: 'CORD Jenkins - FOSSA Verification'
436
437 concurrent: false
438
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800439 project-type: pipeline
440 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800441
442# REUSE License Scan
443- job-template:
444 id: 'omec-reuse'
445 name: 'omec_{project}_reuse'
446 project-type: pipeline
447
448 description: |
449 <!-- Managed by Jenkins Job Builder -->
450 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
451
452 properties:
453 - cord-infra-properties:
454 build-days-to-keep: '{build-days-to-keep}'
455 artifact-num-to-keep: '{artifact-num-to-keep}'
456 - github:
457 url: 'https://github.com/{github-organization}/{project}'
458
459 wrappers:
460 - lf-infra-wrappers:
461 build-timeout: '{build-timeout}'
462 jenkins-ssh-credential: '{jenkins-ssh-credential}'
463
464 parameters:
465 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700466 name: ghprbPullId
467 default: '$ghprbPullId'
468 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
469
470 - string:
471 name: branch
472 default: '$ghprbTargetBranch'
473 description: 'Branch to run. Only used when manually run.'
474
475 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800476 name: buildNode
477 default: '{build-node}'
478 description: 'Name of the Jenkins executor node to run the job on'
479
480 - string:
481 name: project
482 default: '{project}'
483 description: 'Name of the project'
484
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700485 - string:
486 name: ghprbGhRepository
487 default: '{github-organization}/{project}'
488 description: 'Repository of the project.'
489
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800490 triggers:
491 - cord-infra-github-pr-trigger:
492 github_pr_org_list: '{obj:github_pr_org_list}'
493 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800494 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800495
496 concurrent: false
497
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800498 project-type: pipeline
499 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800500
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800501# cppcheck
502- job-template:
503 id: 'omec-cppcheck'
504 name: 'omec_{project}-cppcheck'
505 project-type: pipeline
506
507 description: |
508 <!-- Managed by Jenkins Job Builder -->
509 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
510
511 properties:
512 - cord-infra-properties:
513 build-days-to-keep: '{build-days-to-keep}'
514 artifact-num-to-keep: '{artifact-num-to-keep}'
515 - github:
516 url: 'https://github.com/{github-organization}/{project}'
517
518 wrappers:
519 - lf-infra-wrappers:
520 build-timeout: '{build-timeout}'
521 jenkins-ssh-credential: '{jenkins-ssh-credential}'
522
523 parameters:
524 - string:
525 name: ghprbPullId
526 default: '$ghprbPullId'
527 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
528
529 - string:
530 name: branch
531 default: '$ghprbTargetBranch'
532 description: 'Branch to run. Only used when manually run.'
533
534 - string:
535 name: buildNode
536 default: '{build-node}'
537 description: 'Name of the Jenkins executor node to run the job on'
538
539 - string:
540 name: project
541 default: '{project}'
542 description: 'Name of the project'
543
544 - string:
545 name: ghprbGhRepository
546 default: '{github-organization}/{project}'
547 description: 'Repository of the project.'
548
549 triggers:
550 - cord-infra-github-pr-trigger:
551 github_pr_org_list: '{obj:github_pr_org_list}'
552 github_pr_auth_id: '{github_pr_auth_id}'
553 status_context: 'CORD Jenkins - cppcheck Verification'
554
555 concurrent: false
556
557 project-type: pipeline
558 dsl: !include-raw-escape: pipeline/{pipeline-file}
559
Zack Williams320b3142019-03-14 23:10:01 -0700560# tests
561- job-template:
562 id: 'omec-tc1'
563 name: 'omec_tc1'
564 project-type: pipeline
565
566 description: |
567 <!-- Managed by Jenkins Job Builder -->
568 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
569
570 properties:
571 - cord-infra-properties:
572 build-days-to-keep: '{build-days-to-keep}'
573 artifact-num-to-keep: '{artifact-num-to-keep}'
574
575 wrappers:
576 - lf-infra-wrappers:
577 build-timeout: '{build-timeout}'
578 jenkins-ssh-credential: '{jenkins-ssh-credential}'
579
580 parameters:
581 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700582 name: buildNode
583 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700584 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700585
You Wang83055442020-04-17 14:54:40 -0700586 - string:
587 name: mmeRepo
588 default: 'openmme'
589 description: 'Name of the MME repo to test (openmme/Nucleus)'
590
Zack Williams5d81f812019-02-27 14:37:09 -0700591 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700592
593 pipeline-scm:
594 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
595 scm:
596 - git:
hwchiu14f97852019-10-08 10:51:11 -0700597 url: 'https://github.com/omec-project/omec-project-ci'
598 branches:
599 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700600
601- job-template:
602 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700603 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700604 project-type: pipeline
605
606 description: |
607 <!-- Managed by Jenkins Job Builder -->
608 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
609
610 properties:
611 - cord-infra-properties:
612 build-days-to-keep: '{build-days-to-keep}'
613 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700614
615 wrappers:
616 - lf-infra-wrappers:
617 build-timeout: '{build-timeout}'
618 jenkins-ssh-credential: '{jenkins-ssh-credential}'
619
620 parameters:
621 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700622 name: buildNode
623 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700624 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700625
You Wang83055442020-04-17 14:54:40 -0700626 - string:
627 name: mmeRepo
628 default: 'openmme'
629 description: 'Name of the MME repo to test (openmme/Nucleus)'
630
Zack Williams5d81f812019-02-27 14:37:09 -0700631 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700632
633 pipeline-scm:
634 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800635 scm:
636 - git:
hwchiu14f97852019-10-08 10:51:11 -0700637 url: 'https://github.com/omec-project/omec-project-ci'
638 branches:
639 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700640
You Wang5c15a7a2020-04-02 11:24:33 -0700641# Post-merge job
642# Triggered by Github pull request merge
643- job-template:
644 id: omec-postmerge
645 name: '{project}_postmerge'
646 description: |
647 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
648
649 properties:
650 - cord-infra-properties:
651 build-days-to-keep: '{build-days-to-keep}'
652 artifact-num-to-keep: '{artifact-num-to-keep}'
653
654 triggers:
655 - cord-infra-github-pr-trigger-merge:
656 project: '{project}'
657
658 wrappers:
659 - lf-infra-wrappers:
660 build-timeout: '{build-timeout}'
661 jenkins-ssh-credential: '{jenkins-ssh-credential}'
662
663 parameters:
664 - string:
665 name: buildNode
666 default: '{build-node}'
667 description: 'Name of the Jenkins node to run the job on'
668
669 - string:
You Wang8be478b2020-11-17 14:41:16 -0800670 name: registryProxy
671 default: '{registry-proxy}'
672 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700673
674 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700675 name: repoName
676 default: ''
677 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
678
679 - string:
680 name: repoUrl
681 default: ''
682 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
683
684 - string:
685 name: branchName
686 default: ''
687 description: 'Branch of the project. Populated by Generic Webhook Trigger'
688
689 - string:
690 name: commitHash
691 default: ''
692 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
693
694 - string:
695 name: c3poBranchName
696 default: '{c3po-branch-name}'
697 description: 'Branch name of c3po repo which we run tests against'
698
699 - string:
You Wang425d49f2020-07-29 21:43:28 -0700700 name: spgwBranchName
701 default: '{spgw-branch-name}'
702 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700703
704 - string:
You Wang40239452020-06-11 20:17:15 -0700705 name: nucleusBranchName
706 default: '{nucleus-branch-name}'
707 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700708
709 - string:
You Wange1cbba22020-06-15 21:16:14 -0700710 name: upfBranchName
711 default: '{upf-branch-name}'
712 description: 'Branch name of upf-epc repo which we run tests against'
713
714 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700715 name: maintainers
716 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
717 description: "The person that sould be notified if this job fails"
718
719 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700720 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700721
722 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700723
724# OMEC CI job which builds docker images, deploys and tests OMEC
725- job-template:
726 id: 'omec-container'
727 name: 'omec_{project}_container'
728 project-type: pipeline
729
730 description: |
731 <!-- Managed by Jenkins Job Builder -->
732 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
733
734 properties:
735 - cord-infra-properties:
736 build-days-to-keep: '{build-days-to-keep}'
737 artifact-num-to-keep: '{artifact-num-to-keep}'
738 - github:
739 url: 'https://github.com/{github-organization}/{project}'
740 - build-blocker:
741 use-build-blocker: true
742 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700743 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700744
745 wrappers:
746 - lf-infra-wrappers:
747 build-timeout: '{build-timeout}'
748 jenkins-ssh-credential: '{jenkins-ssh-credential}'
749
750 parameters:
751 - string:
752 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000753 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700754 description: 'Name of the Jenkins executor node to run the job on'
755
756 - string:
757 name: project
758 default: '{project}'
759 description: 'Name of the project'
760
761 - string:
762 name: ghprbTargetBranch
763 default: '$ghprbTargetBranch'
764 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
765
766 - string:
767 name: ghprbPullId
768 default: '$ghprbPullId'
769 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
770
771 - string:
772 name: ghprbActualCommit
773 default: '$ghprbActualCommit'
774 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
775
776 - string:
777 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800778 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700779 description: 'Docker registry that stores images built for CI testing'
780
781 - string:
You Wang8be478b2020-11-17 14:41:16 -0800782 name: registryProxy
783 default: '{registry-proxy}'
784 description: 'Harbor proxy which caches dockerhub images'
785
786 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700787 name: c3poBranch
788 default: 'master'
789 description: 'Branch name of c3po repo which we run tests against'
790
791 - string:
792 name: nucleusBranch
793 default: 'master'
794 description: 'Branch name of Nucleus repo which we run tests against'
795
796 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700797 name: spgwBranch
798 default: 'master'
799 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700800
You Wange1cbba22020-06-15 21:16:14 -0700801 - string:
802 name: upfBranch
803 default: 'master'
804 description: 'Branch name of upf-epc repo which we run tests against'
805
You Wang3cc17af2020-06-12 14:56:10 -0700806 triggers:
807 - cord-infra-github-pr-trigger:
808 github_pr_org_list: '{obj:github_pr_org_list}'
809 github_pr_auth_id: '{github_pr_auth_id}'
810 status_context: 'CORD Jenkins - Container Based Verification'
811
812 concurrent: false
813
814 pipeline-scm:
815 script-path: 'Jenkinsfile-omec-container.groovy'
816 scm:
817 - git:
818 url: 'https://github.com/{github-organization}/omec-project-ci'
819 branches:
820 - 'master'
821
822# OMEC deployment job
823- job-template:
824 id: 'omec-deploy'
825 name: 'omec_deploy_{pod}'
826 project-type: pipeline
827
828 description: |
829 <!-- Managed by Jenkins Job Builder -->
830 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
831
832 properties:
833 - cord-infra-properties:
834 build-days-to-keep: '{build-days-to-keep}'
835 artifact-num-to-keep: '{artifact-num-to-keep}'
836
837 wrappers:
838 - lf-infra-wrappers:
839 build-timeout: '{build-timeout}'
840 jenkins-ssh-credential: '{jenkins-ssh-credential}'
841
842 parameters:
843 - string:
844 name: buildNode
845 default: '{build-node}'
846 description: 'Name of the Jenkins executor node to run the job on.'
847
848 - string:
849 name: cpContext
850 default: '{cp-context}'
851 description: 'K8S context for omec control plane.'
852
853 - string:
854 name: dpContext
855 default: '{dp-context}'
856 description: 'K8S context for omec data plane.'
857
858 - string:
859 name: centralConfig
860 default: '{central-config}'
861 description: 'Directory name for central yaml files under aether-pod-configs.'
862
863 - string:
864 name: edgeConfig
865 default: '{edge-config}'
866 description: 'Directory name for edge yaml files under aether-pod-configs.'
867
868 - string:
869 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800870 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700871 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
872
873 - string:
874 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800875 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700876 description: 'Docker image for hss. Leave empty to use default helm-charts value'
877
878 - string:
879 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800880 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700881 description: 'Docker image for mme. Leave empty to use default helm-charts value'
882
883 - string:
884 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800885 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700886 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
887
888 - string:
You Wange1cbba22020-06-15 21:16:14 -0700889 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800890 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700891 description: 'Docker image for bess. Leave empty to use default helm-charts value'
892
893 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700894 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800895 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700896 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
897
898 - string:
899 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800900 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700901 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700902
903 concurrent: false
904
905 pipeline-scm:
906 script-path: 'Jenkinsfile-omec-deploy.groovy'
907 scm:
908 - git:
909 url: 'https://github.com/{github-organization}/omec-project-ci'
910 branches:
911 - 'master'
912
913# OMEC test job
914- job-template:
915 id: 'omec-ng40-test'
916 name: 'omec_ng40-test_{pod}'
917 project-type: pipeline
918
919 description: |
920 <!-- Managed by Jenkins Job Builder -->
921 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
922
923 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
984 properties:
985 - cord-infra-properties:
986 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -0800987 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -0700988
989 wrappers:
990 - lf-infra-wrappers:
991 build-timeout: '{build-timeout}'
992 jenkins-ssh-credential: '{jenkins-ssh-credential}'
993
994 parameters:
995 - string:
996 name: buildNode
997 default: '{build-node}'
998 description: 'Name of the Jenkins executor node to run the job on.'
999
1000 - string:
1001 name: cpContext
1002 default: '{cp-context}'
1003 description: 'K8S context for omec control plane.'
1004
1005 - string:
1006 name: dpContext
1007 default: '{dp-context}'
1008 description: 'K8S context for omec data plane.'
1009
You Wangc1f71962020-10-06 16:26:34 -07001010 - string:
1011 name: logSince
1012 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -08001013 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
1014
1015 - string:
1016 name: logSinceTime
1017 default: ''
1018 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -07001019
You Wangc8955b12020-06-19 14:22:12 -07001020 concurrent: false
1021
1022 pipeline-scm:
1023 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1024 scm:
1025 - git:
1026 url: 'https://github.com/{github-organization}/omec-project-ci'
1027 branches:
1028 - 'master'
You Wangf5a80032021-01-19 09:13:18 -08001029
1030# OMEC nightly job
1031- job-template:
1032 id: 'omec-nightly'
1033 name: 'omec_{type}_{pod}'
1034 project-type: pipeline
1035
1036 description: |
1037 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
1038 {desc}
1039
1040 properties:
1041 - cord-infra-properties:
1042 build-days-to-keep: '{build-days-to-keep}'
1043 artifact-num-to-keep: '{artifact-num-to-keep}'
1044
1045 wrappers:
1046 - lf-infra-wrappers:
1047 build-timeout: '{build-timeout}'
1048 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1049
1050 parameters:
1051 - string:
1052 name: buildNode
1053 default: '{build-node}'
1054 description: 'Name of the Jenkins executor node to run the job on'
1055
1056 - string:
1057 name: testType
1058 default: '{type}'
1059 description: 'Type of test'
1060
1061 - string:
1062 name: pod
1063 default: '{pod}'
1064 description: 'Name of OMEC POD'
1065
1066 - string:
1067 name: timeout
1068 default: '{build-timeout}'
1069 description: 'Timeout period for this pipeline in minutes'
1070
1071 - string:
1072 name: ntlFile
1073 default: '{ntl-file}'
1074 description: 'NG40 test automation file'
1075
1076 - bool:
1077 name: redeploy
1078 default: true
1079 description: 'Redeploy OMEC before running tests if set to true'
1080
1081 concurrent: false
1082
1083 triggers:
1084 - timed: |
1085 TZ=America/Los_Angeles
1086 H {time} * * *
1087
1088 pipeline-scm:
1089 script-path: 'Jenkinsfile-omec-nightly.groovy'
1090 scm:
1091 - git:
1092 url: 'https://github.com/{github-organization}/omec-project-ci'
1093 branches:
1094 - 'master'