summaryrefslogtreecommitdiffstats
path: root/jjb/daisy4nfv
AgeCommit message (Collapse)AuthorFilesLines
2017-05-08Merge "Fix the parameters of downloading"Serena Feng1-3/+3
2017-05-08Fix the parameters of downloadingAlex Yang1-3/+3
aria2c should use "-d" to indicate the directory to store the downloaded file. Change-Id: I6590403fb0c0b2938ee384cf5b1d5acc42ed94c1 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-08Merge "Improve daisy download speed by multi-thread tool"Serena Feng1-2/+8
2017-04-28Improve daisy download speed by multi-thread toolAlex Yang1-2/+8
Use multi-thread tool such as aria2c to download the daisy image, to reduce the time spent on downloading. Change-Id: Id1b7f9195fe0d499b9b02b0a8410e02871f675f9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-04-25Add set -o to daisy4nfv-build.shZhijiang Hu1-0/+4
By using set -o, this can prevent CI from uploading *.properties files without *.bin to artifact.opnfv.org if build was failed. This once happened to [1]. [1] http://artifacts.opnfv.org/daisy/opnfv-2017-04-25_06-57-05.properties Change-Id: I26c3112af1d73a84df05c3852038c99d7070ab59 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-14Merge "Revert "Cleanup dirty daisy build workspace directory""Serena Feng1-1/+0
2017-04-12Revert "Cleanup dirty daisy build workspace directory"Zhijiang Hu1-1/+0
This reverts commit 3ede21905ba5df94df06952e90d89ec0c16e7bb7. The deleted line in daisy4nfv-basic.sh in this PS was used exclusively by a job to clean up files with wrong ownership in workspace previously. Now, daisy4nfv-basic.sh is used combind with build/test scripts in job, so we need to delete this line, otherwise, we encountered workspace was wiped which resulted in build/test scripts failed to run. Change-Id: I8812a495db789838c3a88510a05956a11e8227d5 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-01add daisy unittest verify jobSerenaFeng1-18/+22
Change-Id: Iab5b7126f72efa942e6e1a25d0a1af67c4c52aa6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-01Update block parametersJulien4-16/+7
Fix issue: 1. father job block child jobs 2. deploy the env in daisy-virtual slaves Change-Id: Idcda4b8ca5fcf9abbfae3c60bf656a0901a20e02 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-23Avoid build conflicts in build serverJulien4-5/+9
Currently each job in daisy project has multiple child jobs, which may block the resources in lf-build1 for the excutors are limited. Change-Id: I7977128a550421caaeda395fce04b91b31d35751 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-15jjb: Set disable-strict-forbidden-file-verification to 'true'Markos Chandras2-0/+2
Previously, if an upstream patchset contained a change for a file listed in 'forbidden-file-paths' the job would not be triggered. This is not desirable since such a patchset may contain important changes so we enable the 'disable-strict-forbidden-file-verification' option which triggers the job unless the patchset only contains changes for the files listed in 'forbidden-file-paths'. Note: The diff was generated using the following script: for i in $(grep -l -r forbidden-file-paths *);do sed -i "s/\(^.*\)forbidden-file-paths/\1disable-strict-forbidden-file-verification: \'true\'\n&/" $i; done Please double check that the changes look sensible for each team's project. Change-Id: Ifa86d3a39b36375b2fd52b449e29c8dc757499b4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-14Enable Danube JobsAric Gardner3-3/+3
Here are the projects that were branched: I will double check against this list that these changes make sense and that no one is missing as I go forward. wiki page of participating projects, and their jobs: https://wiki.opnfv.org/display/SWREL/Milestone+Compliance+for+Danube apex - already enabled armband - done availability - already enabled barometer - done bottlenecks - already enabled compass4nfv - done copper - already enabled daisy - (not participating -- keep jobs disabled?) doctor - already enabled domino - already enabled fds - N/A fuel - done functest - already enabled ipv6 - already enabled joid - done kvmfornfv - already enabled models - already enabled multisite - done netready - NOT DONE opera - NOT DONE opnfvdocs - done orchestra - Not participating onosfw - done ovsnfv - done parser - N/A promise - already enabled qtip - already enabled sdnvpn - N/A snaps - done securityscanning - N/A sfc - N/A storperf - done ves - already enabled vswitchperf - already enabled yardstick - already enabled Change-Id: I803662faf05c8554cfe7fa5f85da9521f72b03ff Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-02Use local bin file for daisy deploy jobAlex Yang1-0/+19
Change-Id: I5e09837264d93ad503dff3f886c4aba281f04255 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-24add -L para to curl for download bin fileJulien1-2/+2
without -L, curl just download the redirects info not the file. same to https://gerrit.opnfv.org/gerrit/#/c/24769/ Change-Id: Ib40c6bf27651860c7d590ee021064e1245004fb9 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-24Merge "Add scenarios jobs"Serena Feng1-0/+199
2017-02-23Use jenkins-zte user, uncomment daisy deploy and cp labs dirAlex Yang1-2/+5
Change-Id: Ia031b39a8335e223aee27db9cff334af285632ab Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-23Add sha512sum into opnfv.properties file for daisyAlex Yang1-0/+1
Change-Id: I21146ebba8088d00f201e1acb51d71731aa595a9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-22Add scenarios jobsJulien1-0/+199
deployment and integration with functest Change-Id: Ic9f72f4f6bf4d526b51b3254cfc2efd5842dd58c Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-17Use securedlab for daisy configurationJulien5-34/+62
pass configuration path, lab and pod info JIRA:DAISY-40 Change-Id: I0f5dc1427cc33478bdecb8cf9c5f493b90993b7e Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-10Fix escape errorsJulien2-9/+9
{ becomes {{ and } becomes }} replace include-raw-escape with include-raw verified by 28425 Change-Id: I252c3e4a901410aba7c7d14202cd52b7bd3becba Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-10Revert include-raw-escape to include-rawZhijiang Hu1-7/+7
Otherwise, we saw functions definition in shell script to be fold by double bracket, not single as expected. Change-Id: I1924d261f6d8313afa5cf70d173374840e5394db Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-02-08Merge "Refactor Daisy verify jobs"Serena Feng1-87/+45
2017-02-08Merge "Add daisy installer default parameters"Serena Feng1-1/+12
2017-02-08Merge "Refactoring daisy CI Jobs"Serena Feng3-97/+277
2017-02-07Refactor Daisy verify jobsJulien1-87/+45
remove unused jobs, such as basic, test, deploy and keep only build job. Change-Id: I1639882f1bf5249f404d3fe6db69443a2a997f89 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-07Add daisy installer default parametersJulien1-1/+12
Add default settings for installer and slaves Use baremetal deployment for daily Use virtual deployment for merge JIRA: DAISY-27 Change-Id: Ia00343225656c02aa292ee89d153f2e047c994b0 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-07Refactoring daisy CI JobsJulien3-97/+277
Refactoring for: 1. Delete unuseful jobs; does nothing but echo; 2. Daily build and Daily deployment jobs are missing; 3. Change include-raw-escape including multiple files into multiple include-raw-escape for better troubleshooting; JIRA: DAISY-25 JIRA: DAISY-26, fixed by add period building job Change-Id: I3a1fc64f6416546b5bd1a7730629ad5ed88140b1 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-06Use parameters in cli for deploy.shJulien1-1/+1
JIRA:DAISY-29 Change-Id: Idacb508abb765e7528cfd19afb6d15c364e6132f Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU2-13/+9
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-30Found three merge jobs still using git-scm-gerritAric Gardner1-2/+2
merge jobs should not be cloning the patchset, they should be cloning master after the merge is complete. Change-Id: I3cd853c16bdc2533e8fb926eeea8926f8fc7ac04 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-01-20[macro] property logrotateRyota MIBU2-0/+4
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU2-28/+8
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell2-0/+2
With the addition of ODL and OpenStack Gerrit servers, it's important we don't generate additional noise by accidentally building against these Gerrit servers when we don't intend to. JIRA: RELENG-179 Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-11-30Fix the non-virtual node error for virtual-deploy jobzeyu zhu1-1/+3
Change-Id: I617849b23aca515525f7e2219c3f268cbda80e43 Signed-off-by: zeyu zhu <zhu.zeyu@zte.com.cn>
2016-11-22Merge "daisy: modify the download url for ZTE POD"Fatih Degirmenci1-4/+9
2016-11-21daisy: modify the download url for ZTE PODwu.zhihui1-4/+9
ZTE POD use http://build.opnfv.org/artifacts.opnfv.org/daisy.html to download ISO file. Change-Id: I95e156c966387c349e11a7d882829347da7e757b Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-18Implement virtual deployment in merge job of Daisy4nfv CIzeyu zhu1-0/+21
Change-Id: I2f0edea6a2f527e800c953458b4bb31741e970ab Signed-off-by: zeyu zhu <zhu.zeyu@zte.com.cn>
2016-11-14Merge "Add merge job to Daisy4nfv CI"Serena Feng5-1/+449
2016-11-11Add merge job to Daisy4nfv CIzeyu zhu5-1/+449
Change-Id: I42e828663af780ab596477741d1d34c985c86197 Signed-off-by: zeyu zhu <zhu.zeyu@zte.com.cn>
2016-11-08Cleanup dirty daisy build workspace directory, part2Zhijiang Hu1-1/+1
This let daisy basic job and build job to run on the same machine, so that, basic job can do cleanup for the build job. This is a one-shot action. After succefully executed, this PS will be reverted. Change-Id: I79950508afe393af8bb6097e5f49745140068920 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-11-08Cleanup dirty daisy build workspace directoryZhijiang Hu1-0/+1
This is a one-shot action. After succefully executed, this PS will be reverted. Change-Id: I09ffadf6ea3bace87164feb409bb8a1187c8b2fd Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-10-23predefined-parameters complement for daisy verify jobsZhijiang Hu1-0/+20
Try to solve "Error fetching remote repo 'origin' GERRIT_REFSPEC" problem. Change-Id: I0631be6cced09aa816afab9471c1351e69a5bda7 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-10-17reslove issue about can not trigger verify jobsJing Sun1-7/+5
Change-Id: Ie47eca93aaa05b2c04770c6f84f848fe6c709630 Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>
2016-10-13implement build.sh of daisy4nfvJing Sun2-1/+9
Change-Id: Iea673c27d17e10e53f0d6b7ef04ccb9742d51739 Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>
2016-09-26installer daisy4nfv add ci verify jobs frameworkJingSun5-0/+252
Change-Id: I7e42bc32758454aa09731acdbd57a0d29ad56f99 Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>