summaryrefslogtreecommitdiffstats
path: root/jjb/releng
AgeCommit message (Collapse)AuthorFilesLines
2017-05-22Yamllint on Pharos, Octopus, and SecuredLab ReposTrevor Bramwell1-1/+1
These repositories are starting to contain more and more yaml files. Ensuring yaml in these repos is valid is important to ensure other jobs don't break further on. Change-Id: I97de9f59ab993fb9dd9cb2efa5784af3850783a6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-05-21Changing urls of testapi api and resourcesSakala Venkata Krishna Rohit1-1/+1
Change is done in reference to https://gerrit.opnfv.org/gerrit/#/c/34527/ This change will also fix the jenkins job testapi auto deploy which is failing. Change-Id: I5011718aa2bdf7e2aab0a12d406c4d0eece86972 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-05-11re-enable testapi auto updateSerenaFeng1-2/+1
Change-Id: Ied3c2f0c0ba1bd8cbaaa44bfff52ea52614db56c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-03dovetail: docker tag supportMatthewLi1-7/+7
JIRA: DOVETAIL-419 since dovetal has no A/B/C/D branch, only have master, need docker image name sth like opnfv/dovetail:plugfest_april_2017 rather than opnfv/dovetail:<release>.1.0, etc. then when RELEASE_VERSION is empty, generate opnfv/dovetail:latest ortherwise opnfv/dovetail:<RELEASE_VERSION> Change-Id: I92573bee35da16305074393401e5e5da65aaa22c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-21AArch64 Dovetail docker creation jobAlexandru Nemes1-0/+8
Add support for creating and pulling Dovetail docker container for aarch64 platform Change-Id: I1e6f2b677e4c972cd80ad2c6f2cd304f0d4d8cad Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-03-31Merge "Add wait method for Docker builds"Jose Lausuch1-8/+10
2017-03-31Add wait method for Docker buildsjose.lausuch1-8/+10
By default, if a docker build job triggers and there is another one running at the same time, it will abort the job. This adds a wait method with a timeout to avoid that. Change-Id: Ica86885c60ce4137c85474ec4b7441ac5bab600c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-30disable TestAPI update temporarilySerenaFeng1-1/+2
recently I plan to make some effort on TestAPI, add scenario processing exceptions, perfect swaggr documents, refactor unreasonable coding...etc, all of those will not change the original process or data structure, whilst many patches will be submitted. Because there is latency during TestAPI update, and it will cause test results lost, so I think it is better to disable TestAPI automatic update for now and re-enable it when the work gets done. Change-Id: I5ceab808350a1ece500c8743622d197326aa5419 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-21qtip: enable stable docker image buildYujun Zhang1-0/+3
Change-Id: I38fd97bff3aa1c966f9267d96e3b0cbabbf1f4a6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-15Merge "Allow creation of Dockerfile.aarch64 through patch"Fatih Degirmenci1-3/+13
2017-03-14Enable docker build jobs for stable/danubeFatih Degirmenci2-2/+2
Change-Id: Ife9dae40246558b3219b4e194680e7428270df14 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-14Fix the RELEASE_VERSION unbound issuehelenyao1-1/+1
'RELEASE_VERSION: unbound variable' popped up when building stable docker image Change-Id: I5d4582aea2f154e0bc34cdccdd05b9df64032ed2 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-13Allow creation of Dockerfile.aarch64 through patchCristina Pauna1-3/+13
When building an aarch64 docker image an Dockerfile.aarch64 file is expected to exist. With this patch we may create it from the x86 Dockerfile by applying an aarch64 patch This feature can be used with qtip, via https://gerrit.opnfv.org/gerrit/#/c/30185/ JIRA: ARMBAND-219 Change-Id: I71e1e1852e31f92fb1f1947542f7f397b996541f Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-01[yamllint] move yamllint into verify phasesmeimei1-1/+1
Change-Id: Id6e541f9260df44ca33f66acec1bdf1e4b4a812d Signed-off-by: meimei <meimei@huawei.com>
2017-02-22Merge "dovetail: docker build not set branch parameter"Jose Lausuch1-2/+6
2017-02-22Merge "[docker] Use image IDs instead of tags"Jose Lausuch1-5/+5
2017-02-21Fixed url path of artifactsrohitsakala1-1/+1
Change-Id: I503acd1bf421e4734b4edbe07a562ec51f3c0b77 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-20dovetail: docker build not set branch parameterMatthewLi1-2/+6
JIRA: DOVETAIL-354 1)in https://build.opnfv.org/ci/view/dovetail/job/dovetail-compass-baremetal-debug-master/200/artifact/results/dovetail_report.txt Version isn't correct, version should be obtained from https://git.opnfv.org/dovetail/tree/setup.cfg 2)since dovetail not have A/B/C/D branches such as Danube, no need to set branch parameter when doing "docker build", if branch parameter settled, the "version" info in setup.cfg will not obtained. 3)related patch https://gerrit.opnfv.org/gerrit/#/c/29045/ Change-Id: I2b2880e417460a4a3da3e108bb83800e2acb3a83 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-16[docker] Use image IDs instead of tagsjose.lausuch1-5/+5
If we use tags, when there are remaining images without the tag <none> it fails and get the following error: Removing docker image opnfv/functest:<none>... Error response from daemon: Error parsing reference: "opnfv/functest:<none>" is not a valid repository/tag By using IDs we make sure we delete the images. Change-Id: Ib336dc73168bac909c42dd4a9681ef07d477dc7b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-13Merge "Add lint to releng repo"Jose Lausuch1-1/+1
2017-02-11Change automation to original testresults serverrohitsakala1-3/+3
Changed port from 8711 to 8082 and auto to test in url. There are 3 successful builds. https://build.opnfv.org/ci/job/testapi-automate-master/ Change-Id: I099b026eb22c7d95d8bf7345837e7c2234ef571d Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-11Changing trigger to weekly for backup mongodb jobrohitsakala1-17/+1
Change-Id: Ib3c0cb13dbab2d8c6f8b7fd2219900b32d153b8e Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-11Bug fix type name and add parameter valuesrohitsakala2-6/+5
Change-Id: Idfa76608e796d9e27bbed4a351d16018e9380c59 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-10Merge "Add parameters and change trigger to change-merged"Aric Gardner1-3/+26
2017-02-10Add lint to releng repoAric Gardner1-1/+1
At jose_lausuch's request Change-Id: I8354c78765b9ad4b4eb94df8b5c9affb84db3c4c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-02-10Add parameters and change trigger to change-mergedrohitsakala1-3/+26
Trigger is changed to change-merged for testing and will be reverted to weekly once there is a successful build Change-Id: I99a7f49e3d05e4915f1a2dd225fcf4ffde312df3 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-10Add jobs to build arm functest imagesCristina Pauna3-4/+85
Jenkins slave arm-build3 was added to build the docker image on arm This commit adds jobs to use that jenkins slave. JIRA: ARMBAND-108 Change-Id: I7b293d119ca3347983940639fe0cfea1098b18f3 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-08Merge "Remove email publisher from jenkins job"Aric Gardner1-1/+0
2017-02-08Merge "Add docker build for escalator"Serena Feng1-0/+2
2017-02-08Merge "send notifications to company email"Jose Lausuch1-1/+1
2017-02-08Remove email publisher from jenkins jobrohitsakala1-1/+0
Sending emails for verify jenkins job is unnecessary Change-Id: I44eaadc7cee1d6a8f6a29fc269279f3acd98c71f Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-08send notifications to company emailSerenaFeng1-1/+1
Change-Id: I678bdea2ff553a898135f36f9d0e1b0ca5ba8a98 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-07Add GIT_BASE parameter in a phase job.rohitsakala1-0/+2
This parameter is missed because there was no macro as testresults-defaults. Change-Id: I79e506943cfaab6568419b51c09981fd313522c6 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-07Add pre-defined parameter for a phase jobrohitsakala1-4/+7
The currentparameters for two phase jobs is set to true so that they run on opnfv-build-ubuntu defaults and the second phase job has a pre-defined parameter as it is to be run on testresults Change-Id: Id5feb94f407d29f6a3d5aa88d321666f3ff463b5 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-06Changed parameters in phase jobsrohitsakala1-3/+9
This is done so that the parameters of the prevuious phase jobs are not carried forward to next phase jobs Change-Id: I91a068c75fe1658b3ca104613d3d59a6b82508e9 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-06Add description to builder in testapi jenkins jobrohitsakala1-1/+5
This is done so that we get to know the node on which it is built in the console. Change-Id: I7e0ff4dd2129637eb4b6e0476766c4fbcbcaafed Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-04Add docker build for escalatorJulien1-0/+2
Change-Id: Ie14404f29019c666a42b88ea802b412f20ba9a26 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-03Adding multijob builder and script for deploy of testapirohitsakala2-8/+189
docker-update and generate-doc will run in opnfv-build defaults, and docker-deploy will run in testresults. Script will ensure this :- Docker Images in testresults.opnfv.org - N-1 docker image will be labeled as stable. - N docker image will be latest. Docker containers - N-1 container will be stopped but not removed but will be removed in next iteration. JIRA: FUNCTEST-689 Change-Id: I8c66ff716bae969b34fe698cdfa6140ef494ec49 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU7-16/+4
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-1/+1
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-25Merge "Add jenkins job for testapi mongodb backup"Jose Lausuch2-0/+50
2017-01-25Merge "Add nose and coverage requirements in unittest script"Jose Lausuch1-2/+2
2017-01-25Add jenkins job for testapi mongodb backuprohitsakala2-0/+50
Mongodb backup will run every week and will get pushed into artifacts.opnfv.org/testing/ JIRA: FUNCTEST-701 Change-Id: I3a6fee59a1b8b5bdc46f07f6f6e9f5a60b77f24f Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-24Change trigger of jenkins verify jobrohitsakala1-1/+1
It is unneccesary to trigger jenkins verify job for any change in utils folder.So, changed it to utils/test/testapi Change-Id: Ie9ad79977a07f5b39274ef57d984d3cb6502caeb Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-25Add nose and coverage requirements in unittest scriptrohitsakala1-2/+2
bugfix to :- https://build.opnfv.org/ci/job/testapi-verify-master/22/console Change-Id: I0eaa730aed68ce11b9095c2810c223a0519ffcde Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-24Merge "Remove start and finish builders from jenkins job"Jose Lausuch1-15/+1
2017-01-24Merge "Enable CI notification when the image build failed"Jose Lausuch1-0/+23
2017-01-23Add code coverage report in jenkins jobrohitsakala2-18/+20
Modified existing bash script to enable code coverage report in jenkins job. Removed test-requirements.txt. JIRA: FUNCTEST-703 Change-Id: I7ea6b5c87ce7d098dcb0c74ed195db0f6c3b9692 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-21Remove start and finish builders from jenkins jobrohitsakala1-15/+1
Removing those builders as it is unnecessary to start and finish server instead calling testresults.opnfv.org for specs. JIRA: FUNCTEST-705 Change-Id: Icfbce0c0eaf9d4ca20920de78450a1ffd580344c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-20[testapi] Add build parameter to run jenkins job.rohitsakala1-0/+1
opnfv-build-ubuntu-defaults has been added so that the job will run on build servers which have python verison > 2.6. Change-Id: Iea2a12da88cc5f7ff625b060425241ab33cc9d85 Signed-off-by: rohitsakala <rohitsakala@gmail.com>