blob: 9d9f8ad2f3b1c9eae72c15369314c0e46441e7a4 [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
Zack Williams3bf60d52019-06-07 12:56:10 -070010 blackduck-project: omec
Zack Williamsc1d6a5e2019-05-06 16:35:58 -070011
12 jobs:
Zack Williams3bf60d52019-06-07 12:56:10 -070013 - 'synopsys-periodic-check':
Zack Williams1e325b22019-07-24 17:52:57 -070014 github-organization: 'omec-project'
Zack Williams3bf60d52019-06-07 12:56:10 -070015 build-node: "ubuntu16.04-basebuild-2c-4g"
Zack Williamsb92f5d82019-05-06 22:16:40 -070016 git-server-url: "https://github.com/omec-project"
Zack Williamsc1d6a5e2019-05-06 16:35:58 -070017
Zack Williams320b3142019-03-14 23:10:01 -070018# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
19- project:
20 name: omec
21 executor_node: 'intel-102'
22
23 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
24 github_pr_org_list:
25 - 'omec-project'
26
27 jobs:
28 - 'omec-tc1'
29 - 'omec-tc2'
30
Zack Williams73c3cf42019-02-25 23:43:22 -070031# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080032- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070033 name: ngic-rtc
34 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080035
Zack Williams5d81f812019-02-27 14:37:09 -070036 executor_node: 'intel-102'
37
Zack Williams1e325b22019-07-24 17:52:57 -070038 github-organization: 'omec-project'
39
Zack Williams5d81f812019-02-27 14:37:09 -070040 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
41 github_pr_org_list:
42 - 'omec-project'
43
Kailashbe4dc092019-01-23 09:22:17 -080044 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070045 - 'omec-combined':
46 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
47 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070048 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070049 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070050 - 'docker-publish-github':
51 build-timeout: 30
52 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070053
Zack Williamse306e572019-04-18 07:12:46 -070054# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070055- project:
Zack Williamse306e572019-04-18 07:12:46 -070056 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070057 project: '{name}'
58
Zack Williams5d81f812019-02-27 14:37:09 -070059 executor_node: 'intel-102'
60
Zack Williams1e325b22019-07-24 17:52:57 -070061 github-organization: 'omec-project'
62
Zack Williams5d81f812019-02-27 14:37:09 -070063 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
64 github_pr_org_list:
65 - 'omec-project'
66
Zack Williams73c3cf42019-02-25 23:43:22 -070067 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070068 - 'omec-combined':
69 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
70 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070071 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070072 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070073 - 'omec-install':
74 sub-project: 'c3po-hss'
75 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070076 - 'docker-publish-github':
77 build-timeout: 30
78 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070079
80# for openmme
81- project:
82 name: openmme
83 project: '{name}'
84
Zack Williams5d81f812019-02-27 14:37:09 -070085 executor_node: 'intel-102'
86
Zack Williams1e325b22019-07-24 17:52:57 -070087 github-organization: 'omec-project'
88
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'
92
Zack Williams73c3cf42019-02-25 23:43:22 -070093 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070094 - 'omec-combined':
95 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
96 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070097 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070098 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070099 - 'docker-publish-github':
100 build-timeout: 30
101 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -0700102
Zack Williams320b3142019-03-14 23:10:01 -0700103# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800104- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700105 id: 'omec-combined'
106 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800107 project-type: pipeline
108
109 description: |
110 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700111 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800112
113 properties:
114 - cord-infra-properties:
115 build-days-to-keep: '{build-days-to-keep}'
116 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700117 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700118 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700119 - build-blocker:
120 use-build-blocker: true
121 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700122 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800123
124 wrappers:
125 - lf-infra-wrappers:
126 build-timeout: '{build-timeout}'
127 jenkins-ssh-credential: '{jenkins-ssh-credential}'
128
129 parameters:
130 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700131 name: executorNode
132 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700133 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800134
135 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700136 name: project
137 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700138 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800139
Zack Williams73c3cf42019-02-25 23:43:22 -0700140 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700141 - cord-infra-github-pr-trigger:
142 github_pr_org_list: '{obj:github_pr_org_list}'
143 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700144
Zack Williams5d81f812019-02-27 14:37:09 -0700145 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800146
147 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700148 script-path: '{pipeline-file}'
149 scm:
150 - git:
Zack Williams1e325b22019-07-24 17:52:57 -0700151 url: 'https://github.com/{github-organization}/omec-project-ci'
Zack Williams73c3cf42019-02-25 23:43:22 -0700152 branches:
153 - 'master'
154
Zack Williams73c3cf42019-02-25 23:43:22 -0700155
Zack Williams320b3142019-03-14 23:10:01 -0700156# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700157- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700158 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700159 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700160 project-type: pipeline
161
162 description: |
163 <!-- Managed by Jenkins Job Builder -->
164 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
165
166 properties:
167 - cord-infra-properties:
168 build-days-to-keep: '{build-days-to-keep}'
169 artifact-num-to-keep: '{artifact-num-to-keep}'
170 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700171 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700172
173 wrappers:
174 - lf-infra-wrappers:
175 build-timeout: '{build-timeout}'
176 jenkins-ssh-credential: '{jenkins-ssh-credential}'
177
178 parameters:
179 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700180 name: executorNode
181 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700182 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700183
184 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700185 name: project
186 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700187 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700188
Zack Williams320b3142019-03-14 23:10:01 -0700189 concurrent: false
190
191 pipeline-scm:
192 script-path: '{pipeline-file}'
193 scm:
194 - git:
Zack Williams1e325b22019-07-24 17:52:57 -0700195 url: 'https://github.com/{github-organization}/omec-project-ci'
Zack Williams320b3142019-03-14 23:10:01 -0700196 branches:
197 - 'master'
198
199# tests
200- job-template:
201 id: 'omec-tc1'
202 name: 'omec_tc1'
203 project-type: pipeline
204
205 description: |
206 <!-- Managed by Jenkins Job Builder -->
207 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
208
209 properties:
210 - cord-infra-properties:
211 build-days-to-keep: '{build-days-to-keep}'
212 artifact-num-to-keep: '{artifact-num-to-keep}'
213
214 wrappers:
215 - lf-infra-wrappers:
216 build-timeout: '{build-timeout}'
217 jenkins-ssh-credential: '{jenkins-ssh-credential}'
218
219 parameters:
220 - string:
221 name: executorNode
222 default: '{executor_node}'
223 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700224
Zack Williams5d81f812019-02-27 14:37:09 -0700225 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700226
227 pipeline-scm:
228 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
229 scm:
230 - git:
231 url: 'https://github.com/omec-project/omec-project-ci'
232 branches:
233 - 'master'
234
235- job-template:
236 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700237 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700238 project-type: pipeline
239
240 description: |
241 <!-- Managed by Jenkins Job Builder -->
242 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
243
244 properties:
245 - cord-infra-properties:
246 build-days-to-keep: '{build-days-to-keep}'
247 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700248
249 wrappers:
250 - lf-infra-wrappers:
251 build-timeout: '{build-timeout}'
252 jenkins-ssh-credential: '{jenkins-ssh-credential}'
253
254 parameters:
255 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700256 name: executorNode
257 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700258 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700259
Zack Williams5d81f812019-02-27 14:37:09 -0700260 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700261
262 pipeline-scm:
263 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800264 scm:
265 - git:
Zack Williams93fc6762019-02-19 17:02:03 -0700266 url: 'https://github.com/omec-project/omec-project-ci'
Kailashbe4dc092019-01-23 09:22:17 -0800267 branches:
268 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700269