2 ##############################################
3 # job configuration for docker build and push
4 ##############################################
16 branch: 'stable/{stream}'
20 branch: 'stable/{stream}'
22 laas-receivers: &laas_receivers
24 pberberian@iol.unh.edu
26 storperf-receivers: &storperf-receivers
29 other-receivers: &other-receivers
32 dockerfile: "Dockerfile"
37 # This is the dockerhub repo the image will be pushed to as
38 # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
39 # 'project' is the OPNFV repo we expect to contain the Dockerfile
40 # yamllint disable rule:key-duplicates
42 # projects with jobs for master
44 project: 'releng-anteater'
47 - 'barometer-collectd':
49 dockerdir: 'docker/barometer-collectd'
52 - 'barometer-collectd-experimental':
55 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
58 - 'barometer-collectd-latest':
61 dockerfile: 'docker/barometer-collectd-latest/Dockerfile'
66 dockerdir: 'docker/barometer-dma'
69 - 'barometer-grafana':
71 dockerdir: 'docker/barometer-grafana'
74 - 'barometer-influxdb':
76 dockerdir: 'docker/barometer-influxdb'
81 dockerdir: 'docker/barometer-kafka'
86 dockerdir: 'docker/barometer-ves'
91 dockerdir: 'docker/barometer-snmp'
97 dockerfile: 'docker/Dockerfile'
100 - 'clover-ns-nginx-lb':
102 dockerdir: 'samples/services/nginx/docker'
103 dockerfile: 'subservices/lb/Dockerfile'
106 - 'clover-ns-nginx-proxy':
108 dockerdir: 'samples/services/nginx/docker'
109 dockerfile: 'subservices/proxy/Dockerfile'
112 - 'clover-ns-nginx-server':
114 dockerdir: 'samples/services/nginx/docker'
115 dockerfile: 'subservices/server/Dockerfile'
118 - 'clover-ns-snort-ids':
120 dockerdir: 'samples/services/snort_ids/docker'
121 dockerfile: 'Dockerfile'
124 - 'clover-controller':
126 dockerdir: 'clover/controller'
127 dockerfile: 'docker/Dockerfile'
130 - 'clover-collector':
132 dockerdir: 'clover/collector'
133 dockerfile: 'docker/Dockerfile'
136 - 'clover-jmeter-master':
138 dockerdir: 'clover/tools/jmeter'
139 dockerfile: 'jmeter-master/Dockerfile'
142 - 'clover-jmeter-slave':
144 dockerdir: 'clover/tools/jmeter'
145 dockerfile: 'jmeter-slave/Dockerfile'
148 - 'clover-sample-app':
150 dockerdir: 'samples/scenarios/sample_app'
151 dockerfile: 'Dockerfile'
154 - 'clover-ns-modsecurity-crs':
156 dockerdir: 'samples/services/modsecurity/docker'
157 dockerfile: 'Dockerfile'
162 dockerdir: 'clover/spark/docker/clover-spark'
163 dockerfile: 'Dockerfile'
166 - 'clover-spark-submit':
168 dockerdir: 'clover/spark/docker/spark-submit'
169 dockerfile: 'Dockerfile'
174 dockerdir: 'clover/clovisor'
175 dockerfile: 'Dockerfile'
182 - 'dovetail-webportal-api':
183 project: 'dovetail-webportal'
184 dockerfile: 'Dockerfile.api'
187 - 'dovetail-webportal-web':
188 project: 'dovetail-webportal'
189 dockerfile: 'Dockerfile.web'
192 - 'dovetail-webportal-web-onap':
193 project: 'dovetail-webportal'
194 dockerfile: 'Dockerfile.web'
195 extra_build_args: 'CONTAINER=onap GUI=onap-ui'
205 dockerfile: 'web/Dockerfile'
211 dockerfile: 'worker/Dockerfile'
216 dockerdir: 'docker/storperf-master'
219 <<: *storperf-receivers
220 - 'storperf-graphite':
222 dockerdir: 'docker/storperf-graphite'
225 <<: *storperf-receivers
226 - 'storperf-httpfrontend':
228 dockerdir: 'docker/storperf-httpfrontend'
231 <<: *storperf-receivers
232 - 'storperf-reporting':
234 dockerdir: 'docker/storperf-reporting'
237 <<: *storperf-receivers
238 - 'storperf-swaggerui':
240 dockerdir: 'docker/storperf-swaggerui'
243 <<: *storperf-receivers
244 - 'storperf-workloadagent':
246 dockerdir: 'docker/storperf-workloadagent'
249 <<: *storperf-receivers
251 # projects with jobs for hunter
257 # projects with jobs for iruya
260 dockerdir: 'docker/barometer-dma'
263 - 'barometer-collectd':
265 dockerdir: 'docker/barometer-collectd'
268 - 'barometer-collectd-experimental':
271 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
274 - 'barometer-collectd-master':
277 dockerfile: 'docker/barometer-collectd-master/Dockerfile'
280 - 'barometer-grafana':
282 dockerdir: 'docker/barometer-grafana'
285 - 'barometer-influxdb':
287 dockerdir: 'docker/barometer-influxdb'
292 dockerdir: 'docker/barometer-kafka'
297 dockerdir: 'docker/barometer-ves'
302 dockerdir: 'docker/barometer-snmp'
307 dockerdir: 'docker/storperf-master'
310 <<: *storperf-receivers
311 - 'storperf-graphite':
313 dockerdir: 'docker/storperf-graphite'
316 <<: *storperf-receivers
317 - 'storperf-httpfrontend':
319 dockerdir: 'docker/storperf-httpfrontend'
322 <<: *storperf-receivers
323 - 'storperf-reporting':
325 dockerdir: 'docker/storperf-reporting'
328 <<: *storperf-receivers
329 - 'storperf-swaggerui':
331 dockerdir: 'docker/storperf-swaggerui'
334 <<: *storperf-receivers
335 - 'storperf-workloadagent':
337 dockerdir: 'docker/storperf-workloadagent'
340 <<: *storperf-receivers
342 # yamllint enable rule:key-duplicates
344 - "{dockerrepo}-docker-build-push-{stream}"
346 ########################
348 ########################
350 name: '{dockerrepo}-docker-build-push-{stream}'
352 disabled: '{obj:disabled}'
354 parameters: ¶meters
358 - 'opnfv-build-ubuntu-defaults'
362 description: "To enable/disable pushing the image to Dockerhub."
364 name: DOCKER_REPO_NAME
365 default: "opnfv/{dockerrepo}"
366 description: "Dockerhub repo to be pushed to."
369 default: "{dockerdir}"
370 description: "Directory containing files needed by the Dockerfile"
374 description: "commit id to make a snapshot docker image"
378 description: "Docker tag to be built, e.g. refs/tags/5.0.0, refs/tags/opnfv-5.0.0, refs/tags/5.0.RC1"
381 default: "{dockerfile}"
382 description: "Dockerfile to use for creating the image."
385 default: "{arch_tag}"
386 description: "If set, this value will be added to the docker image tag as a prefix"
388 name: EXTRA_BUILD_ARGS
389 default: "{extra_build_args}"
390 description: "Whitespace separated key=value pairs. If set, these args will be used to build docker image"
402 !include-raw-escape: ./opnfv-docker.sh
407 - gerrit-trigger-tag-created:
412 recipients: '{receivers}'
413 - email-jenkins-admins-on-failure