blob: 594b35a6fe5e2cbe15b3c83ec42a762d0f886bda [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'
Zack Williams320b3142019-03-14 23:10:01 -070010
11 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
12 github_pr_org_list:
13 - 'omec-project'
14
15 jobs:
16 - 'omec-tc1'
17 - 'omec-tc2'
18
Zack Williams73c3cf42019-02-25 23:43:22 -070019# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080020- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070021 name: ngic-rtc
22 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080023
Zack Williamsb3292082019-10-11 17:15:18 -070024 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070025
Zack Williams1e325b22019-07-24 17:52:57 -070026 github-organization: 'omec-project'
27
Zack Williams5d81f812019-02-27 14:37:09 -070028 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
29 github_pr_org_list:
30 - 'omec-project'
31
Kailashbe4dc092019-01-23 09:22:17 -080032 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070033 - 'omec-combined':
34 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
35 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070036 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070037 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070038 - 'docker-publish-github':
39 build-timeout: 30
40 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070041
Zack Williamse306e572019-04-18 07:12:46 -070042# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070043- project:
Zack Williamse306e572019-04-18 07:12:46 -070044 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070045 project: '{name}'
46
Zack Williamsb3292082019-10-11 17:15:18 -070047 build-node: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070048
Zack Williams1e325b22019-07-24 17:52:57 -070049 github-organization: 'omec-project'
50
Zack Williams5d81f812019-02-27 14:37:09 -070051 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
52 github_pr_org_list:
53 - 'omec-project'
54
Zack Williams73c3cf42019-02-25 23:43:22 -070055 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070056 - 'omec-combined':
57 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
58 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070059 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070060 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070061 - 'omec-install':
62 sub-project: 'c3po-hss'
63 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Zack Williams1e325b22019-07-24 17:52:57 -070064 - 'docker-publish-github':
65 build-timeout: 30
66 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070067
68# for openmme
69- project:
70 name: openmme
71 project: '{name}'
72
Zack Williamsb3292082019-10-11 17:15:18 -070073 build-nod: 'intel-102'
Zack Williams5d81f812019-02-27 14:37:09 -070074
Zack Williams1e325b22019-07-24 17:52:57 -070075 github-organization: 'omec-project'
76
Zack Williams5d81f812019-02-27 14:37:09 -070077 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 Williams1e325b22019-07-24 17:52:57 -070087 - 'docker-publish-github':
88 build-timeout: 30
89 docker-repo: 'omecproject'
Zack Williams73c3cf42019-02-25 23:43:22 -070090
Zack Williams320b3142019-03-14 23:10:01 -070091# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -080092- job-template:
Zack Williams320b3142019-03-14 23:10:01 -070093 id: 'omec-combined'
94 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -080095 project-type: pipeline
96
97 description: |
98 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -070099 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800100
101 properties:
102 - cord-infra-properties:
103 build-days-to-keep: '{build-days-to-keep}'
104 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700105 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700106 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700107 - build-blocker:
108 use-build-blocker: true
109 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700110 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800111
112 wrappers:
113 - lf-infra-wrappers:
114 build-timeout: '{build-timeout}'
115 jenkins-ssh-credential: '{jenkins-ssh-credential}'
116
117 parameters:
118 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700119 name: buildNode
120 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700121 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800122
123 - string:
hwchiu14f97852019-10-08 10:51:11 -0700124 name: project
125 default: '{project}'
126 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800127
Zack Williams73c3cf42019-02-25 23:43:22 -0700128 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700129 - cord-infra-github-pr-trigger:
130 github_pr_org_list: '{obj:github_pr_org_list}'
131 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700132
Zack Williams5d81f812019-02-27 14:37:09 -0700133 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800134
135 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700136 script-path: '{pipeline-file}'
137 scm:
138 - git:
hwchiu14f97852019-10-08 10:51:11 -0700139 url: 'https://github.com/{github-organization}/omec-project-ci'
140 branches:
141 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700142
Zack Williams73c3cf42019-02-25 23:43:22 -0700143
Zack Williams320b3142019-03-14 23:10:01 -0700144# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700145- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700146 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700147 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700148 project-type: pipeline
149
150 description: |
151 <!-- Managed by Jenkins Job Builder -->
152 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
153
154 properties:
155 - cord-infra-properties:
156 build-days-to-keep: '{build-days-to-keep}'
157 artifact-num-to-keep: '{artifact-num-to-keep}'
158 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700159 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700160
161 wrappers:
162 - lf-infra-wrappers:
163 build-timeout: '{build-timeout}'
164 jenkins-ssh-credential: '{jenkins-ssh-credential}'
165
166 parameters:
167 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700168 name: buildNode
169 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700170 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700171
172 - string:
hwchiu14f97852019-10-08 10:51:11 -0700173 name: project
174 default: '{project}'
175 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700176
Zack Williams320b3142019-03-14 23:10:01 -0700177 concurrent: false
178
179 pipeline-scm:
180 script-path: '{pipeline-file}'
181 scm:
182 - git:
hwchiu14f97852019-10-08 10:51:11 -0700183 url: 'https://github.com/{github-organization}/omec-project-ci'
184 branches:
185 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700186
187# tests
188- job-template:
189 id: 'omec-tc1'
190 name: 'omec_tc1'
191 project-type: pipeline
192
193 description: |
194 <!-- Managed by Jenkins Job Builder -->
195 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
196
197 properties:
198 - cord-infra-properties:
199 build-days-to-keep: '{build-days-to-keep}'
200 artifact-num-to-keep: '{artifact-num-to-keep}'
201
202 wrappers:
203 - lf-infra-wrappers:
204 build-timeout: '{build-timeout}'
205 jenkins-ssh-credential: '{jenkins-ssh-credential}'
206
207 parameters:
208 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700209 name: buildNode
210 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700211 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700212
Zack Williams5d81f812019-02-27 14:37:09 -0700213 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700214
215 pipeline-scm:
216 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
217 scm:
218 - git:
hwchiu14f97852019-10-08 10:51:11 -0700219 url: 'https://github.com/omec-project/omec-project-ci'
220 branches:
221 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700222
223- job-template:
224 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700225 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700226 project-type: pipeline
227
228 description: |
229 <!-- Managed by Jenkins Job Builder -->
230 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
231
232 properties:
233 - cord-infra-properties:
234 build-days-to-keep: '{build-days-to-keep}'
235 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700236
237 wrappers:
238 - lf-infra-wrappers:
239 build-timeout: '{build-timeout}'
240 jenkins-ssh-credential: '{jenkins-ssh-credential}'
241
242 parameters:
243 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700244 name: buildNode
245 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700246 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700247
Zack Williams5d81f812019-02-27 14:37:09 -0700248 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700249
250 pipeline-scm:
251 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800252 scm:
253 - git:
hwchiu14f97852019-10-08 10:51:11 -0700254 url: 'https://github.com/omec-project/omec-project-ci'
255 branches:
256 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700257