blob: f9cabc75f7ef1c58152f1ce35cc4234e1f11b1bc [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
36# for c3po
37- project:
38 name: c3po
39 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 Williams73c3cf42019-02-25 23:43:22 -070051 pipeline-file: 'Jenkinsfile-omec-install-c3po-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070052
53# for openmme
54- project:
55 name: openmme
56 project: '{name}'
57
Zack Williams5d81f812019-02-27 14:37:09 -070058 executor_node: 'intel-102'
59
60 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
61 github_pr_org_list:
62 - 'omec-project'
63
Zack Williams73c3cf42019-02-25 23:43:22 -070064 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070065 - 'omec-combined':
66 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
67 - 'omec-install':
Zack Williams73c3cf42019-02-25 23:43:22 -070068 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Zack Williams73c3cf42019-02-25 23:43:22 -070069
Zack Williams320b3142019-03-14 23:10:01 -070070# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -080071- job-template:
Zack Williams320b3142019-03-14 23:10:01 -070072 id: 'omec-combined'
73 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -080074 project-type: pipeline
75
76 description: |
77 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -070078 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -080079
80 properties:
81 - cord-infra-properties:
82 build-days-to-keep: '{build-days-to-keep}'
83 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -070084 - github:
85 url: 'https://github.com/omec-project/{project}'
Zack Williams320b3142019-03-14 23:10:01 -070086 - build-blocker:
87 use-build-blocker: true
88 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -070089 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -080090
91 wrappers:
92 - lf-infra-wrappers:
93 build-timeout: '{build-timeout}'
94 jenkins-ssh-credential: '{jenkins-ssh-credential}'
95
96 parameters:
97 - string:
Zack Williams5d81f812019-02-27 14:37:09 -070098 name: executorNode
99 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700100 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800101
102 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700103 name: project
104 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700105 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800106
Zack Williams73c3cf42019-02-25 23:43:22 -0700107 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700108 - cord-infra-github-pr-trigger:
109 github_pr_org_list: '{obj:github_pr_org_list}'
110 github_pr_auth_id: '{github_pr_auth_id}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700111
Zack Williams5d81f812019-02-27 14:37:09 -0700112 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800113
114 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700115 script-path: '{pipeline-file}'
116 scm:
117 - git:
118 url: 'https://github.com/omec-project/omec-project-ci'
119 branches:
120 - 'master'
121
Zack Williams73c3cf42019-02-25 23:43:22 -0700122
Zack Williams320b3142019-03-14 23:10:01 -0700123# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700124- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700125 id: 'omec-install'
126 name: 'omec_{project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700127 project-type: pipeline
128
129 description: |
130 <!-- Managed by Jenkins Job Builder -->
131 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
132
133 properties:
134 - cord-infra-properties:
135 build-days-to-keep: '{build-days-to-keep}'
136 artifact-num-to-keep: '{artifact-num-to-keep}'
137 - github:
138 url: 'https://github.com/omec-project/{project}'
139
140 wrappers:
141 - lf-infra-wrappers:
142 build-timeout: '{build-timeout}'
143 jenkins-ssh-credential: '{jenkins-ssh-credential}'
144
145 parameters:
146 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700147 name: executorNode
148 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700149 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700150
151 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700152 name: project
153 default: '{project}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700154 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700155
Zack Williams320b3142019-03-14 23:10:01 -0700156 concurrent: false
157
158 pipeline-scm:
159 script-path: '{pipeline-file}'
160 scm:
161 - git:
162 url: 'https://github.com/omec-project/omec-project-ci'
163 branches:
164 - 'master'
165
166# tests
167- job-template:
168 id: 'omec-tc1'
169 name: 'omec_tc1'
170 project-type: pipeline
171
172 description: |
173 <!-- Managed by Jenkins Job Builder -->
174 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
175
176 properties:
177 - cord-infra-properties:
178 build-days-to-keep: '{build-days-to-keep}'
179 artifact-num-to-keep: '{artifact-num-to-keep}'
180
181 wrappers:
182 - lf-infra-wrappers:
183 build-timeout: '{build-timeout}'
184 jenkins-ssh-credential: '{jenkins-ssh-credential}'
185
186 parameters:
187 - string:
188 name: executorNode
189 default: '{executor_node}'
190 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700191
Zack Williams5d81f812019-02-27 14:37:09 -0700192 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700193
194 pipeline-scm:
195 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
196 scm:
197 - git:
198 url: 'https://github.com/omec-project/omec-project-ci'
199 branches:
200 - 'master'
201
202- job-template:
203 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700204 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700205 project-type: pipeline
206
207 description: |
208 <!-- Managed by Jenkins Job Builder -->
209 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
210
211 properties:
212 - cord-infra-properties:
213 build-days-to-keep: '{build-days-to-keep}'
214 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700215
216 wrappers:
217 - lf-infra-wrappers:
218 build-timeout: '{build-timeout}'
219 jenkins-ssh-credential: '{jenkins-ssh-credential}'
220
221 parameters:
222 - string:
Zack Williams5d81f812019-02-27 14:37:09 -0700223 name: executorNode
224 default: '{executor_node}'
Zack Williams4b5722e2019-02-27 15:14:04 -0700225 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700226
Zack Williams5d81f812019-02-27 14:37:09 -0700227 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700228
229 pipeline-scm:
230 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800231 scm:
232 - git:
Zack Williams93fc6762019-02-19 17:02:03 -0700233 url: 'https://github.com/omec-project/omec-project-ci'
Kailashbe4dc092019-01-23 09:22:17 -0800234 branches:
235 - 'master'
Zack Williams5d81f812019-02-27 14:37:09 -0700236