2 ##############################################
3 # job configuration for docker build and push
4 ##############################################
16 branch: 'stable/{stream}'
18 laas-receivers: &laas_receivers
20 pberberian@iol.unh.edu
22 storperf-receivers: &storperf-receivers
25 yardstick-receivers: &yardstick-receivers
28 other-receivers: &other-receivers
31 dockerfile: "Dockerfile"
36 # This is the dockerhub repo the image will be pushed to as
37 # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
38 # 'project' is the OPNFV repo we expect to contain the Dockerfile
39 # yamllint disable rule:key-duplicates
41 # projects with jobs for master
43 project: 'releng-anteater'
46 - 'barometer-collectd':
48 dockerdir: 'docker/barometer-collectd'
51 - 'barometer-collectd-master':
54 dockerfile: 'docker/barometer-collectd-master/Dockerfile'
59 dockerdir: 'docker/barometer-dma'
62 - 'barometer-grafana':
64 dockerdir: 'docker/barometer-grafana'
67 - 'barometer-influxdb':
69 dockerdir: 'docker/barometer-influxdb'
74 dockerdir: 'docker/barometer-kafka'
79 dockerdir: 'docker/barometer-ves'
84 dockerdir: 'docker/barometer-snmp'
88 project: 'bottlenecks'
94 dockerfile: 'docker/Dockerfile'
97 - 'clover-ns-nginx-lb':
99 dockerdir: 'samples/services/nginx/docker'
100 dockerfile: 'subservices/lb/Dockerfile'
103 - 'clover-ns-nginx-proxy':
105 dockerdir: 'samples/services/nginx/docker'
106 dockerfile: 'subservices/proxy/Dockerfile'
109 - 'clover-ns-nginx-server':
111 dockerdir: 'samples/services/nginx/docker'
112 dockerfile: 'subservices/server/Dockerfile'
115 - 'clover-ns-snort-ids':
117 dockerdir: 'samples/services/snort_ids/docker'
118 dockerfile: 'Dockerfile'
121 - 'clover-controller':
123 dockerdir: 'clover/controller'
124 dockerfile: 'docker/Dockerfile'
127 - 'clover-collector':
129 dockerdir: 'clover/collector'
130 dockerfile: 'docker/Dockerfile'
133 - 'clover-jmeter-master':
135 dockerdir: 'clover/tools/jmeter'
136 dockerfile: 'jmeter-master/Dockerfile'
139 - 'clover-jmeter-slave':
141 dockerdir: 'clover/tools/jmeter'
142 dockerfile: 'jmeter-slave/Dockerfile'
145 - 'clover-sample-app':
147 dockerdir: 'samples/scenarios/sample_app'
148 dockerfile: 'Dockerfile'
151 - 'clover-ns-modsecurity-crs':
153 dockerdir: 'samples/services/modsecurity/docker'
154 dockerfile: 'Dockerfile'
159 dockerdir: 'clover/spark/docker/clover-spark'
160 dockerfile: 'Dockerfile'
163 - 'clover-spark-submit':
165 dockerdir: 'clover/spark/docker/spark-submit'
166 dockerfile: 'Dockerfile'
171 dockerdir: 'clover/clovisor'
172 dockerfile: 'Dockerfile'
183 - 'dovetail-webportal-api':
184 project: 'dovetail-webportal'
185 dockerfile: 'Dockerfile.api'
188 - 'dovetail-webportal-web':
189 project: 'dovetail-webportal'
190 dockerfile: 'Dockerfile.web'
193 - 'dovetail-webportal-web-onap':
194 project: 'dovetail-webportal'
195 dockerfile: 'Dockerfile.web'
196 extra_build_args: 'CONTAINER=onap GUI=onap-ui'
206 dockerfile: 'web/Dockerfile'
212 dockerfile: 'worker/Dockerfile'
218 dockerfile: 'docker/Dockerfile.local'
223 dockerdir: 'contrib/nettest'
228 dockerdir: 'docker/storperf-master'
231 <<: *storperf-receivers
232 - 'storperf-graphite':
234 dockerdir: 'docker/storperf-graphite'
237 <<: *storperf-receivers
238 - 'storperf-httpfrontend':
240 dockerdir: 'docker/storperf-httpfrontend'
243 <<: *storperf-receivers
244 - 'storperf-reporting':
246 dockerdir: 'docker/storperf-reporting'
249 <<: *storperf-receivers
250 - 'storperf-swaggerui':
252 dockerdir: 'docker/storperf-swaggerui'
255 <<: *storperf-receivers
259 <<: *yardstick-receivers
260 - 'yardstick-ubuntu-18.04':
262 dockerfile: 'Dockerfile_ubuntu18'
264 <<: *yardstick-receivers
265 - 'yardstick-image-k8s':
267 dockerdir: 'docker/k8s'
269 <<: *yardstick-receivers
271 # projects with jobs for hunter
274 dockerdir: 'docker/barometer-dma'
277 - 'barometer-collectd':
279 dockerdir: 'docker/barometer-collectd'
282 - 'barometer-collectd-master':
285 dockerfile: 'docker/barometer-collectd-master/Dockerfile'
288 - 'barometer-grafana':
290 dockerdir: 'docker/barometer-grafana'
293 - 'barometer-influxdb':
295 dockerdir: 'docker/barometer-influxdb'
300 dockerdir: 'docker/barometer-kafka'
305 dockerdir: 'docker/barometer-ves'
310 dockerdir: 'docker/barometer-snmp'
314 project: 'bottlenecks'
319 dockerdir: 'docker/storperf-master'
322 <<: *storperf-receivers
323 - 'storperf-graphite':
325 dockerdir: 'docker/storperf-graphite'
328 <<: *storperf-receivers
329 - 'storperf-httpfrontend':
331 dockerdir: 'docker/storperf-httpfrontend'
334 <<: *storperf-receivers
335 - 'storperf-reporting':
337 dockerdir: 'docker/storperf-reporting'
340 <<: *storperf-receivers
341 - 'storperf-swaggerui':
343 dockerdir: 'docker/storperf-swaggerui'
346 <<: *storperf-receivers
350 <<: *yardstick-receivers
351 # yamllint enable rule:key-duplicates
353 - "{dockerrepo}-docker-build-push-{stream}"
357 name: opnfv-monitor-docker # projects which only monitor dedicated file or path
359 dockerfile: "Dockerfile"
365 # projects with jobs for master
371 - '{project}-docker-build-push-monitor-{stream}'
373 ########################
375 ########################
377 name: '{dockerrepo}-docker-build-push-{stream}'
379 disabled: '{obj:disabled}'
381 parameters: ¶meters
385 - 'opnfv-build-ubuntu-defaults'
389 description: "To enable/disable pushing the image to Dockerhub."
391 name: DOCKER_REPO_NAME
392 default: "opnfv/{dockerrepo}"
393 description: "Dockerhub repo to be pushed to."
396 default: "{dockerdir}"
397 description: "Directory containing files needed by the Dockerfile"
401 description: "commit id to make a snapshot docker image"
405 description: "Docker tag to be built, e.g. refs/tags/5.0.0, refs/tags/opnfv-5.0.0, refs/tags/5.0.RC1"
408 default: "{dockerfile}"
409 description: "Dockerfile to use for creating the image."
412 default: "{arch_tag}"
413 description: "If set, this value will be added to the docker image tag as a prefix"
415 name: EXTRA_BUILD_ARGS
416 default: "{extra_build_args}"
417 description: "Whitespace separated key=value pairs. If set, these args will be used to build docker image"
429 !include-raw-escape: ./opnfv-docker.sh
434 - gerrit-trigger-tag-created:
439 recipients: '{receivers}'
440 - email-jenkins-admins-on-failure
443 name: '{project}-docker-build-push-monitor-{stream}'
444 disabled: '{obj:disabled}'
445 parameters: *parameters
452 # trigger only matching the file name
456 - change-merged-event
457 - comment-added-contains-event:
458 comment-contains-value: 'remerge'
460 - project-compare-type: 'ANT'
461 project-pattern: '{project}'
463 - branch-compare-type: 'ANT'
464 branch-pattern: '**/{branch}'