Kyrylo Mashchenko | 0ec0976 | 2018-10-26 11:06:48 +0000 | [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 |
| 10 | build: pipeline |
| 11 | branch: debian/trusty |
| 12 | - package: python-kafka |
| 13 | dist: trusty |
| 14 | build: pipeline |
| 15 | branch: debian/trusty |
| 16 | - package: liburcu |
| 17 | dist: trusty |
| 18 | build: pipeline |
| 19 | branch: debian/trusty |
| 20 | - package: python-kazoo |
| 21 | dist: trusty |
| 22 | build: pipeline |
| 23 | branch: debian/trusty |
| 24 | - package: python-pathlib |
| 25 | dist: trusty |
| 26 | build: pipeline |
| 27 | branch: debian/trusty |
| 28 | - package: kafka |
| 29 | dist: trusty |
| 30 | build: pipeline |
| 31 | branch: debian/trusty |
| 32 | - package: python-geventhttpclient |
| 33 | dist: trusty |
| 34 | build: pipeline |
| 35 | branch: debian/trusty |
| 36 | - package: python-consistent-hash |
| 37 | dist: trusty |
| 38 | build: pipeline |
| 39 | branch: debian/trusty |
| 40 | - package: libipfix |
| 41 | dist: trusty |
| 42 | build: pipeline |
| 43 | branch: debian/trusty |
| 44 | - package: python-ncclient |
| 45 | dist: trusty |
| 46 | build: pipeline |
| 47 | branch: debian/trusty |
| 48 | - package: python-pycassa |
| 49 | dist: trusty |
| 50 | build: pipeline |
| 51 | branch: debian/trusty |
| 52 | - package: python-xmltodict |
| 53 | dist: trusty |
| 54 | build: pipeline |
| 55 | branch: debian/trusty |
| 56 | - package: python-backports.ssl-match-hostname |
| 57 | dist: trusty |
| 58 | build: pipeline |
| 59 | branch: debian/trusty |
| 60 | - package: python-certifi |
| 61 | dist: trusty |
| 62 | build: pipeline |
| 63 | branch: debian/trusty |
| 64 | - package: python-docker |
| 65 | dist: trusty |
| 66 | build: pipeline |
| 67 | branch: debian/trusty |
| 68 | - package: python-cassandra-driver |
| 69 | dist: trusty |
| 70 | build: pipeline |
| 71 | branch: debian/trusty |
| 72 | - package: python-redis |
| 73 | dist: trusty |
| 74 | build: pipeline |
| 75 | branch: debian/trusty |
| 76 | - package: python-tabulate |
| 77 | dist: trusty |
| 78 | build: pipeline |
| 79 | branch: debian/trusty |
| 80 | - package: cassandra-cpp-driver |
| 81 | dist: trusty |
| 82 | build: pipeline |
| 83 | branch: debian/trusty |
| 84 | - package: libuv1 |
| 85 | dist: trusty |
| 86 | build: pipeline |
| 87 | branch: debian/trusty |
| 88 | - package: python-sseclient |
| 89 | dist: trusty |
| 90 | build: pipeline |
| 91 | branch: debian/trusty |
| 92 | - package: reclass |
| 93 | dist: trusty |
| 94 | build: pipeline |
| 95 | branch: debian/trusty |
| 96 | - package: jmx-exporter |
| 97 | dist: trusty |
| 98 | build: jmx-exporter |
| 99 | branch: master |
| 100 | - package: python-bitstring |
| 101 | dist: trusty |
| 102 | build: pipeline |
| 103 | branch: debian/trusty |
| 104 | - package: libvirt-exporter |
| 105 | dist: trusty |
| 106 | build: libvirt-exporter |
| 107 | branch: master |
| 108 | - package: librdkafka |
| 109 | dist: xenial |
| 110 | build: pipeline |
| 111 | branch: debian/xenial |
| 112 | - package: python-kafka |
| 113 | dist: xenial |
| 114 | build: pipeline |
| 115 | branch: debian/xenial |
| 116 | - package: python-geventhttpclient |
| 117 | dist: xenial |
| 118 | build: pipeline |
| 119 | branch: debian/xenial |
| 120 | - package: python-pydbus |
| 121 | dist: xenial |
| 122 | build: pipeline |
| 123 | branch: debian/xenial |
| 124 | - package: python-docker |
| 125 | dist: xenial |
| 126 | build: pipeline |
| 127 | branch: debian/xenial |
| 128 | - package: python-consistent-hash |
| 129 | dist: xenial |
| 130 | build: pipeline |
| 131 | branch: debian/xenial |
| 132 | - package: libipfix |
| 133 | dist: xenial |
| 134 | build: pipeline |
| 135 | branch: debian/xenial |
| 136 | - package: cassandra-cpp-driver |
| 137 | dist: xenial |
| 138 | build: pipeline |
| 139 | branch: debian/xenial |
| 140 | - package: python-sseclient |
| 141 | dist: xenial |
| 142 | build: pipeline |
| 143 | branch: debian/xenial |
| 144 | - package: reclass |
| 145 | dist: xenial |
| 146 | build: pipeline |
| 147 | branch: debian/xenial |
| 148 | - package: telegraf |
| 149 | dist: trusty |
| 150 | build: telegraf |
| 151 | branch: release-1.5 |
| 152 | - package: telegraf |
| 153 | dist: xenial |
| 154 | build: telegraf |
| 155 | branch: release-1.5 |
| 156 | - package: libvirt-exporter |
| 157 | dist: xenial |
| 158 | build: libvirt-exporter |
| 159 | branch: master |
| 160 | - package: kafka |
| 161 | dist: xenial |
| 162 | build: pipeline |
| 163 | branch: debian/xenial |
| 164 | - package: python-cassandra-driver |
| 165 | dist: xenial |
| 166 | build: pipeline |
| 167 | branch: debian/xenial |
| 168 | - package: jmx-exporter |
| 169 | dist: xenial |
| 170 | build: jmx-exporter |
| 171 | branch: master |
| 172 | - package: influxdb-relay |
| 173 | dist: xenial |
| 174 | build: influxdb-relay |
| 175 | branch: master |
| 176 | - 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 |
| 184 | - 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 |
| 192 | - package: gerritlib |
| 193 | dist: xenial |
| 194 | build: pipeline |
| 195 | branch: debian/xenial |
| 196 | - package: python-pygerrit2 |
| 197 | dist: xenial |
| 198 | build: pipeline |
| 199 | branch: debian/xenial |
| 200 | - 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 |
| 208 | - package: python-backports.ssl-match-hostname |
| 209 | dist: xenial |
| 210 | build: pipeline |
| 211 | branch: debian/xenial |
| 212 | template: |
| 213 | type: workflow-scm |
| 214 | concurrent: false |
| 215 | discard: |
| 216 | build: |
| 217 | keep_num: 10 |
| 218 | artifact: |
| 219 | keep_num: 10 |
| 220 | scm: |
| 221 | type: git |
| 222 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 223 | branch: "${_param:jenkins_pipelines_branch}" |
| 224 | credentials: "gerrit" |
| 225 | script: build-debian-packages-{{build}}.groovy |
| 226 | trigger: |
| 227 | gerrit: |
| 228 | project: |
| 229 | debian/{{package}}: |
| 230 | branches: |
| 231 | - "{{branch}}" |
| 232 | message: |
| 233 | build_successful: "Build successful" |
| 234 | build_unstable: "Build unstable" |
| 235 | build_failure: "Build failed" |
| 236 | event: |
| 237 | ref: |
| 238 | - updated |
| 239 | param: |
| 240 | SOURCE_URL: |
| 241 | type: string |
| 242 | default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git" |
| 243 | SOURCE_BRANCH: |
| 244 | type: string |
| 245 | default: "{{branch}}" |
| 246 | SOURCE_CREDENTIALS: |
| 247 | type: string |
| 248 | default: "gerrit" |
| 249 | EXTRA_REPO_URL: |
| 250 | type: string |
| 251 | default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra" |
| 252 | EXTRA_REPO_KEY_URL: |
| 253 | type: string |
| 254 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 255 | APTLY_URL: |
| 256 | type: string |
| 257 | default: "${_param:jenkins_aptly_api_url}" |
| 258 | APTLY_REPO: |
| 259 | type: string |
| 260 | default: "ubuntu-{{dist}}-extra" |
| 261 | OS: |
| 262 | type: string |
| 263 | default: "ubuntu" |
| 264 | DIST: |
| 265 | type: string |
| 266 | default: "{{dist}}" |
| 267 | ARCH: |
| 268 | type: string |
| 269 | default: "amd64" |
| 270 | PPA: |
| 271 | type: string |
| 272 | default: "mirantis-opencontrail/extra" |
| 273 | UPLOAD_PPA: |
| 274 | type: boolean |
| 275 | default: 'true' |
| 276 | UPLOAD_APTLY: |
| 277 | type: boolean |
| 278 | default: 'true' |