blob: c7b74342ccad9662960a3c364c6fb3e6d0812f9c [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'
24 cp-context: 'dev-central-gcp'
25 dp-context: 'dev-edge-onf-menlo'
You Wangfd5f17a2020-10-26 14:18:18 -070026 central-config: 'acc-gcp/app_values/omec-cp.yaml'
27 edge-config: 'ace-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 Wangadd58172020-06-23 20:09:28 -070032 cp-context: 'dev-central-gcp'
33 dp-context: 'dev-edge-onf-menlo'
You Wangc8955b12020-06-19 14:22:12 -070034 - 'omec-archive-artifacts':
35 pod: 'dev'
36 build-node: 'omec-ci'
37 cp-context: 'dev-central-gcp'
38 dp-context: 'dev-edge-onf-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'
Zack Williams320b3142019-03-14 23:10:01 -070048
Zack Williams73c3cf42019-02-25 23:43:22 -070049# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080050- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070051 name: ngic-rtc
52 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080053
Zack Williamsb3292082019-10-11 17:15:18 -070054 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070055 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070056 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
57 github_pr_org_list:
58 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -080059 registry: 'registry.aetherproject.org'
60 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070061
Kailashbe4dc092019-01-23 09:22:17 -080062 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070063 - 'omec-combined':
64 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070065 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070066 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070067 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070068 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070069 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080070 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080071 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070072 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080073 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080074 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070075 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -070076 - 'docker-publish-github':
77 build-timeout: 30
78 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070079 build-node: 'ubuntu16.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -070080 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -070081
Zack Williamse306e572019-04-18 07:12:46 -070082# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070083- project:
Zack Williamse306e572019-04-18 07:12:46 -070084 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070085 project: '{name}'
86
Zack Williamsb3292082019-10-11 17:15:18 -070087 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070088 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070089 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
90 github_pr_org_list:
91 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -080092 registry: 'registry.aetherproject.org'
93 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070094
Zack Williams73c3cf42019-02-25 23:43:22 -070095 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070096 - 'omec-combined':
97 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070098 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070099 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700100 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -0700101 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -0700102 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -0700103 - 'omec-install':
104 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -0700105 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -0700106 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800107 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800108 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700109 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800110 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800111 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700112 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700113 - 'docker-publish-github':
114 build-timeout: 30
115 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -0700116 build-node: 'ubuntu16.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700117 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700118
119# for openmme
120- project:
121 name: openmme
122 project: '{name}'
123
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700124 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700125 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700126 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
127 github_pr_org_list:
128 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -0800129 registry: 'registry.aetherproject.org'
130 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700131
Zack Williams73c3cf42019-02-25 23:43:22 -0700132 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700133 - 'omec-combined':
134 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700135 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700136 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700137 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700138 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700139 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800140 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800141 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700142 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800143 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800144 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700145 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700146 - 'docker-publish-github':
147 build-timeout: 30
148 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700149 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700150
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800151# for nucleus
152- project:
153 name: Nucleus
154 project: '{name}'
155
156 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800157 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800158 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
159 github_pr_org_list:
160 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -0800161 registry: 'registry.aetherproject.org'
162 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800163
164 jobs:
You Wang83055442020-04-17 14:54:40 -0700165 - 'omec-combined':
166 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
167 mme-repo: 'Nucleus'
168 - 'omec-install':
169 sub-project: '{name}'
170 branch: 'master'
171 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800172 - 'omec-fossa':
173 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700174 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800175 - 'omec-reuse':
176 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700177 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700178 - 'docker-publish-github':
179 build-timeout: 60
180 docker-repo: 'omecproject'
181 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700182 - 'omec-container'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800183
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800184# for freediameter
185- project:
186 name: freediameter
187 project: '{name}'
188
189 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800190 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800191 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
192 github_pr_org_list:
193 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -0800194 registry: 'registry.aetherproject.org'
195 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800196
197 jobs:
198 - 'omec-fossa':
199 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700200 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800201 - 'omec-reuse':
202 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700203 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800204
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700205# for ignite
206- project:
207 name: ignite
208 project: '{name}'
209
210 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700211 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700212 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
213 github_pr_org_list:
214 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -0800215 registry: 'registry.aetherproject.org'
216 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700217
218 jobs:
219 - 'omec-fossa':
220 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700221 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700222 - 'omec-reuse':
223 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700224 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700225
You Wangccc13492020-04-01 11:11:59 -0700226# for upf-epc
227- project:
228 name: upf-epc
229 project: '{name}'
230
231 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700232 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
233 github_pr_org_list:
234 - 'omec-project'
You Wang8be478b2020-11-17 14:41:16 -0800235 registry: 'registry.aetherproject.org'
236 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700237
238 jobs:
239 - 'omec-fossa':
240 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700241 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700242 - 'omec-reuse':
243 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700244 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700245 - 'docker-publish-github':
246 build-timeout: 30
247 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700248 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700249 extraEnvironmentVars: CPU=haswell
You Wange1cbba22020-06-15 21:16:14 -0700250 - 'omec-container'
You Wangccc13492020-04-01 11:11:59 -0700251
Zack Williams320b3142019-03-14 23:10:01 -0700252# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800253- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700254 id: 'omec-combined'
255 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800256 project-type: pipeline
257
258 description: |
259 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700260 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800261
262 properties:
263 - cord-infra-properties:
264 build-days-to-keep: '{build-days-to-keep}'
265 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700266 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700267 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700268 - build-blocker:
269 use-build-blocker: true
270 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700271 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800272
273 wrappers:
274 - lf-infra-wrappers:
275 build-timeout: '{build-timeout}'
276 jenkins-ssh-credential: '{jenkins-ssh-credential}'
277
278 parameters:
279 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700280 name: buildNode
281 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700282 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800283
284 - string:
hwchiu14f97852019-10-08 10:51:11 -0700285 name: project
286 default: '{project}'
287 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800288
You Wang83055442020-04-17 14:54:40 -0700289 - string:
290 name: mmeRepo
291 default: '{mme-repo}'
292 description: 'Name of the MME repo to test (openmme/Nucleus)'
293
Zack Williams73c3cf42019-02-25 23:43:22 -0700294 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700295 - cord-infra-github-pr-trigger:
296 github_pr_org_list: '{obj:github_pr_org_list}'
297 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800298 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700299
Zack Williams5d81f812019-02-27 14:37:09 -0700300 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800301
302 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700303 script-path: '{pipeline-file}'
304 scm:
305 - git:
hwchiu14f97852019-10-08 10:51:11 -0700306 url: 'https://github.com/{github-organization}/omec-project-ci'
307 branches:
308 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700309
Zack Williams320b3142019-03-14 23:10:01 -0700310# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700311- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700312 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700313 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700314 project-type: pipeline
315
316 description: |
317 <!-- Managed by Jenkins Job Builder -->
318 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
319
320 properties:
321 - cord-infra-properties:
322 build-days-to-keep: '{build-days-to-keep}'
323 artifact-num-to-keep: '{artifact-num-to-keep}'
324 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700325 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700326
327 wrappers:
328 - lf-infra-wrappers:
329 build-timeout: '{build-timeout}'
330 jenkins-ssh-credential: '{jenkins-ssh-credential}'
331
332 parameters:
333 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700334 name: buildNode
335 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700336 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700337
338 - string:
hwchiu14f97852019-10-08 10:51:11 -0700339 name: project
340 default: '{project}'
341 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700342
You Wang8addd4c2020-04-14 16:25:57 -0700343 - string:
344 name: branch
345 default: '{branch}'
346 description: 'Branch of the project'
347
Zack Williams320b3142019-03-14 23:10:01 -0700348 concurrent: false
349
350 pipeline-scm:
351 script-path: '{pipeline-file}'
352 scm:
353 - git:
hwchiu14f97852019-10-08 10:51:11 -0700354 url: 'https://github.com/{github-organization}/omec-project-ci'
355 branches:
356 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700357
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800358# FOSSA License Scan
359- job-template:
360 id: 'omec-fossa'
361 name: 'omec_{project}_fossa'
362 project-type: pipeline
363
364 description: |
365 <!-- Managed by Jenkins Job Builder -->
366 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
367
368 properties:
369 - cord-infra-properties:
370 build-days-to-keep: '{build-days-to-keep}'
371 artifact-num-to-keep: '{artifact-num-to-keep}'
372 - github:
373 url: 'https://github.com/{github-organization}/{project}'
374
375 wrappers:
376 - lf-infra-wrappers:
377 build-timeout: '{build-timeout}'
378 jenkins-ssh-credential: '{jenkins-ssh-credential}'
379
380 parameters:
381 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700382 name: ghprbPullId
383 default: '$ghprbPullId'
384 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
385
386 - string:
387 name: branch
388 default: '$ghprbTargetBranch'
389 description: 'Branch to run. Only used when manually run.'
390
391 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800392 name: buildNode
393 default: '{build-node}'
394 description: 'Name of the Jenkins executor node to run the job on'
395
396 - string:
397 name: project
398 default: '{project}'
399 description: 'Name of the project'
400
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700401 - string:
402 name: ghprbGhRepository
403 default: '{github-organization}/{project}'
404 description: 'Repository of the project.'
405
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800406 triggers:
407 - cord-infra-github-pr-trigger:
408 github_pr_org_list: '{obj:github_pr_org_list}'
409 github_pr_auth_id: '{github_pr_auth_id}'
410 status_context: 'CORD Jenkins - FOSSA Verification'
411
412 concurrent: false
413
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800414 project-type: pipeline
415 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800416
417# REUSE License Scan
418- job-template:
419 id: 'omec-reuse'
420 name: 'omec_{project}_reuse'
421 project-type: pipeline
422
423 description: |
424 <!-- Managed by Jenkins Job Builder -->
425 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
426
427 properties:
428 - cord-infra-properties:
429 build-days-to-keep: '{build-days-to-keep}'
430 artifact-num-to-keep: '{artifact-num-to-keep}'
431 - github:
432 url: 'https://github.com/{github-organization}/{project}'
433
434 wrappers:
435 - lf-infra-wrappers:
436 build-timeout: '{build-timeout}'
437 jenkins-ssh-credential: '{jenkins-ssh-credential}'
438
439 parameters:
440 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700441 name: ghprbPullId
442 default: '$ghprbPullId'
443 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
444
445 - string:
446 name: branch
447 default: '$ghprbTargetBranch'
448 description: 'Branch to run. Only used when manually run.'
449
450 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800451 name: buildNode
452 default: '{build-node}'
453 description: 'Name of the Jenkins executor node to run the job on'
454
455 - string:
456 name: project
457 default: '{project}'
458 description: 'Name of the project'
459
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700460 - string:
461 name: ghprbGhRepository
462 default: '{github-organization}/{project}'
463 description: 'Repository of the project.'
464
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800465 triggers:
466 - cord-infra-github-pr-trigger:
467 github_pr_org_list: '{obj:github_pr_org_list}'
468 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800469 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800470
471 concurrent: false
472
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800473 project-type: pipeline
474 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800475
Zack Williams320b3142019-03-14 23:10:01 -0700476# tests
477- job-template:
478 id: 'omec-tc1'
479 name: 'omec_tc1'
480 project-type: pipeline
481
482 description: |
483 <!-- Managed by Jenkins Job Builder -->
484 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
485
486 properties:
487 - cord-infra-properties:
488 build-days-to-keep: '{build-days-to-keep}'
489 artifact-num-to-keep: '{artifact-num-to-keep}'
490
491 wrappers:
492 - lf-infra-wrappers:
493 build-timeout: '{build-timeout}'
494 jenkins-ssh-credential: '{jenkins-ssh-credential}'
495
496 parameters:
497 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700498 name: buildNode
499 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700500 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700501
You Wang83055442020-04-17 14:54:40 -0700502 - string:
503 name: mmeRepo
504 default: 'openmme'
505 description: 'Name of the MME repo to test (openmme/Nucleus)'
506
Zack Williams5d81f812019-02-27 14:37:09 -0700507 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700508
509 pipeline-scm:
510 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
511 scm:
512 - git:
hwchiu14f97852019-10-08 10:51:11 -0700513 url: 'https://github.com/omec-project/omec-project-ci'
514 branches:
515 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700516
517- job-template:
518 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700519 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700520 project-type: pipeline
521
522 description: |
523 <!-- Managed by Jenkins Job Builder -->
524 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
525
526 properties:
527 - cord-infra-properties:
528 build-days-to-keep: '{build-days-to-keep}'
529 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700530
531 wrappers:
532 - lf-infra-wrappers:
533 build-timeout: '{build-timeout}'
534 jenkins-ssh-credential: '{jenkins-ssh-credential}'
535
536 parameters:
537 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700538 name: buildNode
539 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700540 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700541
You Wang83055442020-04-17 14:54:40 -0700542 - string:
543 name: mmeRepo
544 default: 'openmme'
545 description: 'Name of the MME repo to test (openmme/Nucleus)'
546
Zack Williams5d81f812019-02-27 14:37:09 -0700547 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700548
549 pipeline-scm:
550 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800551 scm:
552 - git:
hwchiu14f97852019-10-08 10:51:11 -0700553 url: 'https://github.com/omec-project/omec-project-ci'
554 branches:
555 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700556
You Wang5c15a7a2020-04-02 11:24:33 -0700557# Post-merge job
558# Triggered by Github pull request merge
559- job-template:
560 id: omec-postmerge
561 name: '{project}_postmerge'
562 description: |
563 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
564
565 properties:
566 - cord-infra-properties:
567 build-days-to-keep: '{build-days-to-keep}'
568 artifact-num-to-keep: '{artifact-num-to-keep}'
569
570 triggers:
571 - cord-infra-github-pr-trigger-merge:
572 project: '{project}'
573
574 wrappers:
575 - lf-infra-wrappers:
576 build-timeout: '{build-timeout}'
577 jenkins-ssh-credential: '{jenkins-ssh-credential}'
578
579 parameters:
580 - string:
581 name: buildNode
582 default: '{build-node}'
583 description: 'Name of the Jenkins node to run the job on'
584
585 - string:
You Wang8be478b2020-11-17 14:41:16 -0800586 name: registryProxy
587 default: '{registry-proxy}'
588 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700589
590 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700591 name: repoName
592 default: ''
593 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
594
595 - string:
596 name: repoUrl
597 default: ''
598 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
599
600 - string:
601 name: branchName
602 default: ''
603 description: 'Branch of the project. Populated by Generic Webhook Trigger'
604
605 - string:
606 name: commitHash
607 default: ''
608 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
609
610 - string:
611 name: c3poBranchName
612 default: '{c3po-branch-name}'
613 description: 'Branch name of c3po repo which we run tests against'
614
615 - string:
You Wang425d49f2020-07-29 21:43:28 -0700616 name: spgwBranchName
617 default: '{spgw-branch-name}'
618 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700619
620 - string:
You Wang40239452020-06-11 20:17:15 -0700621 name: nucleusBranchName
622 default: '{nucleus-branch-name}'
623 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700624
625 - string:
You Wange1cbba22020-06-15 21:16:14 -0700626 name: upfBranchName
627 default: '{upf-branch-name}'
628 description: 'Branch name of upf-epc repo which we run tests against'
629
630 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700631 name: maintainers
632 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
633 description: "The person that sould be notified if this job fails"
634
635 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700636 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700637
638 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700639
640# OMEC CI job which builds docker images, deploys and tests OMEC
641- job-template:
642 id: 'omec-container'
643 name: 'omec_{project}_container'
644 project-type: pipeline
645
646 description: |
647 <!-- Managed by Jenkins Job Builder -->
648 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
649
650 properties:
651 - cord-infra-properties:
652 build-days-to-keep: '{build-days-to-keep}'
653 artifact-num-to-keep: '{artifact-num-to-keep}'
654 - github:
655 url: 'https://github.com/{github-organization}/{project}'
656 - build-blocker:
657 use-build-blocker: true
658 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700659 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700660
661 wrappers:
662 - lf-infra-wrappers:
663 build-timeout: '{build-timeout}'
664 jenkins-ssh-credential: '{jenkins-ssh-credential}'
665
666 parameters:
667 - string:
668 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000669 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700670 description: 'Name of the Jenkins executor node to run the job on'
671
672 - string:
673 name: project
674 default: '{project}'
675 description: 'Name of the project'
676
677 - string:
678 name: ghprbTargetBranch
679 default: '$ghprbTargetBranch'
680 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
681
682 - string:
683 name: ghprbPullId
684 default: '$ghprbPullId'
685 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
686
687 - string:
688 name: ghprbActualCommit
689 default: '$ghprbActualCommit'
690 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
691
692 - string:
693 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800694 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700695 description: 'Docker registry that stores images built for CI testing'
696
697 - string:
You Wang8be478b2020-11-17 14:41:16 -0800698 name: registryProxy
699 default: '{registry-proxy}'
700 description: 'Harbor proxy which caches dockerhub images'
701
702 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700703 name: c3poBranch
704 default: 'master'
705 description: 'Branch name of c3po repo which we run tests against'
706
707 - string:
708 name: nucleusBranch
709 default: 'master'
710 description: 'Branch name of Nucleus repo which we run tests against'
711
712 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700713 name: spgwBranch
714 default: 'master'
715 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700716
You Wange1cbba22020-06-15 21:16:14 -0700717 - string:
718 name: upfBranch
719 default: 'master'
720 description: 'Branch name of upf-epc repo which we run tests against'
721
You Wang3cc17af2020-06-12 14:56:10 -0700722 triggers:
723 - cord-infra-github-pr-trigger:
724 github_pr_org_list: '{obj:github_pr_org_list}'
725 github_pr_auth_id: '{github_pr_auth_id}'
726 status_context: 'CORD Jenkins - Container Based Verification'
727
728 concurrent: false
729
730 pipeline-scm:
731 script-path: 'Jenkinsfile-omec-container.groovy'
732 scm:
733 - git:
734 url: 'https://github.com/{github-organization}/omec-project-ci'
735 branches:
736 - 'master'
737
738# OMEC deployment job
739- job-template:
740 id: 'omec-deploy'
741 name: 'omec_deploy_{pod}'
742 project-type: pipeline
743
744 description: |
745 <!-- Managed by Jenkins Job Builder -->
746 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
747
748 properties:
749 - cord-infra-properties:
750 build-days-to-keep: '{build-days-to-keep}'
751 artifact-num-to-keep: '{artifact-num-to-keep}'
752
753 wrappers:
754 - lf-infra-wrappers:
755 build-timeout: '{build-timeout}'
756 jenkins-ssh-credential: '{jenkins-ssh-credential}'
757
758 parameters:
759 - string:
760 name: buildNode
761 default: '{build-node}'
762 description: 'Name of the Jenkins executor node to run the job on.'
763
764 - string:
765 name: cpContext
766 default: '{cp-context}'
767 description: 'K8S context for omec control plane.'
768
769 - string:
770 name: dpContext
771 default: '{dp-context}'
772 description: 'K8S context for omec data plane.'
773
774 - string:
775 name: centralConfig
776 default: '{central-config}'
777 description: 'Directory name for central yaml files under aether-pod-configs.'
778
779 - string:
780 name: edgeConfig
781 default: '{edge-config}'
782 description: 'Directory name for edge yaml files under aether-pod-configs.'
783
784 - string:
785 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800786 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700787 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
788
789 - string:
790 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800791 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700792 description: 'Docker image for hss. Leave empty to use default helm-charts value'
793
794 - string:
795 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800796 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700797 description: 'Docker image for mme. Leave empty to use default helm-charts value'
798
799 - string:
800 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800801 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700802 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
803
804 - string:
You Wange1cbba22020-06-15 21:16:14 -0700805 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800806 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700807 description: 'Docker image for bess. Leave empty to use default helm-charts value'
808
809 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700810 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800811 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700812 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
813
814 - string:
815 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800816 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700817 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700818
819 concurrent: false
820
821 pipeline-scm:
822 script-path: 'Jenkinsfile-omec-deploy.groovy'
823 scm:
824 - git:
825 url: 'https://github.com/{github-organization}/omec-project-ci'
826 branches:
827 - 'master'
828
829# OMEC test job
830- job-template:
831 id: 'omec-ng40-test'
832 name: 'omec_ng40-test_{pod}'
833 project-type: pipeline
834
835 description: |
836 <!-- Managed by Jenkins Job Builder -->
837 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
838
839 properties:
840 - cord-infra-properties:
841 build-days-to-keep: '{build-days-to-keep}'
842 artifact-num-to-keep: '{artifact-num-to-keep}'
843
844 wrappers:
845 - lf-infra-wrappers:
846 build-timeout: '{build-timeout}'
847 jenkins-ssh-credential: '{jenkins-ssh-credential}'
848
849 parameters:
850 - string:
851 name: buildNode
852 default: '{build-node}'
853 description: 'Name of the Jenkins executor node to run the job on.'
854
855 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700856 name: timeout
857 default: '30'
858 description: 'Timeout period for this pipeline in minutes.'
859
860 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700861 name: ng40VM
862 default: '{ng40-vm}'
863 description: 'user@IP for accessing NG40 VM from the build node.'
864
865 - string:
866 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800867 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700868 description: 'NG40 test automation file'
869
You Wangadd58172020-06-23 20:09:28 -0700870 - string:
871 name: cpContext
872 default: '{cp-context}'
873 description: 'K8S context for omec control plane.'
874
875 - string:
876 name: dpContext
877 default: '{dp-context}'
878 description: 'K8S context for omec data plane.'
879
You Wang3cc17af2020-06-12 14:56:10 -0700880 concurrent: false
881
882 pipeline-scm:
883 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
884 scm:
885 - git:
886 url: 'https://github.com/{github-organization}/omec-project-ci'
887 branches:
888 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700889
890# OMEC archive artifacts job
891- job-template:
892 id: 'omec-archive-artifacts'
893 name: 'omec_archive-artifacts_{pod}'
894 project-type: pipeline
895
896 description: |
897 <!-- Managed by Jenkins Job Builder -->
898 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
899
900 properties:
901 - cord-infra-properties:
902 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -0800903 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -0700904
905 wrappers:
906 - lf-infra-wrappers:
907 build-timeout: '{build-timeout}'
908 jenkins-ssh-credential: '{jenkins-ssh-credential}'
909
910 parameters:
911 - string:
912 name: buildNode
913 default: '{build-node}'
914 description: 'Name of the Jenkins executor node to run the job on.'
915
916 - string:
917 name: cpContext
918 default: '{cp-context}'
919 description: 'K8S context for omec control plane.'
920
921 - string:
922 name: dpContext
923 default: '{dp-context}'
924 description: 'K8S context for omec data plane.'
925
You Wangc1f71962020-10-06 16:26:34 -0700926 - string:
927 name: logSince
928 default: '{log-since}'
929 description: 'Only upload logs newer than a relative duration e.g. 1h'
930
You Wangc8955b12020-06-19 14:22:12 -0700931 concurrent: false
932
933 pipeline-scm:
934 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
935 scm:
936 - git:
937 url: 'https://github.com/{github-organization}/omec-project-ci'
938 branches:
939 - 'master'