blob: 9c4ca0c5d335667cda68588c4f2cf889509b55e2 [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 Williamse306e572019-04-18 07:12:46 -070034 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070035 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070036
Zack Williamse306e572019-04-18 07:12:46 -070037# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070038- project:
Zack Williamse306e572019-04-18 07:12:46 -070039 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070040 project: '{name}'
41
Zack Williams5d81f812019-02-27 14:37:09 -070042 executor_node: 'intel-102'
43
44 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
45 github_pr_org_list:
46 - 'omec-project'
47
Zack Williams73c3cf42019-02-25 23:43:22 -070048 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070049 - 'omec-combined':
50 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
51 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070052 sub-project: 'c3po-sgx'
Zack Williams62021452019-04-15 13:23:46 -070053 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -070054 - 'omec-install':
55 sub-project: 'c3po-hss'
56 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070057
58# for openmme
59- project:
60 name: openmme
61 project: '{name}'
62
Zack Williams5d81f812019-02-27 14:37:09 -070063 executor_node: 'intel-102'
64
65 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
66 github_pr_org_list:
67 - 'omec-project'
68
Zack Williams73c3cf42019-02-25 23:43:22 -070069 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070070 - 'omec-combined':
71 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
72 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070073 sub-project: '{name}'
Zack Williams73c3cf42019-02-25 23:43:22 -070074 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070075
Zack Williams320b3142019-03-14 23:10:01 -070076# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -080077- job-template:
Zack Williams320b3142019-03-14 23:10:01 -070078 id: 'omec-combined'
79 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -080080 project-type: pipeline
81
82 description: |
83 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -070084 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -080085
86 properties:
87 - cord-infra-properties:
88 build-days-to-keep: '{build-days-to-keep}'
89 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -070090 - github:
91 url: 'https://github.com/omec-project/{project}'
Zack Williams320b3142019-03-14 23:10:01 -070092 - build-blocker:
93 use-build-blocker: true
94 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -070095 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -080096
97 wrappers:
98 - lf-infra-wrappers:
99 build-timeout: '{build-timeout}'
100 jenkins-ssh-credential: '{jenkins-ssh-credential}'
101
102 parameters:
103 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700104 name: executorNode
105 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700106 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800107
108 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700109 name: project
110 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700111 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800112
Zack Williams73c3cf42019-02-25 23:43:22 -0700113 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700114 - cord-infra-github-pr-trigger:
115 github_pr_org_list: '{obj:github_pr_org_list}'
116 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700117
Zack Williams5d81f812019-02-27 14:37:09 -0700118 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800119
120 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700121 script-path: '{pipeline-file}'
122 scm:
123 - git:
124 url: 'https://github.com/omec-project/omec-project-ci'
125 branches:
126 - 'master'
127
Zack Williams73c3cf42019-02-25 23:43:22 -0700128
Zack Williams320b3142019-03-14 23:10:01 -0700129# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700130- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700131 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700132 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700133 project-type: pipeline
134
135 description: |
136 <!-- Managed by Jenkins Job Builder -->
137 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
138
139 properties:
140 - cord-infra-properties:
141 build-days-to-keep: '{build-days-to-keep}'
142 artifact-num-to-keep: '{artifact-num-to-keep}'
143 - github:
144 url: 'https://github.com/omec-project/{project}'
145
146 wrappers:
147 - lf-infra-wrappers:
148 build-timeout: '{build-timeout}'
149 jenkins-ssh-credential: '{jenkins-ssh-credential}'
150
151 parameters:
152 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700153 name: executorNode
154 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700155 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700156
157 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700158 name: project
159 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700160 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700161
Zack Williams320b3142019-03-14 23:10:01 -0700162 concurrent: false
163
164 pipeline-scm:
165 script-path: '{pipeline-file}'
166 scm:
167 - git:
168 url: 'https://github.com/omec-project/omec-project-ci'
169 branches:
170 - 'master'
171
172# tests
173- job-template:
174 id: 'omec-tc1'
175 name: 'omec_tc1'
176 project-type: pipeline
177
178 description: |
179 <!-- Managed by Jenkins Job Builder -->
180 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
181
182 properties:
183 - cord-infra-properties:
184 build-days-to-keep: '{build-days-to-keep}'
185 artifact-num-to-keep: '{artifact-num-to-keep}'
186
187 wrappers:
188 - lf-infra-wrappers:
189 build-timeout: '{build-timeout}'
190 jenkins-ssh-credential: '{jenkins-ssh-credential}'
191
192 parameters:
193 - string:
194 name: executorNode
195 default: '{executor_node}'
196 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700197
Zack Williams5d81f812019-02-27 14:37:09 -0700198 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700199
200 pipeline-scm:
201 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
202 scm:
203 - git:
204 url: 'https://github.com/omec-project/omec-project-ci'
205 branches:
206 - 'master'
207
208- job-template:
209 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700210 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700211 project-type: pipeline
212
213 description: |
214 <!-- Managed by Jenkins Job Builder -->
215 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
216
217 properties:
218 - cord-infra-properties:
219 build-days-to-keep: '{build-days-to-keep}'
220 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700221
222 wrappers:
223 - lf-infra-wrappers:
224 build-timeout: '{build-timeout}'
225 jenkins-ssh-credential: '{jenkins-ssh-credential}'
226
227 parameters:
228 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700229 name: executorNode
230 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700231 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700232
Zack Williams5d81f812019-02-27 14:37:09 -0700233 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700234
235 pipeline-scm:
236 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800237 scm:
238 - git:
Zack Williams93fc6762019-02-19 17:02:03 -0700239 url: 'https://github.com/omec-project/omec-project-ci'
Kailashbe4dc092019-01-23 09:22:17 -0800240 branches:
241 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700242