blob: f21eaa948b6b64e3418d826e660a199a99416bd1 [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) * * *"
chnyda52e4e9b2017-04-18 14:58:24 +020098 - buildname: oc666
99 os: ubuntu
100 dist: trusty
101 branch: master
102 ppa: mirantis-opencontrail/opencontrail-master
chnydafc30e312017-08-25 11:33:39 +0200103 upload_source_package: true
104 dpdk: contrail_dpdk_17_02
105 build_trigger: "H H(20-23) * * *"
chnyda52e4e9b2017-04-18 14:58:24 +0200106 - buildname: oc666
107 os: ubuntu
108 dist: xenial
109 branch: master
110 ppa: mirantis-opencontrail/opencontrail-master
chnydafc30e312017-08-25 11:33:39 +0200111 upload_source_package: true
112 dpdk: contrail_dpdk_17_02
113 build_trigger: "H H(20-23) * * *"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100114 template:
115 discard:
116 build:
117 keep_num: 5
118 artifact:
119 keep_num: 5
120 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +0200121 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +0100122 quiet_period: 120
123 scm:
124 type: git
125 url: "${_param:jenkins_contrail_pipeline}"
126 credentials: "gerrit"
127 github:
128 url: https://github.com/Mirantis/ccp-contrail-pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +0100129 param:
130 APTLY_URL:
131 type: string
132 default: "${_param:jenkins_aptly_api_url}"
133 APTLY_REPO:
134 type: string
135 default: "{{os}}-{{dist}}-{{buildname}}"
136 SOURCE_URL:
137 type: string
138 default: "${_param:jenkins_gerrit_url}/contrail"
139 SOURCE_BRANCH:
140 type: string
141 default: "{{branch}}"
142 SOURCE_CREDENTIALS:
143 type: string
144 default: "gerrit"
145 KEEP_REPOS:
146 type: boolean
147 default: 'false'
148 description: "Don't cleanup on failure"
chnyda063bf3d2017-07-20 10:57:56 +0200149 DPDK_BRANCH:
150 type: string
151 default: "{{dpdk}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100152 OS:
153 type: string
154 default: "{{os}}"
155 DIST:
156 type: string
157 default: "{{dist}}"
158 ARCH:
159 type: string
160 default: "amd64"
161 PPA:
162 type: string
163 default: "{{ppa}}"
164 UPLOAD_SOURCE_PACKAGE:
165 type: boolean
166 default: '{{upload_source_package}}'
chnydafc990de2017-04-06 11:35:17 +0200167 trigger:
chnyda3ab8f8d2017-08-23 14:04:00 +0200168 pollscm:
169 spec: "{{build_trigger}}"
chnydafc990de2017-04-06 11:35:17 +0200170 gerrit:
171 project:
chnyda41bd3152017-04-11 16:55:29 +0200172 contrail/contrail-pipeline:
173 branches:
174 - "{{branch}}"
175 contrail/contrail-build:
176 branches:
177 - "{{branch}}"
178 contrail/contrail-controller:
179 branches:
180 - "{{branch}}"
181 contrail/contrail-vrouter:
182 branches:
183 - "{{branch}}"
184 contrail/contrail-third-party:
185 branches:
186 - "{{branch}}"
187 contrail/contrail-generateDS:
188 branches:
189 - "{{branch}}"
190 contrail/contrail-sandesh:
191 branches:
192 - "{{branch}}"
193 contrail/contrail-packages:
194 branches:
195 - "{{branch}}"
196 contrail/contrail-nova-vif-driver:
197 branches:
198 - "{{branch}}"
199 contrail/contrail-neutron-plugin:
200 branches:
201 - "{{branch}}"
202 contrail/contrail-nova-extensions:
203 branches:
204 - "{{branch}}"
205 contrail/contrail-heat:
206 branches:
207 - "{{branch}}"
208 contrail/contrail-web-storage:
209 branches:
210 - "{{branch}}"
211 contrail/contrail-web-server-manager:
212 branches:
213 - "{{branch}}"
214 contrail/contrail-web-controller:
215 branches:
216 - "{{branch}}"
217 contrail/contrail-web-core:
218 branches:
219 - "{{branch}}"
220 contrail/contrail-webui-third-party:
221 branches:
222 - "{{branch}}"
chnydafc990de2017-04-06 11:35:17 +0200223 event:
224 comment:
225 - addedContains:
226 commentAddedCommentContains: '(buildpackage)'