summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-golang.yaml
AgeCommit message (Collapse)AuthorFilesLines
2021-01-26Remove obsolete docker templatesLasse Kaihlavirta1-54/+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-8/+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-3/+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-24Remove golang docker snapshot PoC job triggersLasse Kaihlavirta1-8/+0
- remove daily scheduling and manual release triggers from snapshot docker PoC job template for golang - daily schedule is not needed - releasing should have nothing to do with snapshot images Issue-ID: INT-1775 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: Ifcdd839ea42577c3f3d27f97ba7da64269ab0ad8
2020-11-20Add unified merge PoC job templatesLasse Kaihlavirta1-1/+1
- 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-11-17Differentiate CSIT PoC jobs and templatesLasse Kaihlavirta1-2/+63
- restore {project-name}-{stream}-docker-golang-shell-daily template to its original state - separate all new templates related to CSIT redesign by "PoC" postfix - pass CSIT jobs to be triggered to the template with explicit "jobs_to_trigger" list - define UNIQUE_DOCKER_TAG as input parameter to CSIT template Issue-ID: INT-1760 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I6eef5bf407d5c89406d1b19d7d931d9d00092908
2020-11-10Apply given unique docker tag to imageLasse Kaihlavirta1-1/+2
- add input parameter to docker job and pass it to the build script (which has the requirement to use it to use it to tag any images it creates and pushes to Nexus) - this commit has no practical effect on music docker build until https://gerrit.onap.org/r/c/music/distributed-kv-store/+/114637 is merged Issue-ID: INT-1760 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I7ed89081e7d399c46ec875659d4c022a85dbce54
2020-03-31Migrate to ubuntu1804-dockerJessica Wagantall1-1/+1
Migrate the rest of the jobs from ubuntu1604-docker to ubuntu1804-docker Remove unused nodes Issue-ID: CIMAN-373 Change-Id: Idec34497cec90f650336cdd2dcfc8aaae2bcd2ec Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-03-24Add subproject support for golang verify jobBartek Grzybowski1-1/+7
A descendant 'verify-golang' job is created using yaml anchors for common job boilerplate. Build minion gets changed to a Docker based one as some projects depend on it on build time. Build script is displaced so that it supports JJB variable interpolation. Change-Id: I0af4235287b58a251e399a90703ac3ffffc07338 Issue-ID: INT-1498 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-02-12Upgrade verify-golang job templateBartek Grzybowski1-2/+10
Added option to trigger job based on file pattern. Added option to trigger custom build script. Change-Id: I5c23752a921b64fe08457ca410eb46f226b22140 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1436
2018-10-24Add golangver allowing projects to pick go versionKiran Kamineni1-3/+18
Adding a new golangver variable that is by default set to golang110. Projects do not need to do anything for this. Any project that wants to move to 1.11 just needs to set this variable to golang111 Issue-ID: CIMAN-216 Change-Id: Ia5a5a7dfbc94549726ed97ebc63e5562c19db513 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-23Add golang 1.11 wrapperKiran Kamineni1-3/+3
Add support for golang 1.11 renamed old golang to golang110 Issue-ID: CIMAN-216 Change-Id: I771f8291b376d4406fd530bf97bb882171f1c936 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-22Fix global-templates unstable jobsJessica Wagantall1-1/+4
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-09-28Spread out the scheduling of Daily jobsGary Wu1-1/+1
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-03-21Adding support to use golang jenkins pluginKiran Kamineni1-8/+3
Jenkins server has the golang plugin installed for version 1.10. Modifying the template to use that so that future template definitions do not need to download golang each time. This reduces total build time and network bandwidth usage. Issue-ID: AAF-184 Change-Id: Ib91f4fb8aa8845bd20d98ba636dffcadf34da297 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-03-15Adding template for building docker imagesKiran Kamineni1-0/+54
Adding a template in the global golang template for building and pushing docker images to nexus Issue-ID: AAF-100 Change-Id: I10dc95e005c17a054b366f5cd5fd7c1179ed8c3d Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-02-26Using 1.10 for merge job as wellKiran Kamineni1-2/+2
Using 1.10 for merge jobs as well in build Issue-ID: AAF-117 Change-Id: Ifc0aeffb9271ce3ae29142faf9cb92246b335e1c Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-02-20Upgrading to golang version 1.10Kiran1-2/+2
Upgrading the golang version in the template from 1.9.4 to 1.10 This release includes many fixes to go get which reduces download sizes in builds Issue-ID: AAF-117 Change-Id: I2a36de0302f419097e8ae98dac8c084c04adf659 Signed-off-by: Kiran <kiran.k.kamineni@intel.com>
2018-02-12JJB templates for golangKiran1-0/+123
Adding a golang template to support golang builds This template supports verify and merge jobs right now Verify calls make build and merge calls make deploy. These calls are made in the path provided by the specific jjb file Issue-ID: AAF-117 Change-Id: I369c0868389d8ed52ac7c82da5ef6d249e64eb7c Signed-off-by: Kiran <kiran.k.kamineni@intel.com>