aboutsummaryrefslogtreecommitdiffstats
path: root/testopia_update.py
AgeCommit message (Collapse)Author
2017-12-07testopia_update: Add rocko branchJose Perez Carranza
Add rocko branch as a supported branch by the script. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-11-07testopia_update: Fix clone templates processJose Perez Carranza
Fix an issue when cloning templates that requires an integer conversion and also an identetaion that cause problems on behavior of the script. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-07-04testopia_update: Add validation for empty sub parameters on setupJose Perez Carranza
Add an error message for the cases when “setup” is selected and no sub parameters are given. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-06-12testopia_update: Add support to create_wiki functionalityJose Perez Carranza
Add option that allows using –create-wiki under setup option,this potion takes date and project as a parameter and search for tests runs and generates the wiki report data in a file. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-06-02testopia_update: Add functionality to list templatesJose Perez Carranza
Add support to list available templates per specific releases Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-05-29testopia_update.py: Add functionality for setup clone-templatesJose Perez Carranza
Add action “setup” to do a different actions on the exiting Testopia DB, also add validation for the specific option used on this new action, sub-option “-clone-templates” implemented to help on the setup for new release and cloning form the same bran or form one branch to another. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-05-18Full-test-cycle-wrapper: Add support for point releasesJose Perez Carranza
Add support to scenarios were a execution is needed for branch different from master, delete lsb-joule environment as is not supported and add logic to do the “Testopia connection” modular and reusable by other scripts. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-03-08testopia_update: Improvements on update action functionalityJose Perez Carranza
Some improvements were applied when using option action=create : - Create a new option to update test runs by ID - Create functions to load results and update test run - Add warning to use –testrun-id - Improvements to update_test_run using exiting data of test run - Create function get test run details by ID - Create Dummy product to use on cases when specific product is not relevant Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-03-07testopia_update: Add option to define test planJose Perez Carranza
There are cases where the test plan and the product name are not equal hence an option is added to handle those cases and define the test plan to work on. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-02-24testopia_update: Fix options verification for config and paramsJose Perez Carranza
A function was created to handle the load of options separately for configuration and parameters Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-02-21testopia-update: Add suport for current format of templatesJose Perez Carranza
Currently the tempates has a format as below: TRTEMP_<RELEASE>_<MANUAL/AUTO>_<COMPONENT>_<OPTIONAL> Hence the logic was adapted to follow above structure and also a commit paramater was added to follow the format of build as follows: RELEASE MILESTONE_rc# Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-15testopia_update.py: Add full support for send results to Testopia.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Action update add support for get test run.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Add full support for create new test run.Aníbal Limón
Test run creation invovles discover the right template for clone and copy all the test runs associated with it. A helper function was added on external/testopia.py module for copy test cases. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Create add support for discover test runs.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Add optional argument.Aníbal Limón
Optional server for get the Tempalte for create Test runs. TEMPLATE - [ProjectVersion] - <Fullpass, Weekly> - [Optional] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-10testopia_update.py: Add category option.Aníbal Limón
Category option serves for specify the type of test run. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-10testopia_update: Add support for create environmentAníbal Limón
If user specify create action and not found a valid environment then create it. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-10testopia_update: Adds support for create/get builds.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-09testopia_update: Add support for set/get environment by product.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-07testopia_update: Add support for get test planAníbal Limón
In order to update test run a test plan discover is needed for add support to it the branch_name need to be specified. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-07testopia_update: Add support for store_location option.Aníbal Limón
Store location will provide a temporary folder when test results send fails for any reason like network problems. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-07testopia_update: Add modules support.Aníbal Limón
Now every product has it's own module associated, add a base class for Product's and BSP/QEMU product module. Remove ArgumentHandler now is handled by Product's based classes. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-02testopia_update.py: If config file isn't specified try to use defaultAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-02testopia_update: Instance testopia helper and various fixesAníbal Limón
testopia_update.{py,config.example}: Change host argument for url because is best description. testopia_update.config.example: Fix typo in password. testopia_update.py: Add validation of testopia required parameters and validation for only call method's in ArgumentHandler. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-02testopia_update: Add initial script with argument and config parsing.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>