summaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2018-01-24[doctor] fix node-label settingRyota MIBU2-74/+21
Current doctor verify jobs need to be run on relevant pods which are specified by slave-label. But, after multijob introduced, the parameter is not passed to children jobs. Also, 'phase' of project is misleading, as it isn't multijob's phase. This patch makes sure each doctor job run on correct pod by updating node label rule for doctor pod to 'doctor-{installer}-{arch}'. This patch also merges doctor slave parameter definitions into one, and deletes unnecessary setting where default are set. Change-Id: Ic9bf218ae7fb4f9866b510efd1e0ccd19277b78e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2018-01-24Merge "Add GERRIT_REFSPEC to 'project-parameter' Macro"Ryota Mibu4-12/+4
2018-01-24Merge "[daisy] Skip signing kolla images"Serena Feng1-26/+0
2018-01-24Merge "Add lf-pod4 and lf-pod5 to slave params"Ryota Mibu1-0/+38
2018-01-23Output version before Docker buildsTrevor Bramwell1-2/+2
Its helpful to know which version of docker is being used to build a project when debugging build failures. Change-Id: I2bb9c5386d1d69e61c4477913f5f0162acd0c47d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-23Merge "Disable Interactivity for and enable Pharos Backup"Trevor Bramwell1-1/+3
2018-01-23Add GERRIT_REFSPEC to 'project-parameter' MacroTrevor Bramwell4-12/+4
GERRIT_REFSPEC is always passed by the gerrit-trigger plugin when a job is triggered by Gerrit. Because it is not explicily defined, there is no way to manually trigger jobs, as the git clone looks up the list of refs by GERRIT_REFSPEC. Being able to manually trigger jobs (with node parameters so they can be restricted) is very helpful in debugging CI issues. Change-Id: I8a1d9ea380902fc95f30482e5acb616347709ab1 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-23Merge "docker: update name and dockerfile location for barometer collectd ↵Fatih Degirmenci1-11/+6
image. change build directory to fix build's copy errors "
2018-01-23xci: Skip jobs if the scenario is not supported on a distroFatih Degirmenci4-0/+28
Change-Id: I22d2327558ee1d19d04775da6abf1b3eed5b357a Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-22xci: Do not clone and checkout scenario repo if it is releng-xciFatih Degirmenci1-1/+1
Change-Id: I48cdbfbd5b7746e75565d318616e9c580b5ba156 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-22xci: Clone releng-xci repo for phase jobs as wellFatih Degirmenci1-1/+6
Forgotten to fix phase jobs. Change-Id: I50c525089d6d3b4f28650ad78b8810817aaf150e Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-01-22xci: Clone the repo and checkout the patch for testingFatih Degirmenci2-0/+9
Change-Id: Ie1c2f76b6043133c3821272040b1a2a38de29035 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
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-17Pharos Dashboard: Deploy once config is in placeTrevor Bramwell1-0/+1
Since configuration has shifted out of the docker-compose.yml file and the workspace gets recreated ever job, the config.env file needs to be copied into place before each deployment. JIRA: PHAROS-316 Change-Id: I8c80f1148ad268428defa2f7eb1877d821a11491 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-17Merge "Create job to deploy Pharos Dashboard"Trevor Bramwell1-0/+35
2018-01-17Add lf-pod4 and lf-pod5 to slave paramsTrevor Bramwell1-0/+38
Change-Id: I3ca61f015c07cbf3bd67acd7972d9a1e0011f21d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
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-16docker: update name and dockerfile location for barometer collectd image.Gordon Kelly1-11/+6
change build directory to fix build's copy errors Change-Id: I3bc4f929156c7c04cc93822d28b0a64991f18595 Signed-off-by: gordonkelly <gordon.kelly@intel.com>
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-12Disable Interactivity for and enable Pharos BackupTrevor Bramwell1-1/+3
When running docker commands from an interactive shell the '-it' flags are needed. Since the backup isn't running any interactive command, these flags aren't needed and failing the job due to a tty not being allocated to the Jenkins user. Change-Id: I9bd81faaf548b3247ee1992f6db9c0258ebfc1fb Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
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-12disable the operawutianwei2-2/+2
it doesn't support the opera in compass4nfv master. it is needless to run daily and verify job. Change-Id: I9345f8c527c4b38e47b1d8de7d5c8cb2fdc1b30d Signed-off-by: wutianwei <wutianwei1@huawei.com>