2 ##############################################
3 # job configuration for docker build and push
4 ##############################################
16 branch: 'stable/{stream}'
20 branch: 'stable/{stream}'
24 branch: 'stable/{stream}'
28 branch: 'stable/{stream}'
30 laas-receivers: &laas_receivers
32 pberberian@iol.unh.edu
34 storperf-receivers: &storperf-receivers
37 samplevnf-receivers: &samplevnf-receivers
39 luc.provoost@intel.com
40 yury.kylulin@intel.com
41 other-receivers: &other-receivers
44 dockerfile: "Dockerfile"
49 # This is the dockerhub repo the image will be pushed to as
50 # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
51 # 'project' is the OPNFV repo we expect to contain the Dockerfile
52 # yamllint disable rule:key-duplicates
54 # projects with jobs for master
56 project: 'releng-anteater'
59 - 'barometer-collectd':
61 dockerdir: 'docker/barometer-collectd'
64 - 'barometer-collectd-experimental':
67 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
70 - 'barometer-collectd-latest':
73 dockerfile: 'docker/barometer-collectd-latest/Dockerfile'
78 dockerdir: 'docker/barometer-dma'
81 - 'barometer-grafana':
83 dockerdir: 'docker/barometer-grafana'
86 - 'barometer-influxdb':
88 dockerdir: 'docker/barometer-influxdb'
93 dockerdir: 'docker/barometer-kafka'
98 dockerdir: 'docker/barometer-ves'
103 dockerdir: 'docker/barometer-snmp'
110 - 'dovetail-webportal-api':
111 project: 'dovetail-webportal'
112 dockerfile: 'Dockerfile.api'
115 - 'dovetail-webportal-web':
116 project: 'dovetail-webportal'
117 dockerfile: 'Dockerfile.web'
120 - 'dovetail-webportal-web-onap':
121 project: 'dovetail-webportal'
122 dockerfile: 'Dockerfile.web'
123 extra_build_args: 'CONTAINER=onap GUI=onap-ui'
133 dockerfile: 'web/Dockerfile'
139 dockerfile: 'worker/Dockerfile'
144 dockerdir: 'docker/storperf-master'
147 <<: *storperf-receivers
148 - 'storperf-graphite':
150 dockerdir: 'docker/storperf-graphite'
153 <<: *storperf-receivers
154 - 'storperf-httpfrontend':
156 dockerdir: 'docker/storperf-httpfrontend'
159 <<: *storperf-receivers
160 - 'storperf-reporting':
162 dockerdir: 'docker/storperf-reporting'
165 <<: *storperf-receivers
166 - 'storperf-swaggerui':
168 dockerdir: 'docker/storperf-swaggerui'
171 <<: *storperf-receivers
172 - 'storperf-workloadagent':
174 dockerdir: 'docker/storperf-workloadagent'
177 <<: *storperf-receivers
180 dockerdir: 'VNFs/DPPD-PROX/helper-scripts/rapid'
182 <<: *samplevnf-receivers
184 # projects with jobs for hunter
190 # projects with jobs for iruya
193 dockerdir: 'docker/storperf-master'
196 <<: *storperf-receivers
197 - 'storperf-graphite':
199 dockerdir: 'docker/storperf-graphite'
202 <<: *storperf-receivers
203 - 'storperf-httpfrontend':
205 dockerdir: 'docker/storperf-httpfrontend'
208 <<: *storperf-receivers
209 - 'storperf-reporting':
211 dockerdir: 'docker/storperf-reporting'
214 <<: *storperf-receivers
215 - 'storperf-swaggerui':
217 dockerdir: 'docker/storperf-swaggerui'
220 <<: *storperf-receivers
221 - 'storperf-workloadagent':
223 dockerdir: 'docker/storperf-workloadagent'
226 <<: *storperf-receivers
228 # projects with jobs for jerma
229 - 'barometer-collectd':
231 dockerdir: 'docker/barometer-collectd'
234 - 'barometer-collectd-experimental':
237 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
240 - 'barometer-collectd-latest':
243 dockerfile: 'docker/barometer-collectd-latest/Dockerfile'
248 dockerdir: 'docker/barometer-dma'
251 - 'barometer-grafana':
253 dockerdir: 'docker/barometer-grafana'
256 - 'barometer-influxdb':
258 dockerdir: 'docker/barometer-influxdb'
263 dockerdir: 'docker/barometer-kafka'
268 dockerdir: 'docker/barometer-ves'
273 dockerdir: 'docker/barometer-snmp'
277 # projects with jobs for kali
278 - 'barometer-collectd':
280 dockerdir: 'docker/barometer-collectd'
283 - 'barometer-collectd-experimental':
286 dockerfile: 'docker/barometer-collectd-experimental/Dockerfile'
289 - 'barometer-collectd-latest':
292 dockerfile: 'docker/barometer-collectd-latest/Dockerfile'
297 dockerdir: 'docker/barometer-dma'
300 - 'barometer-grafana':
302 dockerdir: 'docker/barometer-grafana'
305 - 'barometer-influxdb':
307 dockerdir: 'docker/barometer-influxdb'
312 dockerdir: 'docker/barometer-kafka'
317 dockerdir: 'docker/barometer-ves'
322 dockerdir: 'docker/barometer-snmp'
326 # yamllint enable rule:key-duplicates
328 - "{dockerrepo}-docker-build-push-{stream}"
330 ########################
332 ########################
334 name: '{dockerrepo}-docker-build-push-{stream}'
336 disabled: '{obj:disabled}'
338 parameters: ¶meters
342 - 'opnfv-build-ubuntu-defaults'
346 description: "To enable/disable pushing the image to Dockerhub."
348 name: DOCKER_REPO_NAME
349 default: "opnfv/{dockerrepo}"
350 description: "Dockerhub repo to be pushed to."
353 default: "{dockerdir}"
354 description: "Directory containing files needed by the Dockerfile"
358 description: "commit id to make a snapshot docker image"
362 description: "Docker tag to be built, e.g. refs/tags/5.0.0, refs/tags/opnfv-5.0.0, refs/tags/5.0.RC1"
365 default: "{dockerfile}"
366 description: "Dockerfile to use for creating the image."
369 default: "{arch_tag}"
370 description: "If set, this value will be added to the docker image tag as a prefix"
372 name: EXTRA_BUILD_ARGS
373 default: "{extra_build_args}"
374 description: "Whitespace separated key=value pairs. If set, these args will be used to build docker image"
386 !include-raw-escape: ./opnfv-docker.sh
391 - gerrit-trigger-tag-created:
396 recipients: '{receivers}'
397 - email-jenkins-admins-on-failure