blob: 14dd93c50ec2917b38e6dc0802d6d11795cae4d6 [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
chnyda3ab8f8d2017-08-23 14:04:00 +020041 build_trigger: "H H(20-23) * * *"
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
chnyda3ab8f8d2017-08-23 14:04:00 +020049 build_trigger: "H H(20-23) * * *"
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
chnyda063bf3d2017-07-20 10:57:56 +020056 dpdk: contrail_dpdk_2_1
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
chnyda063bf3d2017-07-20 10:57:56 +020064 dpdk: contrail_dpdk_2_1
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
chnyda3ab8f8d2017-08-23 14:04:00 +020073 build_trigger: "H H(20-23) * * *"
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
chnyda3ab8f8d2017-08-23 14:04:00 +020081 build_trigger: "H H(20-23) * * *"
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
89 build_trigger: "H H(20-23) * * *"
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
chnyda3ab8f8d2017-08-23 14:04:00 +020097 build_trigger: "H H(20-23) * * *"
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
105 build_trigger: "H H(20-23) * * *"
106 - 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
113 build_trigger: "H H(20-23) * * *"
chnyda52e4e9b2017-04-18 14:58:24 +0200114 - buildname: oc666
115 os: ubuntu
116 dist: trusty
117 branch: master
118 ppa: mirantis-opencontrail/opencontrail-master
chnydafc30e312017-08-25 11:33:39 +0200119 upload_source_package: true
120 dpdk: contrail_dpdk_17_02
121 build_trigger: "H H(20-23) * * *"
chnyda52e4e9b2017-04-18 14:58:24 +0200122 - buildname: oc666
123 os: ubuntu
124 dist: xenial
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
129 build_trigger: "H H(20-23) * * *"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100130 template:
131 discard:
132 build:
133 keep_num: 5
134 artifact:
135 keep_num: 5
136 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +0200137 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +0100138 quiet_period: 120
139 scm:
140 type: git
141 url: "${_param:jenkins_contrail_pipeline}"
142 credentials: "gerrit"
143 github:
144 url: https://github.com/Mirantis/ccp-contrail-pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +0100145 param:
146 APTLY_URL:
147 type: string
148 default: "${_param:jenkins_aptly_api_url}"
149 APTLY_REPO:
150 type: string
151 default: "{{os}}-{{dist}}-{{buildname}}"
152 SOURCE_URL:
153 type: string
154 default: "${_param:jenkins_gerrit_url}/contrail"
155 SOURCE_BRANCH:
156 type: string
157 default: "{{branch}}"
158 SOURCE_CREDENTIALS:
159 type: string
160 default: "gerrit"
161 KEEP_REPOS:
162 type: boolean
163 default: 'false'
164 description: "Don't cleanup on failure"
chnyda063bf3d2017-07-20 10:57:56 +0200165 DPDK_BRANCH:
166 type: string
167 default: "{{dpdk}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100168 OS:
169 type: string
170 default: "{{os}}"
171 DIST:
172 type: string
173 default: "{{dist}}"
174 ARCH:
175 type: string
176 default: "amd64"
177 PPA:
178 type: string
179 default: "{{ppa}}"
180 UPLOAD_SOURCE_PACKAGE:
181 type: boolean
182 default: '{{upload_source_package}}'
chnydafc990de2017-04-06 11:35:17 +0200183 trigger:
chnyda3ab8f8d2017-08-23 14:04:00 +0200184 pollscm:
185 spec: "{{build_trigger}}"
chnydafc990de2017-04-06 11:35:17 +0200186 gerrit:
187 project:
chnyda41bd3152017-04-11 16:55:29 +0200188 contrail/contrail-pipeline:
189 branches:
190 - "{{branch}}"
191 contrail/contrail-build:
192 branches:
193 - "{{branch}}"
194 contrail/contrail-controller:
195 branches:
196 - "{{branch}}"
197 contrail/contrail-vrouter:
198 branches:
199 - "{{branch}}"
200 contrail/contrail-third-party:
201 branches:
202 - "{{branch}}"
203 contrail/contrail-generateDS:
204 branches:
205 - "{{branch}}"
206 contrail/contrail-sandesh:
207 branches:
208 - "{{branch}}"
209 contrail/contrail-packages:
210 branches:
211 - "{{branch}}"
212 contrail/contrail-nova-vif-driver:
213 branches:
214 - "{{branch}}"
215 contrail/contrail-neutron-plugin:
216 branches:
217 - "{{branch}}"
218 contrail/contrail-nova-extensions:
219 branches:
220 - "{{branch}}"
221 contrail/contrail-heat:
222 branches:
223 - "{{branch}}"
224 contrail/contrail-web-storage:
225 branches:
226 - "{{branch}}"
227 contrail/contrail-web-server-manager:
228 branches:
229 - "{{branch}}"
230 contrail/contrail-web-controller:
231 branches:
232 - "{{branch}}"
233 contrail/contrail-web-core:
234 branches:
235 - "{{branch}}"
236 contrail/contrail-webui-third-party:
237 branches:
238 - "{{branch}}"
chnydafc990de2017-04-06 11:35:17 +0200239 event:
240 comment:
241 - addedContains:
242 commentAddedCommentContains: '(buildpackage)'