summaryrefslogtreecommitdiffstats
path: root/jjb/releng/automate.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-11-10Update Automation Job Repo to releng-testresultsTrevor Bramwell1-14/+15
Switches the jjb/releng/automate jobs to use the releng-testresults repository now that files under utils/test have been migrated. Assumes shell and python scripts required for the job are now located in the releng-testresults repo under ./ci/ Change-Id: I1f036d9d8abd988477e18b2f2efd8f80d550a61c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-11put htmlize directory under jjb/relengSerenaFeng1-2/+2
centralize jjb related scripts Change-Id: I4abeb06f17b48b8e7ac15803db0f3ce7eb0c1b93 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-10Fix Yamllint violations for jjb/relengTrevor Bramwell1-158/+159
JIRA: RELENG-254 Change-Id: I5b9fe931e20a84d80d9ce6bc565bfee1db2dbc32 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-10Changing url of the reporting to original oneSakala Venkata Krishna Rohit1-1/+1
Changing url from reporting2 to reporting in job. Change-Id: I2252468c635749fe4fe60db54035b06a0f28de27 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-08-22bugfix: TestAPI auto deploy success but shown as failSerenaFeng1-1/+1
when execute 'curl -s --head --request GET http://testresults.opnfv.org/test' 'HTTP/1.1 301 Moved Permanently' will be returned rather than 200 OK, result in the connectivity check fail. To fix this problem, use 'http://testresults.opnfv.org/test/' instead. Change-Id: I5d6916c15858b3f431a2ab18aeef7f352cb9e31b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-17prepare for testresults.opnfv.org's watchdogSerenaFeng1-3/+3
Due to the frequent crash in testresults.opnfv.org, watchdog will be introduced to monitor the status of docker daemon/testapi container/reporting container, to make timely recovery, to make things clear, some refactors included in this patch: 1) leverage container name and image name rather than id 2) address three conditions during the update 3) refactor code to be more readable Change-Id: Ifa7a6fd94db62d532026b5fad33835b0e2abd9af Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell1-0/+2
Adds the 'email-jenkins-admins-on-build-failures' publishers for jobs which have overridden the default list of publishers. This will provide Jenkins administrators a time-series list of build failures to assist in debugging issues with the master and agents. JIRA: RELENG-257 Change-Id: I28f12877562113c9197ed6429ee2a7f3cdbaf346 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-14testapi: bugfix of not exist xmlMatthewLi1-1/+3
Change-Id: I43bc486e2fc12bea5f7664cc1e5acc5630e5f739 Signed-off-by: MatthewLi <lijun_1203@126.com>
2017-07-13Merge "leverage tox to trigger verify job in reporting/TestAPI"Serena Feng1-18/+2
2017-07-13leverage tox to trigger verify job in reporting/TestAPISerenaFeng1-18/+2
Change-Id: Ie374bb151f351764e86d05d7c7b8e254c9d6cd59 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-12Making docker deploy script genericSakala Venkata Krishna Rohit1-2/+7
Replacing words with variables to make docker deploy generic so that it can be availed by other modules. Change-Id: Iacf4829aa5feede48038b71155a4dab43a8d427d Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-11Remove SERVER_URL in reporting deploy jobchenjiankun1-1/+1
Since we improved the reporting deploy way, the SERVER_URL is set to http://testresults.opnfv.org/reporting2 by default. So we don't need to set it. So we have to ways: In CI: docker run -itd -p 8084:8000 opnfv/reporting:tag Personal use: docker run -itd -p 8084:8000 -e SERVER_URL={server_ip}:8084 opnfv/reporting:tag (8084 is the port mapping, you can change it) Change-Id: Ibe8adbb4601378d59d4d1fe6c7dd3266222c47d1 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-07-06bugfix for reporting verify jobSakala Venkata Krishna Rohit1-0/+1
Copying xml files to workspace folder as jenkins searchs for xml files from workspace directory. This solves the configuration error the reporting verify job is facing. Change-Id: I747a6e93995188d645d3fa09cdbd60e7a7fc453b Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-06Bugfix for failure of reporting verify jobSakala Venkata Krishna Rohit1-1/+2
Prefer to run unit tests from the directory in which unit test script is present as errors are being raised if it is being run from other directories. Change-Id: Ifa2000ac333f2e985feeae76c0040a1831f60253 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-05bugfix: hardcoded testapi urlsSerenaFeng1-1/+1
testapi webportal's urls are fixed in configure files this patch aims to modify them according to base_url provided when bringing up container Change-Id: I29c461fc3b837e54d4ff5330dcaa520637590ff7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-02Add jenkins jobs for automatic reporting dashboard deploymentrohitsakala1-0/+273
Jenkins Jobs have been added for automating the deployment of the reporting dashboard. Also multijob has been added for automating the update of docker in the docker hub and generating docs which is empty for now. Modified unit tests of reporting to make it run from any directory. Modified the testapi jenkins jobs yaml file to generic so that many other modules which may have the same usecases can be integrated easily just like the reporting one that is done now. Change-Id: Id13a55416e17199dae1dd6ce64f7c167d117ba37 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>