summaryrefslogtreecommitdiffstats
path: root/jjb/doctor
AgeCommit message (Collapse)AuthorFilesLines
2017-01-20[doctor] fix doctor profiling jobRyota MIBU1-76/+31
Doctor profiling jobs have to be executed on ool-* pods, since we need pre-deployed OpenStack for those jobs. This patch also: - merge job templates for verify job and profiling job - move experimental trigger to jjb/global/releng-macros.yml Change-Id: If0283a734bec77d3f1bbab72d169f44ff1cd1c99 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-17Merge "Remove colorado jobs and create danube jobs"Fatih Degirmenci1-1/+1
2017-01-10[doctor] not to reset verified status with experimental jobsRyota MIBU1-0/+1
Change-Id: Icc067b60b18dc9d9d06572b9c2deb103bf4b9529 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci1-1/+1
Danube stream for the projects with daily jobs is disabled. Danube stream for the projects without daily jobs is left as enabled as there will be no changes coming to danube branch until branch is created. Dovetail, Apex and Fuel jobs have not been updated yet. Change-Id: Ice39826c8f829157fa864370557837290838f634 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-06doctor: pass project and branch to parameter macroFatih Degirmenci1-3/+5
The keyword is also replaced. Change-Id: Ia154975825108ab1e8c336530152757cf732c6eb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-06Fix bug in experimental triggerYujun Zhang1-2/+5
- missing variable for marco - renamed trigger since it is not common for other projects Change-Id: I3dd0f14e6c6525382b04139c5eda2f6e9187a072 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-30Add profiler parameter to doctor verify jobYujun Zhang1-0/+58
See also https://gerrit.opnfv.org/gerrit/#/c/25081/ JIRA: DOCTOR-87 Change-Id: I3d4fea89047be8e57c318df4d39479659e2806a9 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-19clean scm defenitionsRyota MIBU1-8/+2
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-08doctor: adds test result checkRyota MIBU1-1/+6
Change-Id: Id43d0434e4215c265a669505973ccea012741da6 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-07functest,doctor: CLEAN_DOCKER_IMAGESRyota MIBU1-0/+4
The builder/script 'functest-cleanup' will delete docker images for functest, so that we can make sure the latest functest will be used during the tests. But, it also makes a pod downloads image every time CI triggered functest-suite. This patch adds option 'CLEAN_DOCKER_IMAGES' (default=true), so that the job owner can choose whether he/she wants to drop the docker images or not depends on frequency or charactaristics of the job. Change-Id: I0b7affccb404fb8c4f0939b00d65e363ec62f7c3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-02Merge "doctor: copy log file to 'tests' dir"Ryota Mibu1-1/+3
2016-12-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell1-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-12-01doctor: copy log file to 'tests' dirRyota MIBU1-1/+3
Change-Id: I1d9592a1cad487066d1f28af73a50ee1606409e3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-01doctor: drop postbuildersRyota MIBU1-14/+1
Change-Id: I228619470b4baace4acbc53e0bd710dd0aea7c4b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-11-30doctor: fix file pathsRyota MIBU1-4/+20
- fix file path to mount doctor code under review - re-add workaround to archive functest suite log - drop unnecessary params for jobs Change-Id: I51ed4dbd7178c875cb6b047f26ae4c1db3d94687 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-11-30doctor: fix parameter settingRyota MIBU1-22/+30
In the current doctor jenkins jobs, default parameters for functest are used. This patch updates parameter settings, and also simplifies archive instruction. Change-Id: I6940d323271bc9492eeb5e9f8ca9faf02612f483 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-11-28update doctor CI jobRyota MIBU1-23/+25
Doctor has an experimental CI job. It has three parts (builders in jjb / runners in CI). The main job will trigger two runner jobs which will run 'test/run.sh' in the same CI pod with different inspector (sample and congress). While executing those two children jobs, the main job will block CI pipline on that pod. In order to avoide deadlock and sequencial runner job execution, we set two pipelines for the pod. But, it still allow deadlock when we trigger two main jobs at the same time. This patch simplify the job definition by splitting two runner jobs and removing the main job. Change-Id: I4fadd58cc827a41927940c38cf05ed105c6f243c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-28[doctor] archive functest log after suite testRyota MIBU1-5/+13
By using 'postbuildscript', functest suite log will be captured after a job execution even though the job failed. Change-Id: I3102a6973d696fb74b6c244028fd8c57c59fbc6a Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-22[doctor] print doctor.log in verify jobRyota MIBU1-0/+6
Change-Id: Ie362abd4223a86f9f306a84e94caeb0fe0e60a95 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-20[doctor] merge doctor verify jobsRyota MIBU1-11/+14
In order to avoid a congestion in doctor verify jobs, this patch merge doctor verify jobs under the wrapper job. This patch also adds few parameer override. Change-Id: Ie3dd7756df46adf42ff45741aab483afce23adb2 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-19[doctor] remove needless `'`Ryota MIBU1-1/+1
Change-Id: I1035c71f0ec6a0a404ec18b103d6d95173b099ec Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-19[doctor] add missing param (GIT_BASE)Ryota MIBU1-0/+1
Change-Id: I179656c7e592580e272b34e1ec0f331265fc7888 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-19pin jenkins slave node for doctor verify jobRyota MIBU1-0/+2
Change-Id: I9ae2466b694ba012159122e02ab611b9260b1655 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-19fix wrong pod name in doctor trigger-buildsRyota MIBU1-1/+2
Change-Id: If573c47f6a850a92cd98e3275e4116d045b75edd Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-19doctor: use trigger-builders to override paramRyota MIBU1-19/+8
Change-Id: Ibdea8bc3bc7469336c80ba5d1f749340cbf5a973 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-16jjb: specify doctor scenario in doctor-verify job using functestRyota MIBU1-3/+4
Change-Id: If8c5deb0ef1226b41493330922b6f7c53dc66526 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-13doctor: skip voting from results of immature jobsRyota MIBU1-0/+5
Change-Id: I8bfe946c6708f2d0eb0b1c583e1a522d4d797e93 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-09add doctor-functest verify jobRyota MIBU1-3/+79
This patch adds a new jenkins job which will be executed every time doctor patch is uploaded. The code will be verified by executing doctor scenario on the specific pod using functest. JIRA: DOCTOR-70 Change-Id: I480cd905991ccb1ef7426187fe83cbf1ae798ce9 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-22Create project jobs for colorado branchFatih Degirmenci1-1/+5
Daily jobs for Colorado branch for installer and test projects have not been created yet and it needs to be done via separate patches. Change-Id: I34517e89dfc502ce5741733e01bf8425d513df02 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-15Tie all verify/merge/build to opnfv-build-ubuntuFatih Degirmenci1-1/+1
We reconfigured centos build server now and it is important to know which jobs require centos and which ones ubuntu. The machines with ubuntu were labelled with opnfv-build previously, preventing us from keeping track of which projects require what OS. This tries to solve that. Change-Id: I1fb2912ec49f5bc2781853e500508d9992d59fbb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-09doctor: fix project test gateRyota MIBU1-1/+1
We enabled tests in functest, now we can change our project test to dry run for syntax check. Change-Id: I13003bb426e12b277ff101a43af4dd9548a715dd Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-08Merge "doctor: make test script run in doctor-verify job"Ryota MIBU1-8/+3
2016-01-07Enable verify and merge jobs for stable/brahmaputra branchFatih Degirmenci1-5/+4
Change-Id: I5f811a0db6c1725e02b3bfd51d8c7c21b12633a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-17doctor: make test script run in doctor-verify jobRyota MIBU1-8/+3
JIRA: DOCTOR-22 Change-Id: I55f0a0c1ce9d677a5209f3bf13691bc2810fd690 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-14Fix branch parameter and change stream name to brahmaputraFatih Degirmenci1-3/+3
Change-Id: I9005cb7cee44873b37fb310e5850d85d887c958d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-11Remove job_defaults from jobsFatih Degirmenci1-9/+2
Change-Id: Id936700af4b842d9a79db9004ed02f5d571ed17a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-11Cleanup jjb filesFatih Degirmenci2-91/+36
- Remove the jobs that do nothing such as merge and daily jobs - Leave only verify jobs for all the projects as placeholders - Introduce stable/brahmaputra branch and keep it disabled Please note that the "real" jobs for bottlenecks, compass4nfv, functest, and qtip are not deleted. Change-Id: I80031f77a11c2bf5173fbb7be98294285e3cc2ef Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-02disable document build jobs for doctor and promiseRyota MIBU1-0/+2
Doctor and Promise projects are shifting to use the OPNFV documentation toochain instead of projects document builder. Jobs for those projects can be removed, but let's keep them since those jobs will be needed for CI. https://gerrit.opnfv.org/gerrit/#/c/3663/ https://gerrit.opnfv.org/gerrit/#/c/3827/ Change-Id: I15176bd3c6af5b767fa419af997b8edaa902574c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-01jjb: add default logrotate to releng-defaults.yamlRyota MIBU1-5/+0
Change-Id: I373d24be32e154b25d685df47e6d06ad352877c4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-01jjb: move 'node: master' to releng-defaults.yamlRyota MIBU1-1/+0
Change-Id: Ibc3a7466fcc2e030a6538d77e2c4521eb8daa214 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-01jjb: move project-style to releng-defaults.yamlRyota MIBU1-1/+0
Change-Id: Iced99bd62a8a246984e67dc28be7d4dca149e22b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-27jjb: move ssh wrappers to releng-defaults.yamlRyota MIBU1-4/+0
Change-Id: I8c26ca0e0cc8d5e6a57c9cb05be663f84f2293d2 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-09-08Fix docu_build.sh for doctor and promiseRyota MIBU1-3/+9
JIRA: RELENG-29 Change-Id: Ia9b2f1ac3f420cd3d8e0be0addda8fe7802a982e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-07-07[doctor] make sure jenkins deletes old filesRyota MIBU1-8/+6
Currently, jenkis will remove old built files under review/<change-ID> only when "change-merged". This won't performed in "remerge" jobs. This patch make sure that jenkins deletes out-of-dated document files from the artifact server after it successfully uploaded latest documents to the server. JIRA: DOCTOR-12 Change-Id: I6891fec8559e75ad81d86258ade6d32a7bd0e368 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-07-06[doctor] fix file paths to upload in merge jobsRyota MIBU2-11/+2
This patch fixs dir/file paths to upload latest built document in merge jobs. This patch also delete unused file (doctor/t.sh). JIRA: DOCTOR-12 Change-Id: I1539e4352e6682a2f90de321355d0dc7762cffa8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-07-06[doctor] add missing project parameterRyota MIBU1-0/+3
This patch adds a project parameter which is refered by jenkins while it get code from the repository. JIRA: DOCTOR-12 Change-Id: I185a9a72feb286d0071dfc8ac638ea455f602e9b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-07-03[doctor] upload docs built in verify jobsRyota MIBU4-165/+70
This patch configure jenkins doctor job to upload documents built in verify jobs, so that reviewers can check how document would be changed. This patch also clean up doctor.yml and delete script files. JIRA: DOCTOR-12 Change-Id: Ia57ced1f263f691bd288946dd44da37199b3bfc6 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-06-05Comment out 'gsutil setmeta'Ryota MIBU1-2/+2
JIRA: OCTO-67 Change-Id: I066c8dcc83b867561e026fdbfed9142bec32294e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-06-04Fix target file path for 'gsutil setmeta'Ryota MIBU1-5/+4
JIRA: OCTO-67 Change-Id: I2dd39cb9733e1bb79b3c7fafc18f6c9989d98eb0 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-05-19Recursively copy files from Doctor to artifactsCarlos Goncalves1-1/+1
JIRA: OCTO-67 Change-Id: I667fc1aee080cf6f6fa2b5706f1f59fbd2b3491d Signed-off-by: Carlos Goncalves <mail@cgoncalves.pt>