1 ##############################################
2 # job configuration for docker build and push
3 ##############################################
15 branch: 'stable/{stream}'
17 functest-receivers: &functest-receivers
19 jose.lausuch@ericsson.com morgan.richomme@orange.com
20 cedric.ollivier@orange.com feng.xiaowei@zte.com.cn
21 yaohelan@huawei.com helanyao@gmail.com
22 juha.kosonen@nokia.com
23 other-receivers: &other-receivers
26 dockerfile: "Dockerfile"
29 # This is the dockerhub repo the image will be pushed to as
30 # 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
31 # 'project' is the OPNFV repo we expect to contain the Dockerfile
33 # projects with jobs for master
35 project: 'releng-anteater'
39 project: 'bottlenecks'
53 <<: *functest-receivers
60 dockerdir: 'docker/storperf-master'
63 - 'storperf-httpfrontend':
65 dockerdir: 'docker/storperf-httpfrontend'
68 - 'storperf-reporting':
70 dockerdir: 'docker/storperf-reporting'
77 # projects with jobs for stable
79 project: 'bottlenecks'
85 <<: *functest-receivers
100 - "{dockerrepo}-docker-build-push-{stream}"
105 name: opnfv-monitor-docker # projects which only monitor dedicated file or path
107 dockerfile: "Dockerfile"
111 # projects with jobs for master
116 dockerrepo: 'escalator'
120 - '{project}-docker-build-push-monitor-{stream}'
122 ########################
124 ########################
126 name: '{dockerrepo}-docker-build-push-{stream}'
128 disabled: '{obj:disabled}'
130 parameters: ¶meters
134 - 'opnfv-build-ubuntu-defaults'
138 description: "To enable/disable pushing the image to Dockerhub."
140 name: DOCKER_REPO_NAME
141 default: "opnfv/{dockerrepo}"
142 description: "Dockerhub repo to be pushed to."
145 default: "{dockerdir}"
146 description: "Directory containing files needed by the Dockerfile"
150 description: "commit id to make a snapshot docker image"
152 name: RELEASE_VERSION
154 description: "Release version, e.g. 1.0, 2.0, 3.0"
157 default: "{dockerfile}"
158 description: "Dockerfile to use for creating the image."
165 !include-raw-escape: ./opnfv-docker.sh
173 recipients: '{receivers}'
176 name: '{project}-docker-build-push-monitor-{stream}'
177 disabled: '{obj:disabled}'
178 parameters: *parameters
183 # trigger only matching the file name
187 - change-merged-event
188 - comment-added-contains-event:
189 comment-contains-value: 'remerge'
191 - project-compare-type: 'ANT'
192 project-pattern: '{project}'
194 - branch-compare-type: 'ANT'
195 branch-pattern: '**/{branch}'