blob: 1bb01d91fe9d21971724ccf92d4b3bcfc42e8ef7 [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 Pytloun7af94b32017-03-14 18:38:52 +010092 - package: librdkafka
93 dist: xenial
chnyda23932562017-04-21 12:39:06 +020094 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +020095 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +010096 - package: python-kafka
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-geventhttpclient
101 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200102 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200103 branch: debian/xenial
Filip Pytloun784116f2017-03-31 17:07:49 +0200104 - package: python-docker
105 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200106 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200107 branch: debian/xenial
Filip Pytloun7af94b32017-03-14 18:38:52 +0100108 - package: python-consistent-hash
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: libipfix
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: cassandra-cpp-driver
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: python-sseclient
121 dist: xenial
chnyda23932562017-04-21 12:39:06 +0200122 build: pipeline
chnyda9cc580d2017-04-24 15:38:03 +0200123 branch: debian/xenial
chnyda23932562017-04-21 12:39:06 +0200124 - package: telegraf
125 dist: trusty
126 build: telegraf
chnyda9cc580d2017-04-24 15:38:03 +0200127 branch: master
chnyda23932562017-04-21 12:39:06 +0200128 - package: telegraf
129 dist: xenial
130 build: telegraf
chnyda9cc580d2017-04-24 15:38:03 +0200131 branch: master
Filip Pytloun7af94b32017-03-14 18:38:52 +0100132 template:
133 type: workflow-scm
134 concurrent: false
135 scm:
136 type: git
137 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
138 credentials: "gerrit"
chnyda23932562017-04-21 12:39:06 +0200139 script: build-debian-packages-{{build}}.groovy
Filip Pytloun7af94b32017-03-14 18:38:52 +0100140 trigger:
141 gerrit:
142 project:
143 debian/{{package}}:
144 branches:
145 - debian/{{dist}}
146 message:
147 build_successful: "Build successful"
148 build_unstable: "Build unstable"
149 build_failure: "Build failed"
150 event:
151 ref:
152 - updated
153 param:
154 SOURCE_URL:
155 type: string
156 default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git"
157 SOURCE_BRANCH:
158 type: string
chnyda9cc580d2017-04-24 15:38:03 +0200159 default: "{{branch}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100160 SOURCE_CREDENTIALS:
161 type: string
162 default: "gerrit"
163 EXTRA_REPO_URL:
164 type: string
165 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra"
166 EXTRA_REPO_KEY_URL:
167 type: string
168 default: "${_param:jenkins_aptly_url}/public.gpg"
169 APTLY_URL:
170 type: string
171 default: "${_param:jenkins_aptly_api_url}"
172 APTLY_REPO:
173 type: string
174 default: "ubuntu-{{dist}}-extra"
175 OS:
176 type: string
177 default: "ubuntu"
178 DIST:
179 type: string
180 default: "{{dist}}"
181 ARCH:
182 type: string
183 default: "amd64"
chnydaa3f63182017-03-20 11:08:21 +0100184 PPA:
185 type: string
186 default: "mirantis-opencontrail/extra"
187 UPLOAD_PPA:
188 type: boolean
189 default: 'true'
190 UPLOAD_APTLY:
191 type: boolean
192 default: 'true'