blob: 9d6755ef78847f626ecb540db6885ea5c35296ce [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
Filip Pytloun7af94b32017-03-14 18:38:52 +010011 - package: python-kafka
12 dist: trusty
chnyda23932562017-04-21 12:39:06 +020013 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010014 - package: liburcu
15 dist: trusty
chnyda23932562017-04-21 12:39:06 +020016 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 - package: python-kazoo
18 dist: trusty
chnyda23932562017-04-21 12:39:06 +020019 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010020 - package: python-pathlib
21 dist: trusty
chnyda23932562017-04-21 12:39:06 +020022 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010023 - package: kafka
24 dist: trusty
chnyda23932562017-04-21 12:39:06 +020025 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010026 - package: python-geventhttpclient
27 dist: trusty
chnyda23932562017-04-21 12:39:06 +020028 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010029 - package: python-consistent-hash
30 dist: trusty
chnyda23932562017-04-21 12:39:06 +020031 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 - package: libipfix
33 dist: trusty
chnyda23932562017-04-21 12:39:06 +020034 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010035 - package: python-ncclient
36 dist: trusty
chnyda23932562017-04-21 12:39:06 +020037 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010038 - package: python-pycassa
39 dist: trusty
chnyda23932562017-04-21 12:39:06 +020040 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010041 - package: python-xmltodict
42 dist: trusty
chnyda23932562017-04-21 12:39:06 +020043 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010044 - package: python-backports.ssl-match-hostname
45 dist: trusty
chnyda23932562017-04-21 12:39:06 +020046 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010047 - package: python-certifi
48 dist: trusty
chnyda23932562017-04-21 12:39:06 +020049 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 - package: python-docker
51 dist: trusty
chnyda23932562017-04-21 12:39:06 +020052 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010053 - package: python-cassandra-driver
54 dist: trusty
chnyda23932562017-04-21 12:39:06 +020055 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010056 - package: python-redis
57 dist: trusty
chnyda23932562017-04-21 12:39:06 +020058 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010059 - package: python-tabulate
60 dist: trusty
chnyda23932562017-04-21 12:39:06 +020061 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010062 - package: cassandra-cpp-driver
63 dist: trusty
chnyda23932562017-04-21 12:39:06 +020064 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010065 - package: libuv1
66 dist: trusty
chnyda23932562017-04-21 12:39:06 +020067 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010068 - package: python-sseclient
69 dist: trusty
chnyda23932562017-04-21 12:39:06 +020070 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010071 - package: librdkafka
72 dist: xenial
chnyda23932562017-04-21 12:39:06 +020073 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010074 - package: python-kafka
75 dist: xenial
chnyda23932562017-04-21 12:39:06 +020076 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010077 - package: python-geventhttpclient
78 dist: xenial
chnyda23932562017-04-21 12:39:06 +020079 build: pipeline
Filip Pytloun784116f2017-03-31 17:07:49 +020080 - package: python-docker
81 dist: xenial
chnyda23932562017-04-21 12:39:06 +020082 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010083 - package: python-consistent-hash
84 dist: xenial
chnyda23932562017-04-21 12:39:06 +020085 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010086 - package: libipfix
87 dist: xenial
chnyda23932562017-04-21 12:39:06 +020088 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010089 - package: cassandra-cpp-driver
90 dist: xenial
chnyda23932562017-04-21 12:39:06 +020091 build: pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010092 - package: python-sseclient
93 dist: xenial
chnyda23932562017-04-21 12:39:06 +020094 build: pipeline
95 - package: telegraf
96 dist: trusty
97 build: telegraf
98 - package: telegraf
99 dist: xenial
100 build: telegraf
Filip Pytloun7af94b32017-03-14 18:38:52 +0100101 template:
102 type: workflow-scm
103 concurrent: false
104 scm:
105 type: git
106 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
107 credentials: "gerrit"
chnyda23932562017-04-21 12:39:06 +0200108 script: build-debian-packages-{{build}}.groovy
Filip Pytloun7af94b32017-03-14 18:38:52 +0100109 trigger:
110 gerrit:
111 project:
112 debian/{{package}}:
113 branches:
114 - debian/{{dist}}
115 message:
116 build_successful: "Build successful"
117 build_unstable: "Build unstable"
118 build_failure: "Build failed"
119 event:
120 ref:
121 - updated
122 param:
123 SOURCE_URL:
124 type: string
125 default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git"
126 SOURCE_BRANCH:
127 type: string
128 default: "debian/{{dist}}"
129 SOURCE_CREDENTIALS:
130 type: string
131 default: "gerrit"
132 EXTRA_REPO_URL:
133 type: string
134 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra"
135 EXTRA_REPO_KEY_URL:
136 type: string
137 default: "${_param:jenkins_aptly_url}/public.gpg"
138 APTLY_URL:
139 type: string
140 default: "${_param:jenkins_aptly_api_url}"
141 APTLY_REPO:
142 type: string
143 default: "ubuntu-{{dist}}-extra"
144 OS:
145 type: string
146 default: "ubuntu"
147 DIST:
148 type: string
149 default: "{{dist}}"
150 ARCH:
151 type: string
152 default: "amd64"
chnydaa3f63182017-03-20 11:08:21 +0100153 PPA:
154 type: string
155 default: "mirantis-opencontrail/extra"
156 UPLOAD_PPA:
157 type: boolean
158 default: 'true'
159 UPLOAD_APTLY:
160 type: boolean
161 default: 'true'