blob: 0de076310c724caecf9b8b808e1f20de7c5b4f16 [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 Williamsc1d6a5e2019-05-06 16:35:58 -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
38 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
39 github_pr_org_list:
40 - 'omec-project'
41
Kailashbe4dc092019-01-23 09:22:17 -080042 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070043 - 'omec-combined':
44 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
45 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070046 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070047 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070048
Zack Williamse306e572019-04-18 07:12:46 -070049# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070050- project:
Zack Williamse306e572019-04-18 07:12:46 -070051 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070052 project: '{name}'
53
Zack Williams5d81f812019-02-27 14:37:09 -070054 executor_node: 'intel-102'
55
56 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
57 github_pr_org_list:
58 - 'omec-project'
59
Zack Williams73c3cf42019-02-25 23:43:22 -070060 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070061 - 'omec-combined':
62 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
63 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070064 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070065 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070066 - 'omec-install':
67 sub-project: 'c3po-hss'
68 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070069
70# for openmme
71- project:
72 name: openmme
73 project: '{name}'
74
Zack Williams5d81f812019-02-27 14:37:09 -070075 executor_node: 'intel-102'
76
77 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
78 github_pr_org_list:
79 - 'omec-project'
80
Zack Williams73c3cf42019-02-25 23:43:22 -070081 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070082 - 'omec-combined':
83 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
84 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070085 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070086 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070087
Zack Williams320b3142019-03-14 23:10:01 -070088# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -080089- job-template:
Zack Williams320b3142019-03-14 23:10:01 -070090 id: 'omec-combined'
91 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -080092 project-type: pipeline
93
94 description: |
95 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -070096 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -080097
98 properties:
99 - cord-infra-properties:
100 build-days-to-keep: '{build-days-to-keep}'
101 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700102 - github:
103 url: 'https://github.com/omec-project/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700104 - build-blocker:
105 use-build-blocker: true
106 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700107 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800108
109 wrappers:
110 - lf-infra-wrappers:
111 build-timeout: '{build-timeout}'
112 jenkins-ssh-credential: '{jenkins-ssh-credential}'
113
114 parameters:
115 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700116 name: executorNode
117 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700118 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800119
120 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700121 name: project
122 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700123 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800124
Zack Williams73c3cf42019-02-25 23:43:22 -0700125 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700126 - cord-infra-github-pr-trigger:
127 github_pr_org_list: '{obj:github_pr_org_list}'
128 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700129
Zack Williams5d81f812019-02-27 14:37:09 -0700130 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800131
132 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700133 script-path: '{pipeline-file}'
134 scm:
135 - git:
136 url: 'https://github.com/omec-project/omec-project-ci'
137 branches:
138 - 'master'
139
Zack Williams73c3cf42019-02-25 23:43:22 -0700140
Zack Williams320b3142019-03-14 23:10:01 -0700141# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700142- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700143 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700144 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700145 project-type: pipeline
146
147 description: |
148 <!-- Managed by Jenkins Job Builder -->
149 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
150
151 properties:
152 - cord-infra-properties:
153 build-days-to-keep: '{build-days-to-keep}'
154 artifact-num-to-keep: '{artifact-num-to-keep}'
155 - github:
156 url: 'https://github.com/omec-project/{project}'
157
158 wrappers:
159 - lf-infra-wrappers:
160 build-timeout: '{build-timeout}'
161 jenkins-ssh-credential: '{jenkins-ssh-credential}'
162
163 parameters:
164 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700165 name: executorNode
166 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700167 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700168
169 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700170 name: project
171 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700172 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700173
Zack Williams320b3142019-03-14 23:10:01 -0700174 concurrent: false
175
176 pipeline-scm:
177 script-path: '{pipeline-file}'
178 scm:
179 - git:
180 url: 'https://github.com/omec-project/omec-project-ci'
181 branches:
182 - 'master'
183
184# tests
185- job-template:
186 id: 'omec-tc1'
187 name: 'omec_tc1'
188 project-type: pipeline
189
190 description: |
191 <!-- Managed by Jenkins Job Builder -->
192 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
193
194 properties:
195 - cord-infra-properties:
196 build-days-to-keep: '{build-days-to-keep}'
197 artifact-num-to-keep: '{artifact-num-to-keep}'
198
199 wrappers:
200 - lf-infra-wrappers:
201 build-timeout: '{build-timeout}'
202 jenkins-ssh-credential: '{jenkins-ssh-credential}'
203
204 parameters:
205 - string:
206 name: executorNode
207 default: '{executor_node}'
208 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700209
Zack Williams5d81f812019-02-27 14:37:09 -0700210 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700211
212 pipeline-scm:
213 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
214 scm:
215 - git:
216 url: 'https://github.com/omec-project/omec-project-ci'
217 branches:
218 - 'master'
219
220- job-template:
221 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700222 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700223 project-type: pipeline
224
225 description: |
226 <!-- Managed by Jenkins Job Builder -->
227 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
228
229 properties:
230 - cord-infra-properties:
231 build-days-to-keep: '{build-days-to-keep}'
232 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700233
234 wrappers:
235 - lf-infra-wrappers:
236 build-timeout: '{build-timeout}'
237 jenkins-ssh-credential: '{jenkins-ssh-credential}'
238
239 parameters:
240 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700241 name: executorNode
242 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700243 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700244
Zack Williams5d81f812019-02-27 14:37:09 -0700245 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700246
247 pipeline-scm:
248 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800249 scm:
250 - git:
Zack Williams93fc6762019-02-19 17:02:03 -0700251 url: 'https://github.com/omec-project/omec-project-ci'
Kailashbe4dc092019-01-23 09:22:17 -0800252 branches:
253 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700254