Project

General

Profile

Actions

coordination #49502

open

[qe-core] Automatic validation test on github PRs

Added by cachen about 5 years ago. Updated about 1 year ago.

Status:
Blocked
Priority:
Normal
Assignee:
Target version:
Start date:
2019-03-20
Due date:
% Done:

0%

Estimated time:

Description

Purpose:
-To reduce the unexpected disturbance by other's code change especially on those sharing lib/module
-To make QA developers and code reviewers life much easier

What we have:
-QSF team had an implementation which can manually trigger the expected validation test on OSD, description is in http://open.qa/docs/#_triggering_tests_based_on_an_any_remote_git_refspec_or_open_github_pull_request

What are missing:
-ideally to make it fully automated, it need a review bot integrate to github can automatic monitor the PR status -> trigger/schedule validation tests on OSD or Staging area -> update status to github

The points from coolo:
-easiest to do is in python
-https://developer.github.com/v3/repos/statuses/ is the github api to set a status report and there are python apis for it
-https://github.com/openSUSE/obs-tools/tree/master/pull_request_package is a ruby bot that obs team maintains to set a status in their PRs if the package builds
-so you would poll the pull requests if the status is set - and if it isn't, schedule a set of openQA tests the way okurz mentioned, wait for them to finish and update the github status

What we need:
-contributor who is interested on python and github bot for automation :)


Related issues 2 (1 open1 closed)

Related to openQA Project - coordination #58184: [saga][epic][use case] full version control awareness within openQABlockedokurz2018-03-232024-05-15

Actions
Related to openQA Project - action #52004: Enable SUSE partners to test SLE using openQA in the open easilyResolvedokurz2019-05-26

Actions
Actions

Also available in: Atom PDF