summaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2018-01-22xci: Always clone releng-xci into WORKSPACE for merge jobsFatih Degirmenci1-1/+6
The cloning of the correct version of the repo which the scenario resides in will be handled by get-opnfv-scenario-requirements.yml for all the scenarios. The change proposed for merge jobs will be reflected to verify jobs as well once it is verified with this. Change-Id: Icaa99a8b9e981c839969ce556e5af6a9ef6d9da8 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-22xci sfc: Enable post merge deploymentFatih Degirmenci2-19/+34
This change enables the deployment upon merge of a change. Followup patches will incorporate functest smoke and promotion which the promotion will most likely be the first one as functest parts are a bit tricky due to failures while running testing in VMs. Apart from the enablement of the deployments, job concurrency is disabled as well since we should only test one change at a time and attempt promotion for any scenario in order to ensure we keep the promotion consistent. Change-Id: Ib4b5754b6b88f42eab83c656e03773c83068016f Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-22xci: Convert execute shell scripts to external scriptsFatih Degirmenci5-77/+128
The scripts used by verify jobs to create VMs, start deployments, run functest, and do cleanup for CI can be reused by other jobs as well so they are moved out of the yaml file. Apart from that, if we decide to change the way we run CI (not using VMs for performance reasons), we don't have to make big changes to yaml either. Change-Id: I2df1f2d60f999bcd7d53a5cd879112a5b2b0ca05 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-19Merge "RFC: Set the basic structure for post merge jobs"Fatih Degirmenci1-0/+252
2018-01-18Merge "Disable the triggers for euphrates in armband"Aric Gardner1-4/+4
2018-01-18Disable the triggers for euphrates in armbandCristina Pauna1-4/+4
Change-Id: I738b4eb712bc85ee3327a9be55f4990000ff28c8 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-01-18[daisy] delete tmp dir with sudoAlex Yang1-1/+1
Permission denied occured in [1]. [1]: https://build.opnfv.org/ci/job/daisy-deploy-zte-pod9-daily-master/7/console Change-Id: Ic7e67eed8a121cae0ea2c05ab4cc9005358fcda5 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-01-17Merge "Create job to deploy Pharos Dashboard"Trevor Bramwell1-0/+35
2018-01-17Merge "bugfix: pass functest parameters to builders"Ryota Mibu1-54/+62
2018-01-17bugfix: pass functest parameters to buildersdongwenjuan1-54/+62
As doctor CI failed: https://build.opnfv.org/ci/job/doctor-verify-apex-sample-build-x86_64-master/24/console Functest parameters can not passed to 'functest-suite-builder' to build the job Change-Id: I34039025bb77e78ce43c21ef7ec67da7583b6e39 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-16[daisy] Add '|' for more than one predefined-parametersZhijiang Hu1-3/+3
This tries to solve Job name error [1] which cause functest failure. [1] https://build.opnfv.org/ci/job/functest-daisy-baremetal-daily-master/257/console Change-Id: I89c9a00bcaf0ccb274a18339533bdd99b1134be3 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-16Merge "Docker Builds from Git Tag"Trevor Bramwell6-16/+21
2018-01-16Create job to deploy Pharos DashboardTrevor Bramwell1-0/+35
Runs docker-compose build & up to recreate containers when code changes, and redeploys the dashboard. JIRA: PHAROS-316 Change-Id: Ie83ae775c55aa9e18069b9988bfd771b5655c14b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-16Merge "The '{is-skip-vote}' is always 'true' for the jobs"Ryota Mibu1-10/+25
2018-01-16Merge "Add macro for reporting the provision result"Serena Feng3-0/+63
2018-01-15Add macro for reporting the provision resultJulien3-0/+63
1. add macro for report the provision result of installers and try it in daisy 2. update according to TestAPI interface Change-Id: Ic041744c917c37fcd84a12a92e927e39106cf18f Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-01-15Merge "Revert "container4nfv: Disable jobs until the project stops changing ↵Aric Gardner1-1/+1
docker version""
2018-01-15Revert "container4nfv: Disable jobs until the project stops changing docker ↵Fatih Degirmenci1-1/+1
version" The project fixed their build script to stop reinstalling docker which downgrades it so the jobs can be enabled back now. https://gerrit.opnfv.org/gerrit/#/c/50603/ This reverts commit c9aac428e09385a5893313a99b6af6652dafd216. Change-Id: I529850be56e30e4fdd66929809628b89e3a2ed8f
2018-01-15The '{is-skip-vote}' is always 'true' for the jobsdongwenjuan1-10/+25
fix it temporarily, will ask jjb team for this issue. Change-Id: I470f7114f74123f0419d2605837742208867753e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-12Merge "snaps: Disable snaps verify jobs to prevent jobs queueing up"Fatih Degirmenci1-1/+1
2018-01-12Merge "Update Pharos Backup Job"Trevor Bramwell1-14/+9
2018-01-12snaps: Disable snaps verify jobs to prevent jobs queueing upFatih Degirmenci1-1/+1
The POD, intel-pod20, where the slave was located doesn't exist anymore so we have no possibility to run snaps-verify jobs for the timebeing. This will be looked into once we have a new slave setup. Change-Id: Ib46ccf160cd6895aa65d6a136afeedd2f7300335 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-12container4nfv: Disable jobs until the project stops changing docker versionFatih Degirmenci1-1/+1
Container4nfv verify jobs uninstall the installed version of docker and installs the one coming from the distro which is causing issues for the other projects. Builds are disabled until the project fixes this issue. Change-Id: Ibcec9a7d3badf85193bb7115730410bb719949f9 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-12Merge "[daisy] Retry if download opnfv.bin failed"Aric Gardner1-1/+9
2018-01-12Merge "Fix 'copper' in Gerrit Trigger for Security Scan"Aric Gardner1-1/+1
2018-01-12Update Pharos Backup JobTrevor Bramwell1-14/+9
Moves the backup location to a directory that Jenkins can write to, and since this only runs a docker container there is no need to clone any repositories. Change-Id: I05b35e5d2d95c7044973d9d0e1a9d7e72c490570 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-12Fix 'copper' in Gerrit Trigger for Security ScanTrevor Bramwell1-1/+1
'copper' was incorrectly listed as 'cooper' in the gerrit trigger for the security scanning job. Fixing this will ensure patchsets against copper are scanned. Change-Id: Ie32148647638612b0da2d810c50dd5c0ea078844 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-12Remove Concurrency From JJB Merge JobTrevor Bramwell1-0/+6
Currently multiple jjb merge jobs can run at once causing a race-condition which Jenkins exposes as a 401 Unauthorized. Throttling the number of jobs in total to 1 should prevent this from happening in the future. Change-Id: I4c99d9f49db0baf26b3d077354afd2fea93d1740 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-12Remove falsy ;;Cédric Ollivier1-1/+1
It completes "Create vnf and restapi images-built job for arm" [1] which introduced a new bug. [1] https://gerrit.opnfv.org/gerrit/#/c/50465/ Change-Id: I45dcc6db65382eeb3280c719cec72c425164ab2f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-12Merge "Create vnf and restapi images-built job for arm"Jose Lausuch1-12/+8
2018-01-12Merge "Enable functest-kubernetes docker builds"Jose Lausuch1-0/+4
2018-01-11[daisy] Retry if download opnfv.bin failedZhijiang Hu1-1/+9
Download from http://build.opnfv.org/artifacts.opnfv.org may fail [1] so we need retry to make CI stable. [1] https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/374/console Change-Id: I62837038c7f124870814a68e4b87a8e89ba8c58c Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-12Create vnf and restapi images-built job for armLinda Wang1-12/+8
Change-Id: Ife5d1726680db34d5d027cd592510bdd1123a965 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-01-11Merge "Enable kubernetes test suite for compass"Trevor Bramwell2-11/+14
2018-01-11Merge "Reduce Basic Job Duplication"Trevor Bramwell16-834/+61
2018-01-11Merge "pharos: check-jinja for installer adapter changes"Trevor Bramwell1-0/+2
2018-01-11Merge "barometer: add aditional docker images to build"Trevor Bramwell1-0/+26
2018-01-11Merge "Update recipient list for arm jobs"Fatih Degirmenci1-3/+0
2018-01-11Update recipient list for arm jobsCristina Pauna1-3/+0
Change-Id: Ic40f950bfb5505c95a16edb2e71017a9edb87db2 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-01-11barometer: add aditional docker images to buildGordon Kelly1-0/+26
Change-Id: I7a4567df7fa20f6ee85b1787489645711f1b17ab
2018-01-11[daisy] Enable ovs_dpdk scenarios jobs001845322-1/+73
Change-Id: I5193285493926fcf82779f12d491a118bc83baa7 Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2018-01-10pharos: check-jinja for installer adapter changesAlexandru Avadanii1-0/+2
check-jinja should also run when the installer adapter templates are changed, not only for PDF/IDF files. Change-Id: I3453d8bfe5ef61d30ecc71a01c38e2121c1a09f8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-10Reduce Basic Job DuplicationTrevor Bramwell16-834/+61
In the initial formation of projects we found it easy to copy job definitions to provide project a baseline job config to work off. This has led to a lot of duplication and misalignment with the gerrit triggers and default build server tag to be used. Collapsing these jobs into a job-group containing the stream and a verify job per-stream, should help reduce this duplication. Change-Id: Icb366487590a145be4cbfc0637a8d86a6d9b7cec Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-10Merge "Backup Pharos Dashboard Data"Trevor Bramwell2-0/+49
2018-01-10RFC: Set the basic structure for post merge jobsFatih Degirmenci1-0/+252
This change proposes structure for post-merge jobs for the scenarios that are onboarded to XCI. The idea with these jobs is to verify the sanity of impacted scenario to find out if the version that is tested should be promoted to the next level in XCI; daily on baremetal. If it succeeds, the metadata regarding the scenario needs to be stored somewhere (artifact repo, etc.) so daily jobs can poll that location to see if there is any scenario that is worth testing on baremetal. If it fails, the scenario could be demoted instead which still requires further discussion and thinking. We might perhaps leave the metadata of the version of the scenario with previous sha as the candidate for testing instead of demoting it since we need to have working version of the scenarios at all times. Change-Id: I85d7176b16d0d6da45cd2462b0cdb990485b6b0d Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-10Merge "[daisy] Adjust the schedule of daisy master jobs"Serena Feng1-2/+2
2018-01-10Merge "add pep8 check task for doctor"Ryota Mibu1-32/+17
2018-01-10add pep8 check task for doctordongwenjuan1-32/+17
Change-Id: Ibd595748910b143ae3e9373bccf4b4e6b54dd931 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-10[daisy] Adjust the schedule of daisy master jobsAlex Yang1-2/+2
Leave more time for ODL debug. Change-Id: I614a8f8ef088f687f71405365dce6cccaaef741c Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-01-09Docker Builds from Git TagTrevor Bramwell6-16/+21
Facilitates the creation of docker images from tags pushed to Gerrit, which should remove the need to manually trigger 'tagged' builds. Fixes a typo in the 'gerrit-trigger-tag-created' macro, replaces 'RELEASE_VERSION' with 'GERRIT_REFNAME', and adds the tag-trigger to docker builds. Change-Id: I6d8f8f34b1c51d74bb98211dfae21c37cf9356fa Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>