blob: c779cfe17b773a46d86f9eb476652d79b456adb8 [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
Filip Pytloun7af94b32017-03-14 18:38:52 +010096 - package: librdkafka
97 dist: xenial
chnyda23932562017-04-21 12:39:06 +020098 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020099 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100100 - package: python-kafka
101 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200102 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200103 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100104 - package: python-geventhttpclient
105 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200106 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200107 branch: debian/xenial
chnyda724425a2017-05-25 09:52:27 +0200108 - package: python-pydbus
109 dist: xenial
110 build: pipeline
111 branch: debian/xenial
Filip Pytloun784116f2017-03-31 17:07:49 +0200112 - package: python-docker
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-consistent-hash
117 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200118 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200119 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100120 - package: libipfix
121 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200122 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200123 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100124 - package: cassandra-cpp-driver
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-sseclient
129 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200130 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200131 branch: debian/xenial
Filip Pytloun46360192017-04-24 17:52:05 +0200132 - package: reclass
133 dist: xenial
134 build: pipeline
135 branch: debian/xenial
chnyda23932562017-04-21 12:39:06 +0200136 - package: telegraf
137 dist: trusty
138 build: telegraf
chnydab1a1ebe2017-04-27 15:09:17 +0200139 branch: release-1.2
chnyda23932562017-04-21 12:39:06 +0200140 - package: telegraf
141 dist: xenial
142 build: telegraf
chnydab1a1ebe2017-04-27 15:09:17 +0200143 branch: release-1.2
chnydaa1c734c2017-05-18 14:21:14 +0200144 - package: libvirt-exporter
145 dist: xenial
146 build: libvirt-exporter
147 branch: master
chnyda2bc8fe42017-06-06 17:28:43 +0200148 - package: kafka
149 dist: xenial
150 build: pipeline
151 branch: debian/xenial
chnyda3ea578d2017-06-06 17:45:42 +0200152 - package: python-cassandra-driver
153 dist: xenial
154 build: pipeline
155 branch: debian/xenial
chnyda163a3292017-06-20 15:05:54 +0200156 - package: jmx-exporter
157 dist: xenial
158 build: jmx-exporter
chnydac70d3822017-06-20 16:53:28 +0200159 branch: master
Filip Pytloun7af94b32017-03-14 18:38:52 +0100160 template:
161 type: workflow-scm
162 concurrent: false
163 scm:
164 type: git
165 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
166 credentials: "gerrit"
chnyda23932562017-04-21 12:39:06 +0200167 script: build-debian-packages-{{build}}.groovy
Filip Pytloun7af94b32017-03-14 18:38:52 +0100168 trigger:
169 gerrit:
170 project:
171 debian/{{package}}:
172 branches:
Jakub Josef4c788d72017-05-19 15:46:29 +0200173 - "{{branch}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100174 message:
175 build_successful: "Build successful"
176 build_unstable: "Build unstable"
177 build_failure: "Build failed"
178 event:
179 ref:
180 - updated
181 param:
182 SOURCE_URL:
183 type: string
184 default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git"
185 SOURCE_BRANCH:
186 type: string
chnyda9cc580d2017-04-24 15:38:03 +0200187 default: "{{branch}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100188 SOURCE_CREDENTIALS:
189 type: string
190 default: "gerrit"
191 EXTRA_REPO_URL:
192 type: string
193 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra"
194 EXTRA_REPO_KEY_URL:
195 type: string
196 default: "${_param:jenkins_aptly_url}/public.gpg"
197 APTLY_URL:
198 type: string
199 default: "${_param:jenkins_aptly_api_url}"
200 APTLY_REPO:
201 type: string
202 default: "ubuntu-{{dist}}-extra"
203 OS:
204 type: string
205 default: "ubuntu"
206 DIST:
207 type: string
208 default: "{{dist}}"
209 ARCH:
210 type: string
211 default: "amd64"
chnydaa3f63182017-03-20 11:08:21 +0100212 PPA:
213 type: string
214 default: "mirantis-opencontrail/extra"
215 UPLOAD_PPA:
216 type: boolean
217 default: 'true'
218 UPLOAD_APTLY:
219 type: boolean
220 default: 'true'