1 ##############################################
2 # job configuration for docker build and push
3 ##############################################
15 branch: 'stable/{stream}'
19 branch: 'stable/{stream}'
21 functest-receivers: &functest-receivers
23 jalausuch@suse.com morgan.richomme@orange.com
24 cedric.ollivier@orange.com feng.xiaowei@zte.com.cn
25 juha.kosonen@nokia.com wangwulin@huawei.com
26 storperf-receivers: &storperf-receivers
29 other-receivers: &other-receivers
32 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
40 # projects with jobs for master
42 project: 'releng-anteater'
46 project: 'bottlenecks'
60 <<: *functest-receivers
71 dockerdir: 'docker/storperf-master'
74 <<: *storperf-receivers
75 - 'storperf-graphite':
77 dockerdir: 'docker/storperf-graphite'
80 <<: *storperf-receivers
81 - 'storperf-httpfrontend':
83 dockerdir: 'docker/storperf-httpfrontend'
86 <<: *storperf-receivers
87 - 'storperf-reporting':
89 dockerdir: 'docker/storperf-reporting'
92 <<: *storperf-receivers
93 - 'storperf-swaggerui':
95 dockerdir: 'docker/storperf-swaggerui'
98 <<: *storperf-receivers
103 # projects with jobs for Danube
105 project: 'bottlenecks'
116 # projects with jobs for euphrates
120 <<: *functest-receivers
123 dockerdir: 'docker/core'
125 <<: *functest-receivers
126 - 'functest-healthcheck':
128 dockerdir: 'docker/healthcheck'
130 <<: *functest-receivers
133 dockerdir: 'docker/smoke'
135 <<: *functest-receivers
136 - 'functest-features':
138 dockerdir: 'docker/features'
140 <<: *functest-receivers
141 - 'functest-components':
143 dockerdir: 'docker/components'
145 <<: *functest-receivers
148 dockerdir: 'docker/vnf'
150 <<: *functest-receivers
153 dockerdir: 'docker/parser'
155 <<: *functest-receivers
156 - 'functest-restapi':
158 dockerdir: 'docker/restapi'
160 <<: *functest-receivers
163 dockerdir: 'docker/storperf-master'
166 <<: *storperf-receivers
167 - 'storperf-graphite':
169 dockerdir: 'docker/storperf-graphite'
172 <<: *storperf-receivers
173 - 'storperf-httpfrontend':
175 dockerdir: 'docker/storperf-httpfrontend'
178 <<: *storperf-receivers
179 - 'storperf-reporting':
181 dockerdir: 'docker/storperf-reporting'
184 <<: *storperf-receivers
185 - 'storperf-swaggerui':
187 dockerdir: 'docker/storperf-swaggerui'
190 <<: *storperf-receivers
197 - "{dockerrepo}-docker-build-push-{stream}"
202 name: opnfv-monitor-docker # projects which only monitor dedicated file or path
204 dockerfile: "Dockerfile"
209 # projects with jobs for master
214 dockerrepo: 'escalator'
218 - '{project}-docker-build-push-monitor-{stream}'
220 ########################
222 ########################
224 name: '{dockerrepo}-docker-build-push-{stream}'
226 disabled: '{obj:disabled}'
228 parameters: ¶meters
232 - 'opnfv-build-ubuntu-defaults'
236 description: "To enable/disable pushing the image to Dockerhub."
238 name: DOCKER_REPO_NAME
239 default: "opnfv/{dockerrepo}"
240 description: "Dockerhub repo to be pushed to."
243 default: "{dockerdir}"
244 description: "Directory containing files needed by the Dockerfile"
248 description: "commit id to make a snapshot docker image"
250 name: RELEASE_VERSION
252 description: "Release version, e.g. 1.0, 2.0, 3.0"
255 default: "{dockerfile}"
256 description: "Dockerfile to use for creating the image."
259 default: "{arch_tag}"
260 description: "If set, this value will be added to the docker image tag as a prefix"
272 !include-raw-escape: ./opnfv-docker.sh
280 recipients: '{receivers}'
281 - email-jenkins-admins-on-failure
284 name: '{project}-docker-build-push-monitor-{stream}'
285 disabled: '{obj:disabled}'
286 parameters: *parameters
291 # trigger only matching the file name
295 - change-merged-event
296 - comment-added-contains-event:
297 comment-contains-value: 'remerge'
299 - project-compare-type: 'ANT'
300 project-pattern: '{project}'
302 - branch-compare-type: 'ANT'
303 branch-pattern: '**/{branch}'