blob: 0a21a5518580f8fc98a49de3a88085027c5bffd8 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
4 job_template:
5 build-debian:
6 name: build-debian-{{package}}-ubuntu-{{dist}}
7 jobs:
8 - package: librdkafka
9 dist: trusty
chnyda23932562017-04-21 12:39:06 +020010 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020011 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010012 - package: python-kafka
13 dist: trusty
chnyda23932562017-04-21 12:39:06 +020014 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020015 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010016 - package: liburcu
17 dist: trusty
chnyda23932562017-04-21 12:39:06 +020018 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020019 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010020 - package: python-kazoo
21 dist: trusty
chnyda23932562017-04-21 12:39:06 +020022 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020023 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010024 - package: python-pathlib
25 dist: trusty
chnyda23932562017-04-21 12:39:06 +020026 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020027 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010028 - package: kafka
29 dist: trusty
chnyda23932562017-04-21 12:39:06 +020030 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020031 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 - package: python-geventhttpclient
33 dist: trusty
chnyda23932562017-04-21 12:39:06 +020034 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020035 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010036 - package: python-consistent-hash
37 dist: trusty
chnyda23932562017-04-21 12:39:06 +020038 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020039 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010040 - package: libipfix
41 dist: trusty
chnyda23932562017-04-21 12:39:06 +020042 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020043 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010044 - package: python-ncclient
45 dist: trusty
chnyda23932562017-04-21 12:39:06 +020046 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020047 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010048 - package: python-pycassa
49 dist: trusty
chnyda23932562017-04-21 12:39:06 +020050 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020051 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010052 - package: python-xmltodict
53 dist: trusty
chnyda23932562017-04-21 12:39:06 +020054 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020055 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010056 - package: python-backports.ssl-match-hostname
57 dist: trusty
chnyda23932562017-04-21 12:39:06 +020058 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020059 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010060 - package: python-certifi
61 dist: trusty
chnyda23932562017-04-21 12:39:06 +020062 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020063 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010064 - package: python-docker
65 dist: trusty
chnyda23932562017-04-21 12:39:06 +020066 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020067 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010068 - package: python-cassandra-driver
69 dist: trusty
chnyda23932562017-04-21 12:39:06 +020070 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020071 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010072 - package: python-redis
73 dist: trusty
chnyda23932562017-04-21 12:39:06 +020074 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020075 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010076 - package: python-tabulate
77 dist: trusty
chnyda23932562017-04-21 12:39:06 +020078 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020079 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010080 - package: cassandra-cpp-driver
81 dist: trusty
chnyda23932562017-04-21 12:39:06 +020082 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020083 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010084 - package: libuv1
85 dist: trusty
chnyda23932562017-04-21 12:39:06 +020086 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020087 branch: debian/trusty
Filip Pytloun7af94b32017-03-14 18:38:52 +010088 - package: python-sseclient
89 dist: trusty
chnyda23932562017-04-21 12:39:06 +020090 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020091 branch: debian/trusty
Filip Pytloun46360192017-04-24 17:52:05 +020092 - package: reclass
93 dist: trusty
94 build: pipeline
95 branch: debian/trusty
chnydacddfae72017-06-28 16:08:12 +020096 - package: jmx-exporter
97 dist: trusty
98 build: jmx-exporter
99 branch: master
chnyda2115b702017-08-16 17:08:08 +0200100 - package: python-bitstring
101 dist: trusty
102 build: pipeline
103 branch: debian/trusty
chnyda0eb41702017-08-28 13:31:11 +0200104 - package: libvirt-exporter
105 dist: trusty
106 build: libvirt-exporter
107 branch: master
Filip Pytloun7af94b32017-03-14 18:38:52 +0100108 - package: librdkafka
109 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200110 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200111 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100112 - package: python-kafka
113 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200114 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200115 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100116 - package: python-geventhttpclient
117 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200118 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200119 branch: debian/xenial
chnyda724425a2017-05-25 09:52:27 +0200120 - package: python-pydbus
121 dist: xenial
122 build: pipeline
123 branch: debian/xenial
Filip Pytloun784116f2017-03-31 17:07:49 +0200124 - package: python-docker
125 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200126 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200127 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100128 - package: python-consistent-hash
129 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200130 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200131 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100132 - package: libipfix
133 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200134 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200135 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100136 - package: cassandra-cpp-driver
137 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200138 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200139 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100140 - package: python-sseclient
141 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200142 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200143 branch: debian/xenial
Filip Pytloun46360192017-04-24 17:52:05 +0200144 - package: reclass
145 dist: xenial
146 build: pipeline
147 branch: debian/xenial
chnyda23932562017-04-21 12:39:06 +0200148 - package: telegraf
149 dist: trusty
150 build: telegraf
Ildar Svetlovbec92b42017-12-18 18:02:08 +0400151 branch: release-1.5
chnyda23932562017-04-21 12:39:06 +0200152 - package: telegraf
153 dist: xenial
154 build: telegraf
Ildar Svetlovbec92b42017-12-18 18:02:08 +0400155 branch: release-1.5
chnydaa1c734c2017-05-18 14:21:14 +0200156 - package: libvirt-exporter
157 dist: xenial
158 build: libvirt-exporter
159 branch: master
chnyda2bc8fe42017-06-06 17:28:43 +0200160 - package: kafka
161 dist: xenial
162 build: pipeline
163 branch: debian/xenial
chnyda3ea578d2017-06-06 17:45:42 +0200164 - package: python-cassandra-driver
165 dist: xenial
166 build: pipeline
167 branch: debian/xenial
chnyda163a3292017-06-20 15:05:54 +0200168 - package: jmx-exporter
169 dist: xenial
170 build: jmx-exporter
chnydac70d3822017-06-20 16:53:28 +0200171 branch: master
Simon Pasquierb00a9072017-08-28 09:54:32 +0200172 - package: influxdb-relay
173 dist: xenial
174 build: influxdb-relay
175 branch: master
Krzysztof Szukiełojćbc6da7d2017-09-11 15:02:14 +0200176 - package: prometheus-relay
177 dist: trusty
178 build: prometheus-relay
179 branch: master
180 - package: prometheus-relay
181 dist: xenial
182 build: prometheus-relay
183 branch: master
chnyda03187b22017-09-13 09:30:32 +0200184 - package: python-datrie
185 dist: xenial
186 build: pipeline
187 branch: debian/xenial
188 - package: contrail-api-cli
189 dist: xenial
190 build: pipeline
191 branch: debian/xenial
Filip Pytloun264ff462018-01-10 10:54:03 +0100192 - package: gerritlib
193 dist: xenial
194 build: pipeline
195 branch: debian/xenial
Filip Pytlound758d472018-01-15 13:05:48 +0100196 - package: python-pygerrit2
197 dist: xenial
198 build: pipeline
199 branch: debian/xenial
Filip Pytloun264ff462018-01-10 10:54:03 +0100200 - package: jeepyb
201 dist: xenial
202 build: pipeline
203 branch: debian/xenial
204 - package: salt-pepper
205 dist: xenial
206 build: pipeline
207 branch: debian/xenial
Jan Cachc39ec9a2018-03-01 16:19:06 +0100208 - package: python-backports.ssl-match-hostname
209 dist: xenial
210 build: pipeline
211 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100212 template:
213 type: workflow-scm
214 concurrent: false
215 scm:
216 type: git
217 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100218 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100219 credentials: "gerrit"
chnyda23932562017-04-21 12:39:06 +0200220 script: build-debian-packages-{{build}}.groovy
Filip Pytloun7af94b32017-03-14 18:38:52 +0100221 trigger:
222 gerrit:
223 project:
224 debian/{{package}}:
225 branches:
Jakub Josef4c788d72017-05-19 15:46:29 +0200226 - "{{branch}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100227 message:
228 build_successful: "Build successful"
229 build_unstable: "Build unstable"
230 build_failure: "Build failed"
231 event:
232 ref:
233 - updated
234 param:
235 SOURCE_URL:
236 type: string
237 default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git"
238 SOURCE_BRANCH:
239 type: string
chnyda9cc580d2017-04-24 15:38:03 +0200240 default: "{{branch}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100241 SOURCE_CREDENTIALS:
242 type: string
243 default: "gerrit"
244 EXTRA_REPO_URL:
245 type: string
246 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra"
247 EXTRA_REPO_KEY_URL:
248 type: string
249 default: "${_param:jenkins_aptly_url}/public.gpg"
250 APTLY_URL:
251 type: string
252 default: "${_param:jenkins_aptly_api_url}"
253 APTLY_REPO:
254 type: string
255 default: "ubuntu-{{dist}}-extra"
256 OS:
257 type: string
258 default: "ubuntu"
259 DIST:
260 type: string
261 default: "{{dist}}"
262 ARCH:
263 type: string
264 default: "amd64"
chnydaa3f63182017-03-20 11:08:21 +0100265 PPA:
266 type: string
267 default: "mirantis-opencontrail/extra"
268 UPLOAD_PPA:
269 type: boolean
270 default: 'true'
271 UPLOAD_APTLY:
272 type: boolean
273 default: 'true'