summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
AgeCommit message (Collapse)AuthorFilesLines
2018-11-07Only trigger docs-verify-rtd-master for opnfvdocsAric Gardner1-19/+1
also remove hacky logic that deletes opnfvdocs clone and then clones project Change-Id: I4c0687af6d31b6759e0f6ccf275d968b9d71a7d9 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-24Merge "Remove OPNFV Docs Euphrates Jobs"Trevor Bramwell2-6/+0
2018-10-24Create Stable Branch Jobs for opnfvdocsjenkins-ci2-1/+7
Change-Id: If835ce2ab7586fc503843089541d50344ce8c19e Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-23Remove OPNFV Docs Euphrates JobsTrevor Bramwell2-6/+0
The release is now two past and we don't need to continue building these docs. Change-Id: I072d22b69d73c06245a4efcf14661e0c7acacefc Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-19Merge "[docs] local docs building for missing submodules"Trevor Bramwell1-1/+6
2018-10-15Ensure jobs don't get queued on offline buildersTrevor Bramwell1-0/+4
A change to the NodeLabelParameter config in JJB caused any jobs using the plugin to possibly have their jobs triggered on builders which weren't online. This in turn caused the queue to backup and newer jobs are blocked waiting for older ones to complete, which never happens as they're never queued on an online builder. The 'all-nodes' parameter ensure jobs that are set to run concurrently don't trigger across all available nodes at once, as this will include offline nodes as well. As this is the default of the plugin, projects which need it can enable it individually. Change-Id: Ia690eef078209b6b056dad85613dda6868b18271 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-02[opnfvdocs] verify: Relax changed files patternAlexandru Avadanii1-1/+1
Some changes alter the docs yet still don't trigger the verify job due to the pattern being too restrictive. Change-Id: I775bfdce5e31a4334d21da10ff3072268b2b6155 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-09-25Merge "[docs] Limit git submodule recurse to depth 1"Trevor Bramwell1-0/+6
2018-09-24[docs] local docs building for missing submodulesAlexandru Avadanii1-1/+6
Some projects already moved away from OPNFV Docs git submodules. The proposed hack has a couple of problems: - it still downloads all of OPNFV docs + submodules (recursively!); - it uses Jenkins to handle gerrit clone/fetch, just to nuke it and clone the current project again; But: - it is a small change, to be replaced when global-jjb will support gsutil upload for docs preview; - it provides a locally built preview document instead of the old (complete) doc preview; Change-Id: I7426679187eb1cfabb181c59da61f3b794e50e5f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-09-24macros, docs, releng: Use `sudo -H` pip installAlexandru Avadanii1-1/+1
This is still far from a clean and secure approach, as `pip install` should not be ran with `sudo`. However, `-H` limits the area we touch and also fixes some incompat between disto-provided pip and pip-provided pip. Change-Id: I0e19dfeaf66f6f453e3868c71016305ae050f0c8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-09-18[docs] Limit git submodule recurse to depth 1Alexandru Avadanii1-0/+6
Some projects (e.g. Fuel, Armband) embed their own git submodules, which are picked up by Sphinx during RTD verify job, leading to a lot of issues (e.g. duplicate labels since Armband includes Fuel as a git submodule of its own). Change-Id: I771f7c95334fc25c82cc8b14ee2064b043d9e321 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell1-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-17Create Stable Branch Jobs for opnfvdocsjenkins-ci2-1/+8
Change-Id: I820572906b65082d3a0dc06486d5bf92f0d0269c Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-21Add jjb for cloverQiLiang1-0/+1
- clover-project.yml is a modified copy of container4nfv-project.yml - clover and container4nfv temporary share the same vpod huawei-virtual6 - add job blocker between clover and container4nfv - add clover doc to opnfvdocs Change-Id: I6e4b133670fd46c57e338af37f2a066c95ce4bc6 Signed-off-by: QiLiang <liangqi1@huawei.com>
2018-01-24add 'lint-all-code' as wrapper of lint buildersRyota MIBU1-2/+2
OPNFV has common coding style [1]. So, all repos shall be checked by one generic checker builder/job, eventually. This patch adds lint wrapper builder 'lint-all-code', and also refactors all exisiting lint and syntax check builders, following 'lint-yaml-code' builder approach, which only checks modified files. This approach is nice as it won't require immediate fixes of violations in whole repo code right after the lint checker job is enabled. Note that lint jobs are still configured to run against some project repo, in order to seperate discussion; wheter we should apply this lint job to all OPNFV repo or not immediately. [1] https://wiki.opnfv.org/display/DEV/Contribution+Guidelines Change-Id: Ib4ab3ba5dc08845f3016b8be772f4ed119f11b2d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-11-02Merge "Move all doc verfication to docs-verify-rtd-*"Aric Gardner2-29/+3
2017-11-01Move all doc verfication to docs-verify-rtd-*agardner2-29/+3
Ready for review (tested locally) 1) remove opnfvdocs-daily-{stream}: We don't need a timed docs build. and it did not build anything usefull 2) remove opnfv-docs-verify-{stream}: This uses depreciated and unmaintained opnfvdocs/scripts/docs-build.sh It does not clone submodules and gives no usefull feedback but it does post to artifacts and give a gerrit comment move that functionality to docs-*-rtd-* 3) remove opnfv-docs-merge-{stream}: does not upload anything meaningful 4) remove macro upload-generated-docs-to-opnfv-artifacts: is no longer needed since we use read the docs 5) improve docs-verify-rtd-{stream}: generate single page html and post to artifacts send gerrit commment with location of single page html, errors (like malformed table) are embedded nicely in the single page output and give devs a single source of feedback on their work 6) improve docs-merge-rtd-{stream}: this job now needs to remove review documenation created by docs-verify-rtd-{stream} TODO, after this is merged: remove now unused opnfvdocs/scripts/docs-build.sh Change-Id: I802eb11712d42555d34f986d061bf0dfc623c1e9 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-10-27Re-enabling docs jobs for DanubeGeorg Kunz1-0/+2
The danube jobs are still needed for ongoing Dovetail documentation efforts. Change-Id: Ibf7174a63693d7c141cf110f6fbcfac4437102c9 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-10-19Yeah, rtd did not have euphrates streamagardner1-2/+1
Change-Id: I42cfed19942af1f6f4c09b27e839172693598a5d Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-09-18Create jobs for euphratesFatih Degirmenci1-1/+1
Change-Id: I700eb3c113889cb70b3df7a8cfa4faf5e37ffce5 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-11Fix Yamllint Violations for jjb/opnfvdocsTrevor Bramwell2-141/+144
JIRA: RELENG-254 Change-Id: I0e168d0ce619df20480f6da92cdfa470dca713b1 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-08-28migrate openretriever to container4nfvGuo Ruijing1-1/+1
Change-Id: I6c758395abff5c980c013cbe65f99ad8938e20af Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-03-22Change shell check name, as it's confusingAric Gardner1-4/+4
When you look at the build there is opnfvdocs-verify-master (opnfvdocs project) opnfv-docs-verify-master (releng project) It's not clear on first glance which build does what. change opnfvdocs-verify-{stream} to 'opnfvdocs-verify-shellcheck-{stream}' change opnfvdocs-merge-{stream} to 'opnfvdocs-merge-shellcheck-{stream}' Change-Id: I11927c9ac9b7ae6f9ae44660ea5008713a1b0a9f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-21No longer needed, moved logic to docs-rtd.yamlAric Gardner1-7/+0
Change-Id: I2b8ad2ab185074047ce7267cbedf1dbd70b16535 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-21Remove cloningShubhamRathi1-6/+8
Change-Id: Idd7c48095f74985a129b968b320b99d1bc606b58 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-21Remove default project off merge jobShubhamRathi1-1/+0
Danube's merge job was failing because releng was given as the default project to clone. Change-Id: I57b40f37bf4a2c07ef5e566209f881be3c411975 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-16Add stable-danube to doc jobShubhamRathi1-0/+2
Change-Id: I8375e4bc2c43e5a7b1c537da409de69609229c9d Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-15Trigger docs verify for all changes under docs/Aric Gardner1-1/+1
This should be the same as docs merge Change-Id: Ib65e4dca130369e8372cfda433d4158393e67d3f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-14Enable Danube JobsAric Gardner1-1/+1
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-02Made new doc job votingShubhamRathi2-1/+9
1. New has been made voting. Old doc job has been made non voting. 2. Adding files variable which triggers job on changes in 'docs/' Merge job earlier did not trigger on merge. Change-Id: Id19c02949a0a5f2b1da0682f18ed6051403aa77e Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-28Source is a bash built inAric Gardner1-1/+1
whatever jjb shell we are calling doesnt have it change to . is more posix Change-Id: Ic4c89cb39d118bae8502f0f94da620436da11fe9 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-02-22Move rtd build to lf-build2Aric Gardner1-1/+1
Change-Id: I4f6379b7de9d6d04d1fbdaa965cf0e8c4ec8013d Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-02-22change rtd projectAric Gardner1-1/+1
hard code to opnfvdocsdemo this account has a 30 minute build timeout. Change-Id: I01099ef370a3c824fe02a7d7069643b3e6e13609 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-02-20Revert "fix for rtd verfiy"Aric Gardner1-10/+3
This reverts commit 8f28f2de1aa8a473be54295d58a2311b40617efb. Change-Id: Id4239ecf4d617440d1198ea7a13b8fecf5bb225b
2017-02-20fix for rtd verfiyAric Gardner1-3/+10
Do not recursively clone submodules rewrite submodule projects so that docs/ is project root so we do not build rst files not in docs/ Change-Id: I97d4ca915014dcf8923a44a0c31d3c27ac415885 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-02-17We are already in the repo dirAric Gardner1-1/+1
fix cd line Change-Id: Idc82ef5082788cf8aaeea711cef5ffb80fb9649d Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-02-17Install virtualenvShubhamRathi1-5/+3
This patch installs virtualenv in the slave machine. Change-Id: Ib9dc27f30b135d6ba5a587df7825ad2e9cfbaf11 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-16Removed -u flag from pip installShubhamRathi1-1/+1
Change-Id: Iffd95b14ee2e1f427ebaa3e579027238957bedc5 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-16Install virtualenvShubhamRathi1-2/+5
Installing virtualenv in doc shell Change-Id: I3a77f09d7b2921064e1d599cd2e59c0140d71995 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-16Bug fix to doc jobs.ShubhamRathi1-5/+3
Change-Id: I65b78a6772288f22db6cd0e0bcd2b10661acc02d Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-16Fix bugs for new doc jobsShubhamRathi1-7/+3
Added new macro and changed parameters in docs-rtd.yml Change-Id: Ibb3306853e241674099ae0227719af6dc1280d1f Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-15New doc jobs on lf-build1ShubhamRathi2-0/+97
New doc jobs have been configured to run on build slaves (lf1-build1) since git version on master does not support submodules. Verify patch has been made non-voting. Change-Id: I05224f42156202450b7f5eb36c2ce23f14deff2c Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-02-07openretriever: verify job added and document checkMatthewLi1-0/+1
1, verify job added 2, put into document check cfg file Change-Id: I3f6ce78653aab789ccdc0a11f36c1b6e735ae3cc Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-7/+1
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-27Change choosing strategy for docs merge to git-scmAric Gardner1-1/+1
merge jobs should be using git-scm rather than git-scm-gerrit. git-scm-gerrit will clone the exact patchset git-scm will clone repo/branch Change-Id: Ic11b093feff0b1ab58383b74c85fde92c2e6c0a3 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci1-2/+2
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>
2016-12-19clean scm defenitionsRyota MIBU1-12/+3
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 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-11-15add daisy doc to opnfvdocsJing Sun1-0/+1
Change-Id: Ied421ba55277b2189015e85e8cb36110bf7af239 Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>
2016-09-22add missed project document check/build/uploadMatthewLi1-0/+2
JIRA: RELEMG-147 Change-Id: I8a3c3ed4e28e0fe00f9e3d08816fa5f46ad65300 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>