Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
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 | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 10 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 11 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 12 | - package: python-kafka |
13 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 14 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 15 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 16 | - package: liburcu |
17 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 18 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 19 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 20 | - package: python-kazoo |
21 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 22 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 23 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 24 | - package: python-pathlib |
25 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 26 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 27 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 28 | - package: kafka |
29 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 30 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 31 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 32 | - package: python-geventhttpclient |
33 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 34 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 35 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 36 | - package: python-consistent-hash |
37 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 38 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 39 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 40 | - package: libipfix |
41 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 42 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 43 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 44 | - package: python-ncclient |
45 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 46 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 47 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 48 | - package: python-pycassa |
49 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 50 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 51 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 52 | - package: python-xmltodict |
53 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 54 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 55 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 56 | - package: python-backports.ssl-match-hostname |
57 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 58 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 59 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 60 | - package: python-certifi |
61 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 62 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 63 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 64 | - package: python-docker |
65 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 66 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 67 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 68 | - package: python-cassandra-driver |
69 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 70 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 71 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 72 | - package: python-redis |
73 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 74 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 75 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 76 | - package: python-tabulate |
77 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 78 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 79 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 80 | - package: cassandra-cpp-driver |
81 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 82 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 83 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 84 | - package: libuv1 |
85 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 86 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 87 | branch: debian/trusty |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 88 | - package: python-sseclient |
89 | dist: trusty | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 90 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 91 | branch: debian/trusty |
Filip Pytloun | 4636019 | 2017-04-24 17:52:05 +0200 | [diff] [blame] | 92 | - package: reclass |
93 | dist: trusty | ||||
94 | build: pipeline | ||||
95 | branch: debian/trusty | ||||
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 96 | - package: librdkafka |
97 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 98 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 99 | branch: debian/xenial |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 100 | - package: python-kafka |
101 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 102 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 103 | branch: debian/xenial |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 104 | - package: python-geventhttpclient |
105 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 106 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 107 | branch: debian/xenial |
Filip Pytloun | 784116f | 2017-03-31 17:07:49 +0200 | [diff] [blame] | 108 | - package: python-docker |
109 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 110 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 111 | branch: debian/xenial |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 112 | - package: python-consistent-hash |
113 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 114 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 115 | branch: debian/xenial |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 116 | - package: libipfix |
117 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 118 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 119 | branch: debian/xenial |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 120 | - package: cassandra-cpp-driver |
121 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 122 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 123 | branch: debian/xenial |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 124 | - package: python-sseclient |
125 | dist: xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 126 | build: pipeline |
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 127 | branch: debian/xenial |
Filip Pytloun | 4636019 | 2017-04-24 17:52:05 +0200 | [diff] [blame] | 128 | - package: reclass |
129 | dist: xenial | ||||
130 | build: pipeline | ||||
131 | branch: debian/xenial | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 132 | - package: telegraf |
133 | dist: trusty | ||||
134 | build: telegraf | ||||
chnyda | b1a1ebe | 2017-04-27 15:09:17 +0200 | [diff] [blame] | 135 | branch: release-1.2 |
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 136 | - package: telegraf |
137 | dist: xenial | ||||
138 | build: telegraf | ||||
chnyda | b1a1ebe | 2017-04-27 15:09:17 +0200 | [diff] [blame] | 139 | branch: release-1.2 |
chnyda | a1c734c | 2017-05-18 14:21:14 +0200 | [diff] [blame] | 140 | - package: libvirt-exporter |
141 | dist: xenial | ||||
142 | build: libvirt-exporter | ||||
143 | branch: master | ||||
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 144 | template: |
145 | type: workflow-scm | ||||
146 | concurrent: false | ||||
147 | scm: | ||||
148 | type: git | ||||
149 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | ||||
150 | credentials: "gerrit" | ||||
chnyda | 2393256 | 2017-04-21 12:39:06 +0200 | [diff] [blame] | 151 | script: build-debian-packages-{{build}}.groovy |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 152 | trigger: |
153 | gerrit: | ||||
154 | project: | ||||
155 | debian/{{package}}: | ||||
156 | branches: | ||||
Jakub Josef | 4c788d7 | 2017-05-19 15:46:29 +0200 | [diff] [blame] | 157 | - "{{branch}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 158 | message: |
159 | build_successful: "Build successful" | ||||
160 | build_unstable: "Build unstable" | ||||
161 | build_failure: "Build failed" | ||||
162 | event: | ||||
163 | ref: | ||||
164 | - updated | ||||
165 | param: | ||||
166 | SOURCE_URL: | ||||
167 | type: string | ||||
168 | default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git" | ||||
169 | SOURCE_BRANCH: | ||||
170 | type: string | ||||
chnyda | 9cc580d | 2017-04-24 15:38:03 +0200 | [diff] [blame] | 171 | default: "{{branch}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 172 | SOURCE_CREDENTIALS: |
173 | type: string | ||||
174 | default: "gerrit" | ||||
175 | EXTRA_REPO_URL: | ||||
176 | type: string | ||||
177 | default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra" | ||||
178 | EXTRA_REPO_KEY_URL: | ||||
179 | type: string | ||||
180 | default: "${_param:jenkins_aptly_url}/public.gpg" | ||||
181 | APTLY_URL: | ||||
182 | type: string | ||||
183 | default: "${_param:jenkins_aptly_api_url}" | ||||
184 | APTLY_REPO: | ||||
185 | type: string | ||||
186 | default: "ubuntu-{{dist}}-extra" | ||||
187 | OS: | ||||
188 | type: string | ||||
189 | default: "ubuntu" | ||||
190 | DIST: | ||||
191 | type: string | ||||
192 | default: "{{dist}}" | ||||
193 | ARCH: | ||||
194 | type: string | ||||
195 | default: "amd64" | ||||
chnyda | a3f6318 | 2017-03-20 11:08:21 +0100 | [diff] [blame] | 196 | PPA: |
197 | type: string | ||||
198 | default: "mirantis-opencontrail/extra" | ||||
199 | UPLOAD_PPA: | ||||
200 | type: boolean | ||||
201 | default: 'true' | ||||
202 | UPLOAD_APTLY: | ||||
203 | type: boolean | ||||
204 | default: 'true' |