blob: 6540486275082bf0596d284d42452f8db55bc7a4 [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 Williamsc1d6a5e2019-05-06 16:35:58 -07006# license check
7- project:
8 name: omec-license-check
9
10 project-name: '{name}'
11
12 jobs:
13 - 'synopsys-check':
14 build-node: "ubuntu16.04-basebuild-2c-4g"
15 blackduck-project: omec
16 github-organization: omec-project
Zack Williamsb92f5d82019-05-06 22:16:40 -070017 git-server-url: "https://github.com/omec-project"
Zack Williamsc1d6a5e2019-05-06 16:35:58 -070018
Zack Williams320b3142019-03-14 23:10:01 -070019# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
20- project:
21 name: omec
22 executor_node: 'intel-102'
23
24 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
25 github_pr_org_list:
26 - 'omec-project'
27
28 jobs:
29 - 'omec-tc1'
30 - 'omec-tc2'
31
Zack Williams73c3cf42019-02-25 23:43:22 -070032# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080033- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070034 name: ngic-rtc
35 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080036
Zack Williams5d81f812019-02-27 14:37:09 -070037 executor_node: 'intel-102'
38
39 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
40 github_pr_org_list:
41 - 'omec-project'
42
Kailashbe4dc092019-01-23 09:22:17 -080043 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070044 - 'omec-combined':
45 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
46 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070047 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070048 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070049
Zack Williamse306e572019-04-18 07:12:46 -070050# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070051- project:
Zack Williamse306e572019-04-18 07:12:46 -070052 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070053 project: '{name}'
54
Zack Williams5d81f812019-02-27 14:37:09 -070055 executor_node: 'intel-102'
56
57 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
58 github_pr_org_list:
59 - 'omec-project'
60
Zack Williams73c3cf42019-02-25 23:43:22 -070061 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070062 - 'omec-combined':
63 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
64 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070065 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070066 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070067 - 'omec-install':
68 sub-project: 'c3po-hss'
69 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070070
71# for openmme
72- project:
73 name: openmme
74 project: '{name}'
75
Zack Williams5d81f812019-02-27 14:37:09 -070076 executor_node: 'intel-102'
77
78 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
79 github_pr_org_list:
80 - 'omec-project'
81
Zack Williams73c3cf42019-02-25 23:43:22 -070082 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070083 - 'omec-combined':
84 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
85 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070086 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070087 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070088
Zack Williams320b3142019-03-14 23:10:01 -070089# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -080090- job-template:
Zack Williams320b3142019-03-14 23:10:01 -070091 id: 'omec-combined'
92 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -080093 project-type: pipeline
94
95 description: |
96 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -070097 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -080098
99 properties:
100 - cord-infra-properties:
101 build-days-to-keep: '{build-days-to-keep}'
102 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700103 - github:
104 url: 'https://github.com/omec-project/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700105 - build-blocker:
106 use-build-blocker: true
107 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700108 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800109
110 wrappers:
111 - lf-infra-wrappers:
112 build-timeout: '{build-timeout}'
113 jenkins-ssh-credential: '{jenkins-ssh-credential}'
114
115 parameters:
116 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700117 name: executorNode
118 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700119 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800120
121 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700122 name: project
123 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700124 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800125
Zack Williams73c3cf42019-02-25 23:43:22 -0700126 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700127 - cord-infra-github-pr-trigger:
128 github_pr_org_list: '{obj:github_pr_org_list}'
129 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700130
Zack Williams5d81f812019-02-27 14:37:09 -0700131 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800132
133 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700134 script-path: '{pipeline-file}'
135 scm:
136 - git:
137 url: 'https://github.com/omec-project/omec-project-ci'
138 branches:
139 - 'master'
140
Zack Williams73c3cf42019-02-25 23:43:22 -0700141
Zack Williams320b3142019-03-14 23:10:01 -0700142# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700143- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700144 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700145 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700146 project-type: pipeline
147
148 description: |
149 <!-- Managed by Jenkins Job Builder -->
150 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
151
152 properties:
153 - cord-infra-properties:
154 build-days-to-keep: '{build-days-to-keep}'
155 artifact-num-to-keep: '{artifact-num-to-keep}'
156 - github:
157 url: 'https://github.com/omec-project/{project}'
158
159 wrappers:
160 - lf-infra-wrappers:
161 build-timeout: '{build-timeout}'
162 jenkins-ssh-credential: '{jenkins-ssh-credential}'
163
164 parameters:
165 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700166 name: executorNode
167 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700168 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700169
170 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700171 name: project
172 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700173 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700174
Zack Williams320b3142019-03-14 23:10:01 -0700175 concurrent: false
176
177 pipeline-scm:
178 script-path: '{pipeline-file}'
179 scm:
180 - git:
181 url: 'https://github.com/omec-project/omec-project-ci'
182 branches:
183 - 'master'
184
185# tests
186- job-template:
187 id: 'omec-tc1'
188 name: 'omec_tc1'
189 project-type: pipeline
190
191 description: |
192 <!-- Managed by Jenkins Job Builder -->
193 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
194
195 properties:
196 - cord-infra-properties:
197 build-days-to-keep: '{build-days-to-keep}'
198 artifact-num-to-keep: '{artifact-num-to-keep}'
199
200 wrappers:
201 - lf-infra-wrappers:
202 build-timeout: '{build-timeout}'
203 jenkins-ssh-credential: '{jenkins-ssh-credential}'
204
205 parameters:
206 - string:
207 name: executorNode
208 default: '{executor_node}'
209 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700210
Zack Williams5d81f812019-02-27 14:37:09 -0700211 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700212
213 pipeline-scm:
214 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
215 scm:
216 - git:
217 url: 'https://github.com/omec-project/omec-project-ci'
218 branches:
219 - 'master'
220
221- job-template:
222 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700223 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700224 project-type: pipeline
225
226 description: |
227 <!-- Managed by Jenkins Job Builder -->
228 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
229
230 properties:
231 - cord-infra-properties:
232 build-days-to-keep: '{build-days-to-keep}'
233 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700234
235 wrappers:
236 - lf-infra-wrappers:
237 build-timeout: '{build-timeout}'
238 jenkins-ssh-credential: '{jenkins-ssh-credential}'
239
240 parameters:
241 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700242 name: executorNode
243 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700244 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700245
Zack Williams5d81f812019-02-27 14:37:09 -0700246 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700247
248 pipeline-scm:
249 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800250 scm:
251 - git:
Zack Williams93fc6762019-02-19 17:02:03 -0700252 url: 'https://github.com/omec-project/omec-project-ci'
Kailashbe4dc092019-01-23 09:22:17 -0800253 branches:
254 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700255