summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-docker.yaml
AgeCommit message (Collapse)AuthorFilesLines
2021-01-26Remove obsolete docker templatesLasse Kaihlavirta1-48/+0
- remove obsolete templates related to docker building and tagging in discarded version of review and merge verification jobs Issue-ID: INT-1823, INT-1833 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I1d584952ea94565f62ea7031f248a49f8f7e72d0
2021-01-14Deprecate infra-shiplogs macroJessica Wagantall1-3/+4
We should be using lf-infra-publish as a publisher macro. This global-jjb macro performs a job-cost run that we need to report for all jobs. Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Iff43723322ac7eb92f1e9e93e49dfe9595af6450
2020-11-27Rename project-specific CSIT PoC jobsLasse Kaihlavirta1-2/+3
- remove PoC postfixes and rename the templates properly - update changed names to music jobs - add comments to identify all relevant templates as parts of project-specific CSIT flow Issue-ID: INT-1794 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: Ib4fb99a9aeb14215346802a4aee158e0a07eb5eb
2020-11-20Add unified merge PoC job templatesLasse Kaihlavirta1-0/+49
- add PoC templates for unified merge and docker image STAGING jobs - unified merge job is triggered by merge submit trigger - the triggered docker build and CSIT are based on master - use the templates in music - restore the original {project-name}-{stream}-docker-golang-shell-daily music job - remove unsupported "condition" parameters from trigger-jobs - change project-specific CSIT to a single job that triggers all the plans under the project - change snapshot docker build to a single job that is named by artifact type (in music's case golang) - these changes should not be applied before integration/csit commit https://gerrit.onap.org/r/c/integration/csit/+/115170 is merged! Issue-ID: INT-1783 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: If838b264a82069504817bcf2612011c33e3d26f2
2020-10-05Cleanup unused docker templatesJessica Wagantall1-605/+0
These outdated templates were replaced by global-jjb ones. Change-Id: Ia8866493ddea123f434de795b3d912da771f5fb9 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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>