2 ##############################################
3 # job configuration for docker build and push
4 ##############################################
16 branch: 'stable/{stream}'
20 branch: 'stable/{stream}'
24 branch: 'stable/{stream}'
26 laas-receivers: &laas_receivers
28 pberberian@iol.unh.edu
30 storperf-receivers: &storperf-receivers
33 other-receivers: &other-receivers
36 dockerfile: "Dockerfile"
41 # This is the dockerhub repo the image will be pushed to as
42 # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
43 # 'project' is the OPNFV repo we expect to contain the Dockerfile
44 # yamllint disable rule:key-duplicates
46 # projects with jobs for master
48 project: 'releng-anteater'
51 - 'barometer-collectd':
53 dockerdir: 'docker/barometer-collectd'
56 - 'barometer-collectd-experimental':
59 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
62 - 'barometer-collectd-latest':
65 dockerfile: 'docker/barometer-collectd-latest/Dockerfile'
70 dockerdir: 'docker/barometer-dma'
73 - 'barometer-grafana':
75 dockerdir: 'docker/barometer-grafana'
78 - 'barometer-influxdb':
80 dockerdir: 'docker/barometer-influxdb'
85 dockerdir: 'docker/barometer-kafka'
90 dockerdir: 'docker/barometer-ves'
95 dockerdir: 'docker/barometer-snmp'
101 dockerfile: 'docker/Dockerfile'
104 - 'clover-ns-nginx-lb':
106 dockerdir: 'samples/services/nginx/docker'
107 dockerfile: 'subservices/lb/Dockerfile'
110 - 'clover-ns-nginx-proxy':
112 dockerdir: 'samples/services/nginx/docker'
113 dockerfile: 'subservices/proxy/Dockerfile'
116 - 'clover-ns-nginx-server':
118 dockerdir: 'samples/services/nginx/docker'
119 dockerfile: 'subservices/server/Dockerfile'
122 - 'clover-ns-snort-ids':
124 dockerdir: 'samples/services/snort_ids/docker'
125 dockerfile: 'Dockerfile'
128 - 'clover-controller':
130 dockerdir: 'clover/controller'
131 dockerfile: 'docker/Dockerfile'
134 - 'clover-collector':
136 dockerdir: 'clover/collector'
137 dockerfile: 'docker/Dockerfile'
140 - 'clover-jmeter-master':
142 dockerdir: 'clover/tools/jmeter'
143 dockerfile: 'jmeter-master/Dockerfile'
146 - 'clover-jmeter-slave':
148 dockerdir: 'clover/tools/jmeter'
149 dockerfile: 'jmeter-slave/Dockerfile'
152 - 'clover-sample-app':
154 dockerdir: 'samples/scenarios/sample_app'
155 dockerfile: 'Dockerfile'
158 - 'clover-ns-modsecurity-crs':
160 dockerdir: 'samples/services/modsecurity/docker'
161 dockerfile: 'Dockerfile'
166 dockerdir: 'clover/spark/docker/clover-spark'
167 dockerfile: 'Dockerfile'
170 - 'clover-spark-submit':
172 dockerdir: 'clover/spark/docker/spark-submit'
173 dockerfile: 'Dockerfile'
178 dockerdir: 'clover/clovisor'
179 dockerfile: 'Dockerfile'
186 - 'dovetail-webportal-api':
187 project: 'dovetail-webportal'
188 dockerfile: 'Dockerfile.api'
191 - 'dovetail-webportal-web':
192 project: 'dovetail-webportal'
193 dockerfile: 'Dockerfile.web'
196 - 'dovetail-webportal-web-onap':
197 project: 'dovetail-webportal'
198 dockerfile: 'Dockerfile.web'
199 extra_build_args: 'CONTAINER=onap GUI=onap-ui'
209 dockerfile: 'web/Dockerfile'
215 dockerfile: 'worker/Dockerfile'
220 dockerdir: 'docker/storperf-master'
223 <<: *storperf-receivers
224 - 'storperf-graphite':
226 dockerdir: 'docker/storperf-graphite'
229 <<: *storperf-receivers
230 - 'storperf-httpfrontend':
232 dockerdir: 'docker/storperf-httpfrontend'
235 <<: *storperf-receivers
236 - 'storperf-reporting':
238 dockerdir: 'docker/storperf-reporting'
241 <<: *storperf-receivers
242 - 'storperf-swaggerui':
244 dockerdir: 'docker/storperf-swaggerui'
247 <<: *storperf-receivers
248 - 'storperf-workloadagent':
250 dockerdir: 'docker/storperf-workloadagent'
253 <<: *storperf-receivers
255 # projects with jobs for hunter
261 # projects with jobs for iruya
264 dockerdir: 'docker/storperf-master'
267 <<: *storperf-receivers
268 - 'storperf-graphite':
270 dockerdir: 'docker/storperf-graphite'
273 <<: *storperf-receivers
274 - 'storperf-httpfrontend':
276 dockerdir: 'docker/storperf-httpfrontend'
279 <<: *storperf-receivers
280 - 'storperf-reporting':
282 dockerdir: 'docker/storperf-reporting'
285 <<: *storperf-receivers
286 - 'storperf-swaggerui':
288 dockerdir: 'docker/storperf-swaggerui'
291 <<: *storperf-receivers
292 - 'storperf-workloadagent':
294 dockerdir: 'docker/storperf-workloadagent'
297 <<: *storperf-receivers
299 # projects with jobs for jerma
300 - 'barometer-collectd':
302 dockerdir: 'docker/barometer-collectd'
305 - 'barometer-collectd-experimental':
308 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
311 - 'barometer-collectd-latest':
314 dockerfile: 'docker/barometer-collectd-latest/Dockerfile'
319 dockerdir: 'docker/barometer-dma'
322 - 'barometer-grafana':
324 dockerdir: 'docker/barometer-grafana'
327 - 'barometer-influxdb':
329 dockerdir: 'docker/barometer-influxdb'
334 dockerdir: 'docker/barometer-kafka'
339 dockerdir: 'docker/barometer-ves'
344 dockerdir: 'docker/barometer-snmp'
348 # yamllint enable rule:key-duplicates
350 - "{dockerrepo}-docker-build-push-{stream}"
352 ########################
354 ########################
356 name: '{dockerrepo}-docker-build-push-{stream}'
358 disabled: '{obj:disabled}'
360 parameters: ¶meters
364 - 'opnfv-build-ubuntu-defaults'
368 description: "To enable/disable pushing the image to Dockerhub."
370 name: DOCKER_REPO_NAME
371 default: "opnfv/{dockerrepo}"
372 description: "Dockerhub repo to be pushed to."
375 default: "{dockerdir}"
376 description: "Directory containing files needed by the Dockerfile"
380 description: "commit id to make a snapshot docker image"
384 description: "Docker tag to be built, e.g. refs/tags/5.0.0, refs/tags/opnfv-5.0.0, refs/tags/5.0.RC1"
387 default: "{dockerfile}"
388 description: "Dockerfile to use for creating the image."
391 default: "{arch_tag}"
392 description: "If set, this value will be added to the docker image tag as a prefix"
394 name: EXTRA_BUILD_ARGS
395 default: "{extra_build_args}"
396 description: "Whitespace separated key=value pairs. If set, these args will be used to build docker image"
408 !include-raw-escape: ./opnfv-docker.sh
413 - gerrit-trigger-tag-created:
418 recipients: '{receivers}'
419 - email-jenkins-admins-on-failure