summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-docker.yaml
AgeCommit message (Collapse)AuthorFilesLines
2019-09-10Revert "Revert "Add multiplatform jobs for policy docker images""Bengt Thuree1-0/+133
This reverts commit 764bb8283a5cbf93ca9cbb8e2dd9760e783f9a78. Re-enables the multiplatform jobs for policy docker images. Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org> Issue-ID: CIMAN-217 Change-Id: I34b81f193e6286792ace75be2a64f1a8ed19c9d8
2019-09-06Revert "Add multiplatform jobs for policy docker images"Jessica Wagantall1-133/+0
This reverts commit 866558d317feb1171c4a40d9ff63f9dc99cd4a6d. Looks like this commit is causing build failures in jjb during the merge: ci-management-jjb-merge/1756/console.log.gz Change-Id: I4384ab0a5ef50b2551efb19bc41bc9b000a8748e Issue-ID: CIMAN-217 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-09-06Add multiplatform jobs for policy docker imagesPaul Vaduva1-0/+133
Add three global templates needed to build multiarch images: - {project-name}-docker-manifest-{stream}: creates a docker manifest list with images for multiple architectures by calling docker_push_manifest.sh - {project-name}-multiarch-docker-stage-{stream}: multijob that uses the global-jjb template {project-name}-maven-docker-stage-{stream} to produce staging images for each supported arch and a manifest list for them - {project-name}-multiarch-{stream}-merge-java: multijob that uses the existing {project-name}-{stream}-merge-java template to produce snapshot images for each suppported arch and a manifest list for them The policy/docker project jobs are modified to use the new multiarch templates. All images are now pushed to DockerHub instead of Nexus (as Nexus lacks support for docker manifest list). Cancel the triggers for child jobs, as they will be triggered by the parent multiarch job. For the jobs that build images, use registry registry-1.docker.io as a workaround for [1]. Enable the multiarch jobs only for the master branch for now. [1] https://github.com/fabric8io/docker-maven-plugin/issues/838 Issue-ID: CIMAN-217 Change-Id: Ibd00d24bb70ef51f761005016b7baea4ef66a0a5 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2019-05-14Upgrade global-jjbJessica Wagantall1-0/+7
Upgrade to fetch gerrit-maven-docker jobs Add global default submodule-disable: false to allow submodule operations Add submodule-disable: '{submodule-disable}' for templates using the lf-infra-gerrit-scm macro. Change-Id: I27c2b1f4442e0c05d07de64d53791e6b193ebef0 Issue-ID: CIMAN-240 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-29Fetch CLM updates from global-jjbJessica Wagantall1-0/+7
This reverts commit d0e846cb0025bf9f68ce363cfdd42fa403d95968. Fetch lastest HEAD of global-jjb now that lftools 0.18.0 has been released. Localy used lf-infra-gerrit-scm macros need to be updated to add a "submodule-timeout" value as part of global-jjb: commit 9fdb611f1fce34d54be1af81d7baedb86726302c. Issue-ID: CIMAN-33 Change-Id: Ib29b625bb63e1c03988b23122b3157e62de3fa03 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-23Merge "Fix global-templates unstable jobs"Anil Belur1-0/+14
2018-10-22Revert "Fetch CLM updates from global-jjb"Gildas Lanilis1-7/+0
Issue-ID: CIMAN-33 This reverts commit 8347dc8797721948bae806eec936ef24137a512e. Change-Id: I6ef5f5138f65360d57abd6d3000c00f24c8f60e5 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
2018-10-22Fix global-templates unstable jobsJessica Wagantall1-0/+14
Add lf-infra-pre-build build step in local global-templates to successfully install lftools and avoid unstable jobs. Change-Id: I1a41e121b810371c1be987aaafec3c4b0aaa5e89 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-22Fetch CLM updates from global-jjbJessica Wagantall1-0/+7
Update global-jjb submodule to HEAD to fetch submodule-timeout feature. Add submodule-timeout on local jjb templates using the lf-infra-gerrit-scm macro as the global-jjb upgrade has this breaking change. Change-Id: I15e478d0c44f11eba4f98400e726d5c8dd6616d1 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-09-28Spread out the scheduling of Daily jobsGary Wu1-2/+2
Spread the scheduling of Daily jobs throughout the day to reduce resource contention. Change-Id: I2b2606b4022c1d9f882bfe95b439b021b17f362e Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-06-29Fix cascade build references for docker.Denes Nemeth1-7/+7
The parent jobs that trigger the docker build may reside in different jenkins job structure. Adding a parameter to configure the parent job that should trigger the build. Change-Id: I796976c97abc77feea1c9625c11023802ef2f54d Issue-ID: VFC-728 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
2018-06-25Support cascade triggered docker images.Denes Nemeth1-0/+345
Add new templates for building Docker images that are triggered by the job that builds the artifacts that is required to build the Docker image. Change-Id: Iafd46c6814971949223ef2d7b03d1fbbbda1a9fa Issue-ID: VFC-728 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
2018-06-10Add template to build release docker imageDenes Nemeth1-0/+50
The release docker image is built from artifacts in the release repo. This job is only triggered manually by Linux foundation, when a release needs to be built. The release builder still publishes to the staging repo. The images is planed to be moved from staging repo to the release repo manually. Change-Id: I943494d6826aa8f4e9186faa8c82377aa8c5b09f Issue-ID: VFC-728 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
2018-05-16Store staging and snapshot artifict in same repoDenes Nemeth1-2/+8
ONAP community is not using the a separate repo for storing snapshot and staging artifacts. The change parameterises the docker build to be able to separately control the target repository and the build artifact type (snapshot / staging). It will also store the staging and snapshots in the same repo (10003). Change-Id: I505023a7cdab90fa8ecfeb540f6306f0e19c3d6d Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-728
2018-04-03Add missing 'files' parameterJessica Wagantall1-1/+2
Add missing 'files' parameter in docker jobs. The triggers for patch submmitted and patch merged had changed to allow users to specify the parameter 'files' that they want to track in their triggers. Docker jobs needed to be updated as well. Change-Id: Ie30fa3142c03eeb60047c74ad6cd707126e3129d Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-03Add global docker jobsJessica Wagantall1-0/+344
Add global build and push jobs for docker images Set proper docker tag convention for snapshot and staging binaries. Change-Id: I0e805b5c9eebac6aaea627d855d7b542158b6a0f Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>