blob: 1506326600a9d6941cb31d94958f1272b7edd51a [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01002 _param:
3 jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline"
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job_template:
7 build-opencontrail:
8 name: build-opencontrail-{{buildname}}-{{os}}-{{dist}}
9 jobs:
10 - buildname: oc303
11 os: ubuntu
12 dist: trusty
13 branch: R3.0.3.x
chnyda54af8932017-03-20 10:34:51 +010014 ppa: mirantis-opencontrail/opencontrail-3.0.3
Filip Pytloun7af94b32017-03-14 18:38:52 +010015 upload_source_package: false
chnyda063bf3d2017-07-20 10:57:56 +020016 dpdk: contrail_dpdk_2_1
chnyda3ab8f8d2017-08-23 14:04:00 +020017 build_trigger: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010018 - buildname: oc31
19 os: ubuntu
20 dist: trusty
21 branch: R3.1
chnyda54af8932017-03-20 10:34:51 +010022 ppa: mirantis-opencontrail/opencontrail-3.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010023 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020024 dpdk: contrail_dpdk_2_1
chnyda3ab8f8d2017-08-23 14:04:00 +020025 build_trigger: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010026 - buildname: oc31
27 os: ubuntu
28 dist: xenial
29 branch: R3.1
chnyda54af8932017-03-20 10:34:51 +010030 ppa: mirantis-opencontrail/opencontrail-3.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010031 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020032 dpdk: contrail_dpdk_2_1
chnyda3ab8f8d2017-08-23 14:04:00 +020033 build_trigger: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 - buildname: oc311
35 os: ubuntu
36 dist: trusty
37 branch: R3.1.1.x
chnyda54af8932017-03-20 10:34:51 +010038 ppa: mirantis-opencontrail/opencontrail-3.1.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010039 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020040 dpdk: contrail_dpdk_2_1
chnyda47ba2372017-10-12 16:52:26 +020041 build_trigger: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010042 - buildname: oc311
43 os: ubuntu
44 dist: xenial
45 branch: R3.1.1.x
chnyda54af8932017-03-20 10:34:51 +010046 ppa: mirantis-opencontrail/opencontrail-3.1.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010047 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020048 dpdk: contrail_dpdk_2_1
chnyda47ba2372017-10-12 16:52:26 +020049 build_trigger: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 - buildname: oc32
51 os: ubuntu
52 dist: trusty
53 branch: R3.2
chnyda54af8932017-03-20 10:34:51 +010054 ppa: mirantis-opencontrail/opencontrail-3.2
Filip Pytloun7af94b32017-03-14 18:38:52 +010055 upload_source_package: true
chnyda9f2f2c22018-01-22 11:06:25 +010056 dpdk: contrail_dpdk_17_02
chnyda3ab8f8d2017-08-23 14:04:00 +020057 build_trigger: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010058 - buildname: oc32
59 os: ubuntu
60 dist: xenial
61 branch: R3.2
chnyda54af8932017-03-20 10:34:51 +010062 ppa: mirantis-opencontrail/opencontrail-3.2
Filip Pytloun7af94b32017-03-14 18:38:52 +010063 upload_source_package: true
chnyda9f2f2c22018-01-22 11:06:25 +010064 dpdk: contrail_dpdk_17_02
chnyda3ab8f8d2017-08-23 14:04:00 +020065 build_trigger: ""
chnyda1ece5192017-06-08 18:23:52 +020066 - buildname: oc323
67 os: ubuntu
68 dist: trusty
69 branch: R3.2.3.x
70 ppa: mirantis-opencontrail/opencontrail-3.2.3
71 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020072 dpdk: contrail_dpdk_2_1
chnyda47ba2372017-10-12 16:52:26 +020073 build_trigger: ""
chnyda1ece5192017-06-08 18:23:52 +020074 - buildname: oc323
75 os: ubuntu
76 dist: xenial
77 branch: R3.2.3.x
78 ppa: mirantis-opencontrail/opencontrail-3.2.3
79 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020080 dpdk: contrail_dpdk_2_1
chnyda47ba2372017-10-12 16:52:26 +020081 build_trigger: ""
chnyda2ad4b732017-05-09 10:28:45 +020082 - buildname: oc40
83 os: ubuntu
84 dist: trusty
85 branch: R4.0
86 ppa: mirantis-opencontrail/opencontrail-4.0
chnyda063bf3d2017-07-20 10:57:56 +020087 upload_source_package: true
chnyda0eb41702017-08-28 13:31:11 +020088 dpdk: contrail_dpdk_17_02
chnyda35c7bf22017-10-17 14:35:01 +020089 build_trigger: "H H(20-23) */3 * *"
chnyda2ad4b732017-05-09 10:28:45 +020090 - buildname: oc40
91 os: ubuntu
92 dist: xenial
93 branch: R4.0
94 ppa: mirantis-opencontrail/opencontrail-4.0
chnyda063bf3d2017-07-20 10:57:56 +020095 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020096 dpdk: contrail_dpdk_17_02
chnyda35c7bf22017-10-17 14:35:01 +020097 build_trigger: "H H(20-23) */3 * *"
chnyda850478d2017-09-26 10:44:02 +020098 - buildname: oc41
99 os: ubuntu
100 dist: trusty
101 branch: R4.1
102 ppa: mirantis-opencontrail/opencontrail-4.1
103 upload_source_package: true
104 dpdk: contrail_dpdk_17_02
chnyda35c7bf22017-10-17 14:35:01 +0200105 build_trigger: "H H(20-23) */7 * *"
chnyda850478d2017-09-26 10:44:02 +0200106 - buildname: oc41
107 os: ubuntu
108 dist: xenial
109 branch: R4.1
110 ppa: mirantis-opencontrail/opencontrail-4.1
111 upload_source_package: true
112 dpdk: contrail_dpdk_17_02
chnyda35c7bf22017-10-17 14:35:01 +0200113 build_trigger: "H H(20-23) */7 * *"
Jan Cachab4cb932018-05-11 16:22:48 +0200114 - buildname: oc50
115 os: ubuntu
116 dist: xenial
117 branch: R5.0
118 ppa: mirantis-opencontrail/opencontrail-5.0
119 upload_source_package: true
120 dpdk: contrail_dpdk_17_02
121 build_trigger: "H H(20-23) */7 * *"
chnyda52e4e9b2017-04-18 14:58:24 +0200122 - buildname: oc666
123 os: ubuntu
124 dist: trusty
125 branch: master
126 ppa: mirantis-opencontrail/opencontrail-master
chnydafc30e312017-08-25 11:33:39 +0200127 upload_source_package: true
128 dpdk: contrail_dpdk_17_02
chnyda35c7bf22017-10-17 14:35:01 +0200129 build_trigger: "H H(20-23) */7 * *"
chnyda52e4e9b2017-04-18 14:58:24 +0200130 - buildname: oc666
131 os: ubuntu
132 dist: xenial
133 branch: master
134 ppa: mirantis-opencontrail/opencontrail-master
chnydafc30e312017-08-25 11:33:39 +0200135 upload_source_package: true
136 dpdk: contrail_dpdk_17_02
chnyda35c7bf22017-10-17 14:35:01 +0200137 build_trigger: "H H(20-23) */7 * *"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100138 template:
139 discard:
140 build:
141 keep_num: 5
142 artifact:
143 keep_num: 5
144 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +0200145 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +0100146 quiet_period: 120
147 scm:
148 type: git
149 url: "${_param:jenkins_contrail_pipeline}"
150 credentials: "gerrit"
151 github:
152 url: https://github.com/Mirantis/ccp-contrail-pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +0100153 param:
154 APTLY_URL:
155 type: string
156 default: "${_param:jenkins_aptly_api_url}"
157 APTLY_REPO:
158 type: string
159 default: "{{os}}-{{dist}}-{{buildname}}"
160 SOURCE_URL:
161 type: string
162 default: "${_param:jenkins_gerrit_url}/contrail"
163 SOURCE_BRANCH:
164 type: string
165 default: "{{branch}}"
166 SOURCE_CREDENTIALS:
167 type: string
168 default: "gerrit"
169 KEEP_REPOS:
170 type: boolean
171 default: 'false'
172 description: "Don't cleanup on failure"
chnyda063bf3d2017-07-20 10:57:56 +0200173 DPDK_BRANCH:
174 type: string
175 default: "{{dpdk}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100176 OS:
177 type: string
178 default: "{{os}}"
179 DIST:
180 type: string
181 default: "{{dist}}"
182 ARCH:
183 type: string
184 default: "amd64"
185 PPA:
186 type: string
187 default: "{{ppa}}"
188 UPLOAD_SOURCE_PACKAGE:
189 type: boolean
190 default: '{{upload_source_package}}'
chnydafc990de2017-04-06 11:35:17 +0200191 trigger:
chnyda3ab8f8d2017-08-23 14:04:00 +0200192 pollscm:
193 spec: "{{build_trigger}}"
chnydafc990de2017-04-06 11:35:17 +0200194 gerrit:
195 project:
chnyda41bd3152017-04-11 16:55:29 +0200196 contrail/contrail-pipeline:
197 branches:
198 - "{{branch}}"
199 contrail/contrail-build:
200 branches:
201 - "{{branch}}"
202 contrail/contrail-controller:
203 branches:
204 - "{{branch}}"
205 contrail/contrail-vrouter:
206 branches:
207 - "{{branch}}"
208 contrail/contrail-third-party:
209 branches:
210 - "{{branch}}"
211 contrail/contrail-generateDS:
212 branches:
213 - "{{branch}}"
214 contrail/contrail-sandesh:
215 branches:
216 - "{{branch}}"
217 contrail/contrail-packages:
218 branches:
219 - "{{branch}}"
220 contrail/contrail-nova-vif-driver:
221 branches:
222 - "{{branch}}"
223 contrail/contrail-neutron-plugin:
224 branches:
225 - "{{branch}}"
226 contrail/contrail-nova-extensions:
227 branches:
228 - "{{branch}}"
229 contrail/contrail-heat:
230 branches:
231 - "{{branch}}"
232 contrail/contrail-web-storage:
233 branches:
234 - "{{branch}}"
235 contrail/contrail-web-server-manager:
236 branches:
237 - "{{branch}}"
238 contrail/contrail-web-controller:
239 branches:
240 - "{{branch}}"
241 contrail/contrail-web-core:
242 branches:
243 - "{{branch}}"
244 contrail/contrail-webui-third-party:
245 branches:
246 - "{{branch}}"
chnydafc990de2017-04-06 11:35:17 +0200247 event:
248 comment:
249 - addedContains:
250 commentAddedCommentContains: '(buildpackage)'