summaryrefslogtreecommitdiffstats
path: root/jjb/daisy4nfv
AgeCommit message (Collapse)AuthorFilesLines
2018-10-12Update jenkins-job-builder to 2.2.1Aric Gardner4-9/+9
jjb/lf-ci-jobs.yaml has jjb-version: 2.2.1 as a minimum change block-level to blocking-level: https://review.openstack.org/#/c/608092/ We will need to change this back once we move past jenkins-job-builder>2.5.0 Change-Id: I12d0f55ee3c2dad20340ebf0fa8428ee1ad8484c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-18Disable Daisy JobsTrevor Bramwell4-8/+8
All ZTE Pods are offline so there is nowhere for these to run. Disabling until resources are available again. Change-Id: Ic57d9d690622ad6e019fa90c512bf3f1a4992fc6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell4-0/+0
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-24[daisy]Enable yardstick daily jobs on zte-pod3 and zte-pod9Zhijiang Hu1-21/+14
Change-Id: Ib96698b1d2d1fa8039fd684ff96025afffefbcd0 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-04-17Merge "[daisy] Fix the scenario in build-name"Trevor Bramwell1-1/+3
2018-04-17[daisy] Fix the scenario in build-nameAlex Yang1-1/+3
The build-name is always *nosdn-nofeature* even in odl jobs. Change-Id: Icb5707e2d33ed19e9172227c53f153c453538aff Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-04-17[daisy] Run fraser jobs on zte-pod3Alex Yang2-7/+58
Change-Id: I4b879b6af9b4633a8444db988b3fbe7aa1690ee8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-04-13Merge "Enable all yardstick tasks on baremetal for daisy"Serena Feng1-3/+0
2018-04-13Merge "[daisy] Move more CI resource to Fraser branch"Serena Feng1-4/+4
2018-04-13Enable all yardstick tasks on baremetal for daisyJulien1-3/+0
currently only master job is enabled. Change-Id: I7da6a1a3a8e8faf08cde34d9a20219346070151b Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-04-12[daisy] Move more CI resource to Fraser branchZhijiang Hu1-4/+4
Temporary disable master branch job on zte-pod2 to make room for Fraser branch job. Change-Id: I9f2eea0e1c85eab741f80e6db6b773eec71c39f1 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-04-11Move DEPLOY_SCENARIO out of testapi-parametersTrevor Bramwell1-0/+2
These have been moved back into installer-params.yml and added to the daisy jobs where 'testapi-parameters' is being used. Including this in the list of parameters would cause duplication as most installers already include 'DEPLOY_SCENARIO' as a parameter. The 'DEPLOY_SCENARIO' parameter is also sometimes defined through a macro, which could cause second declaration of DEPLOY_SCENARIO (defaulting to 'os-nosdn-nofeature-ha') to always be used. Documentation has been added to the parameter to explain the related macros and how they should be used. Change-Id: I9aef031dbcf523ae2db15695ce294bd85025530d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-04Merge "[daisy] Support doctor in daisy master branch"Serena Feng1-1/+8
2018-04-03[daisy]Enable jobs for stable/fraser branchZhijiang Hu4-35/+60
Now we have had the stable/fraser branch in place [1]. Let's Re-arrange CI resources for it. [1] https://gerrit.opnfv.org/gerrit/#/c/54693/ Change-Id: Id596b1070c781da4edfd2496a47ea36400268614 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-03-16[daisy] Support doctor in daisy master branchAlex Yang1-1/+8
Change-Id: Ia7c76da78242f2a3906431e0d301f20aeeb460b3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-03-16[daisy] Fix the blocking rules of daisy daily jobsAlex Yang1-2/+2
Change-Id: I81eaed8b397b5d748c5fde5a07dadecde0ec08fa Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-03-14Merge "add another ovs_dpdk scenarios trigers"Fatih Degirmenci1-1/+1
2018-03-12Update block rules on nodesJulien2-1/+10
Only one scenario job can be excuted in the same POD. The rules should be configured in job teamplate instead of parent job. Change-Id: I9f672345985dbfdfe54b9ccd017a3a575a2ab412 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-03-12Define parameters for triggering jobsJulien1-15/+2
In https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170, it indicates that: only build parameters that have been explicitly defined in a job's configuration will be available by default at build time. Any other arbitrary parameters added to a build by plugins will not be available by default. It has been tested in sandbox.opnfv.org that only defined parameters can be passed to the triggered jobs. For parameters required by TESTAPI are common to all the projectes, including installers, Functest, and Yardstick, it is convenient to define a common macro and used by others. Change-Id: Iac1da85445e1b5d75109ccd64b174f35151b9969 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-03-10add another ovs_dpdk scenarios trigers001845321-1/+1
Change-Id: I4b30765b243e2a1a6d2079b71fc6d18c14853dec Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2018-03-07Update return value from postbuildscriptJulien1-0/+9
PostBuildScript plugin's result affects Jenkins pipeline, so we should return the original job running status in the postbuildscript in the end Update macros: 1. from $POD_NAME to $NODE_NAME 2. from $SCENARIO to $DEPLOY_SCENARIO 2. {installer} to $INSTALLER_TYPE for {installer} is not existed in trigger job 3. add parameters definition for they can not be used in trigger jobs by predefined-parameters 4. missing TIMESTAMP_END Change-Id: I354be3d5ad02e53bb988995adc09b59e92a1640a Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-02-13[daisy] Move master branch jobs to zte-pod2Zhijiang Hu1-11/+11
This PS does: 1) Move master branch jobs to zte-pod2 which seems has a more stable internet connectivity. This is trying to solve master branch deployment unstable problem. 2) Disable Euphrates jobs to make room for master branch. Change-Id: Id36f0ff6a268aabf0badd46f55bb397afe5e4830 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-24Merge "[daisy] Skip signing kolla images"Serena Feng1-26/+0
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-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-15Add macro for reporting the provision resultJulien1-0/+12
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-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-11[daisy] Enable ovs_dpdk scenarios jobs001845321-1/+50
Change-Id: I5193285493926fcf82779f12d491a118bc83baa7 Signed-off-by: 00184532 <lu.yao135@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-03Use pharos repo in daisy master branchAlex Yang1-6/+14
There are no PDFs in euphrates branch of pharos repo. Securedlab is still used in euphrates branch. In master branch, pharos repo will be used. Change-Id: Ifbdeed26f938025aae56d2d263abf3d8620b31ba Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-11-13[daisy] Skip signing kolla imagesZhijiang Hu1-26/+0
No key avaliable at gs://opnfv-signing-keys/zte-virtual-subkey, so this PS skip signing key for kolla images. Change-Id: I1b934f01faeec0657a0019cd35ed209a511cdcdd Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-08Merge "[daisy] Prevent CI jobs run on the same POD parallelly"Trevor Bramwell1-0/+1
2017-11-06[daisy] Kolla docker image build needs root privilegeZhijiang Hu1-2/+12
Change-Id: I8b206f8aaa965b90eb13d5f859c5d9d7b530e0e9 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-06[daisy] Prevent CI jobs run on the same POD parallellyZhijiang Hu1-0/+1
Change-Id: I0f20005873aac6c7c4f7e3baf04fab56f38b14df Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-03Merge "[Daisy] Add docker image tarball builder"Trevor Bramwell3-0/+153
2017-10-28[Daisy] Add docker image tarball builderZhijiang Hu3-0/+153
This PS do: 1. Add docker image tarball builder as a Daisy project job. Name is daisy-kolla-build-.* 2. Upload image to artifact storage after building. 3. Fix new job runs on daisy-virtual. 4. Block jobs with each other which may run Daisy VM because VM has the same name. Change-Id: I148473ca33f1e10490684b7608354a4ba548714f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-19Integrate yardstick on daisy master branchAlex Yang1-1/+22
JIRA: DAISY-9 1. Trigger yardstick job in daisy-baremetal-daily-master on zte-pod3 2. Add daisy pods in yardstick 3. Add EXTERNAL_NETWORK in installer params Change-Id: Ia8e69e503102c1fb282d6d2c5acac2ac3cbfe747 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-16Merge "Move securedlab clone outside of daisy WORKSPACE"Serena Feng1-8/+5
2017-10-12daisy: bug-fix of upload iso to artzhouya1-1/+1
Change-Id: Idc204f9f8c3e71f80d607ee55630cbea1e4f118a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-10-08jjb: daisy: Upload iso file as well as the bin fileZhijiang Hu2-1/+5
To align to the convention, Daisy now also provides iso format artifacts for user to download instead of the bin format. So need to upload iso to GS. In future, the bin file can be eliminated to save storage space. Depends-On: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130 Change-Id: Ib97f93b043866174d5d63f122aa867b2af1c1424 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-03Fix Yamllint violations for jjb/daisy4nfvTrevor Bramwell4-606/+627
JIRA: RELENG-254 Change-Id: I71f2879dd04cc56dc8023fc7163871e94de78eb6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-30Merge "Move daisy jobs of master branch to zte-pod3"Serena Feng1-3/+6
2017-09-28Move daisy jobs of master branch to zte-pod3Alex Yang1-3/+6
Zte-pod2 is a little busy. Change-Id: I7628a1a966552c5caf1706a2ac8c47952a11c095 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-27Move securedlab clone outside of daisy WORKSPACETrevor Bramwell1-8/+5
Change-Id: Ic3bac4876160aaefb77707c22f6d34a9b8b1068c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-27Enable Daisy Euphrates merge jobsAlex Yang1-1/+1
Change-Id: Iaa278fa1d0aa3faa8735bc45159031d04d997a6f Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-22Enable daisy euphrates jobs of daily and functestAlex Yang1-0/+16
Change-Id: I8c0c088c5b6879033e1d369488b589271e741a68 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-18Merge "Enable jobs for stable/euphrates branch"Serena Feng4-3/+40
2017-09-15Add monitoring tests folder trigger unit verifyzhongjun1-0/+2
Add monitoring tests folder to trigger unit verify job for daisy beacause unit test code should be added verify CI. Change-Id: I77e19b5b07a3a1f724c20036e5c337ffa9f482ec Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-13Enable jobs for stable/euphrates branchZhijiang Hu4-3/+40
Change-Id: I9c9759f3f361d6e0e56429e0aeca6205fa59934f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-08installers: Use global macro 'clean-workspace'Alexandru Avadanii4-24/+4
Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>