2 ##############################################
3 # job configuration for docker build and push
4 ##############################################
16 branch: 'stable/{stream}'
21 slave_label: 'opnfv-build-ubuntu'
23 slave_label: 'opnfv-build-ubuntu-arm'
25 # yamllint disable rule:key-duplicates
36 # settings for jobs run in multijob phases
37 build-job-settings: &build-job-settings
38 current-parameters: false
41 predefined-parameters: |
42 PUSH_IMAGE=$PUSH_IMAGE
44 RELEASE_VERSION=$RELEASE_VERSION
45 DOCKERFILE=$DOCKERFILE
47 kill-phase-on: FAILURE
50 manifest-job-settings: &manifest-job-settings
51 current-parameters: false
54 predefined-parameters: |
55 RELEASE_VERSION=$RELEASE_VERSION
57 kill-phase-on: FAILURE
60 # yamllint enable rule:key-duplicates
62 - "functest-docker-build-push-{arch_tag}-{stream}"
63 - "functest-{image}-build-push-{arch_tag}-{stream}"
64 - "functest-{image}-create-manifest-{arch_tag}-{stream}"
65 ########################
67 ########################
69 name: 'functest-docker-build-push-{arch_tag}-{stream}'
71 project-type: multijob
73 disabled: '{obj:disabled}'
79 slave_label: '{slave_label}'
80 arch_tag: '{arch_tag}'
84 description: "If set, this value will be added to the docker image tag as a prefix"
100 name: 'build-base-img-create-manifest'
101 execution-type: SEQUENTIAL
103 - name: 'functest-core-build-push-{stream}'
104 <<: *build-job-settings
105 - name: 'functest-core-create-manifest-{stream}'
106 <<: *manifest-job-settings
108 name: 'build-child-img'
109 condition: SUCCESSFUL
110 execution-type: PARALLEL
112 - name: 'functest-healthcheck-build-push-{stream}'
113 <<: *build-job-settings
114 - name: 'functest-features-build-push-{stream}'
115 <<: *build-job-settings
116 - name: 'functest-components-build-push-{stream}'
117 <<: *build-job-settings
118 - name: 'functest-parser-build-push-{stream}'
119 <<: *build-job-settings
120 - name: 'functest-smoke-build-push-{stream}'
121 <<: *build-job-settings
122 - name: 'functest-vnf-build-push-{stream}'
123 <<: *build-job-settings
124 - name: 'functest-restapi-build-push-{stream}'
125 <<: *build-job-settings
127 name: 'create-img-manifest'
128 condition: SUCCESSFUL
129 execution-type: PARALLEL
131 - name: 'functest-healthcheck-create-manifest-{stream}'
132 <<: *manifest-job-settings
133 - name: 'functest-features-create-manifest-{stream}'
134 <<: *manifest-job-settings
135 - name: 'functest-components-create-manifest-{stream}'
136 <<: *manifest-job-settings
137 - name: 'functest-parser-create-manifest-{stream}'
138 <<: *manifest-job-settings
139 - name: 'functest-smoke-create-manifest-{stream}'
140 <<: *manifest-job-settings
141 - name: 'functest-vnf-create-manifest-{stream}'
142 <<: *manifest-job-settings
143 - name: 'functest-restapi-create-manifest-{stream}'
144 <<: *manifest-job-settings
147 - 'functest-{arch_tag}-recipients'
151 name: 'functest-{image}-build-push-{arch_tag}-{stream}'
153 disabled: '{obj:disabled}'
159 slave_label: '{slave_label}'
160 arch_tag: '{arch_tag}'
162 name: DOCKER_REPO_NAME
163 default: "opnfv/functest-{image}"
164 description: "Dockerhub repo to be pushed to."
167 default: "docker/{image}"
168 description: "Directory containing files needed by the Dockerfile"
178 - 'functest-{arch_tag}-recipients'
182 !include-raw-escape: ./opnfv-docker.sh
186 name: 'functest-{image}-create-manifest-{arch_tag}-{stream}'
188 disabled: '{obj:disabled}'
194 slave_label: '{slave_label}'
195 arch_tag: '{arch_tag}'
197 name: DOCKER_REPO_NAME
198 default: "opnfv/functest-{image}"
199 description: "Dockerhub repo to be pushed to."
202 default: "docker/{image}"
203 description: "Directory containing files needed by the Dockerfile"
207 !include-raw-escape: ./opnfv-manifest.sh
217 - 'functest-{arch_tag}-recipients'
228 default: '{slave_label}'
229 description: 'Slave label on Jenkins'
232 default: https://gerrit.opnfv.org/gerrit/$PROJECT
233 description: 'Git URL to use on this Jenkins Slave'
237 description: "To enable/disable pushing the image to Dockerhub."
241 description: "commit id to make a snapshot docker image"
243 name: RELEASE_VERSION
245 description: "Docker tag to be built, e.g. 5.0.0, opnfv-5.0.0, 5.0.RC1"
248 default: "Dockerfile"
249 description: "Dockerfile to use for creating the image."
252 default: "{arch_tag}"
253 description: "If set, this value will be added to the docker image tag as a prefix"
257 description: "Project name used to enable job conditions"
261 name: 'functest-arm64-recipients'
265 cristina.pauna@enea.com
266 alexandru.avadanii@enea.com
267 delia.popescu@enea.com
270 name: 'functest-amd64-recipients'
274 jalausuch@suse.com morgan.richomme@orange.com
275 cedric.ollivier@orange.com feng.xiaowei@zte.com.cn
276 juha.kosonen@nokia.com wangwulin@huawei.com