blob: 50cc068712506a62a8df78228de2b2951d2739e4 [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
9 executor_node: 'intel-102'
10
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 Williams5d81f812019-02-27 14:37:09 -070024 executor_node: 'intel-102'
25
26 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
27 github_pr_org_list:
28 - 'omec-project'
29
Kailashbe4dc092019-01-23 09:22:17 -080030 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070031 - 'omec-combined':
32 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
33 - 'omec-install':
Zack Williams73c3cf42019-02-25 23:43:22 -070034 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070035
Zack Williams62021452019-04-15 13:23:46 -070036# for c3po-hss
Zack Williams73c3cf42019-02-25 23:43:22 -070037- project:
Zack Williams62021452019-04-15 13:23:46 -070038 name: c3po-hss
Zack Williams73c3cf42019-02-25 23:43:22 -070039 project: '{name}'
40
Zack Williams5d81f812019-02-27 14:37:09 -070041 executor_node: 'intel-102'
42
43 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
44 github_pr_org_list:
45 - 'omec-project'
46
Zack Williams73c3cf42019-02-25 23:43:22 -070047 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070048 - 'omec-combined':
49 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
50 - 'omec-install':
Zack Williams62021452019-04-15 13:23:46 -070051 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
52
53# for c3po-sgx
54- project:
55 name: c3po-sgx
56 project: '{name}'
57
58 executor_node: 'intel-102'
59
60 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
61 github_pr_org_list:
62 - 'omec-project'
63
64 jobs:
65 - 'omec-combined':
66 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
67 - 'omec-install':
68 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-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 Williams73c3cf42019-02-25 23:43:22 -070085 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070086
Zack Williams320b3142019-03-14 23:10:01 -070087# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -080088- job-template:
Zack Williams320b3142019-03-14 23:10:01 -070089 id: 'omec-combined'
90 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -080091 project-type: pipeline
92
93 description: |
94 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -070095 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -080096
97 properties:
98 - cord-infra-properties:
99 build-days-to-keep: '{build-days-to-keep}'
100 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700101 - github:
102 url: 'https://github.com/omec-project/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700103 - build-blocker:
104 use-build-blocker: true
105 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700106 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800107
108 wrappers:
109 - lf-infra-wrappers:
110 build-timeout: '{build-timeout}'
111 jenkins-ssh-credential: '{jenkins-ssh-credential}'
112
113 parameters:
114 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700115 name: executorNode
116 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700117 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800118
119 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700120 name: project
121 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700122 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800123
Zack Williams73c3cf42019-02-25 23:43:22 -0700124 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700125 - cord-infra-github-pr-trigger:
126 github_pr_org_list: '{obj:github_pr_org_list}'
127 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700128
Zack Williams5d81f812019-02-27 14:37:09 -0700129 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800130
131 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700132 script-path: '{pipeline-file}'
133 scm:
134 - git:
135 url: 'https://github.com/omec-project/omec-project-ci'
136 branches:
137 - 'master'
138
Zack Williams73c3cf42019-02-25 23:43:22 -0700139
Zack Williams320b3142019-03-14 23:10:01 -0700140# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700141- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700142 id: 'omec-install'
143 name: 'omec_{project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700144 project-type: pipeline
145
146 description: |
147 <!-- Managed by Jenkins Job Builder -->
148 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
149
150 properties:
151 - cord-infra-properties:
152 build-days-to-keep: '{build-days-to-keep}'
153 artifact-num-to-keep: '{artifact-num-to-keep}'
154 - github:
155 url: 'https://github.com/omec-project/{project}'
156
157 wrappers:
158 - lf-infra-wrappers:
159 build-timeout: '{build-timeout}'
160 jenkins-ssh-credential: '{jenkins-ssh-credential}'
161
162 parameters:
163 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700164 name: executorNode
165 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700166 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700167
168 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700169 name: project
170 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700171 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700172
Zack Williams320b3142019-03-14 23:10:01 -0700173 concurrent: false
174
175 pipeline-scm:
176 script-path: '{pipeline-file}'
177 scm:
178 - git:
179 url: 'https://github.com/omec-project/omec-project-ci'
180 branches:
181 - 'master'
182
183# tests
184- job-template:
185 id: 'omec-tc1'
186 name: 'omec_tc1'
187 project-type: pipeline
188
189 description: |
190 <!-- Managed by Jenkins Job Builder -->
191 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
192
193 properties:
194 - cord-infra-properties:
195 build-days-to-keep: '{build-days-to-keep}'
196 artifact-num-to-keep: '{artifact-num-to-keep}'
197
198 wrappers:
199 - lf-infra-wrappers:
200 build-timeout: '{build-timeout}'
201 jenkins-ssh-credential: '{jenkins-ssh-credential}'
202
203 parameters:
204 - string:
205 name: executorNode
206 default: '{executor_node}'
207 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700208
Zack Williams5d81f812019-02-27 14:37:09 -0700209 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700210
211 pipeline-scm:
212 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
213 scm:
214 - git:
215 url: 'https://github.com/omec-project/omec-project-ci'
216 branches:
217 - 'master'
218
219- job-template:
220 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700221 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700222 project-type: pipeline
223
224 description: |
225 <!-- Managed by Jenkins Job Builder -->
226 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
227
228 properties:
229 - cord-infra-properties:
230 build-days-to-keep: '{build-days-to-keep}'
231 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700232
233 wrappers:
234 - lf-infra-wrappers:
235 build-timeout: '{build-timeout}'
236 jenkins-ssh-credential: '{jenkins-ssh-credential}'
237
238 parameters:
239 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700240 name: executorNode
241 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700242 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700243
Zack Williams5d81f812019-02-27 14:37:09 -0700244 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700245
246 pipeline-scm:
247 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800248 scm:
249 - git:
Zack Williams93fc6762019-02-19 17:02:03 -0700250 url: 'https://github.com/omec-project/omec-project-ci'
Kailashbe4dc092019-01-23 09:22:17 -0800251 branches:
252 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700253