runbot/runbot_cla
Xavier-Do 81fefee137 [FIX] runbot: fix coverage since shared sources
The requirements path and python version where defined from
server in cmd. Since in coverage we add a 'python' before server,
it is difficult to define which element of the cmd is the server.

A solution here is simply to define requirements install and
python version when building cmd since we have access to all
build/source informations. We also add python part in every
cases, and coverage params are now a _cmd python_params.

The _cmd method now returns a Command object instead of a
list, which behave has a list for the cmd part but also contains
a pres and posts list.

pres are requirement install, preparation, ...
cmd is the original cmd list, element can be append or added, this
will allow to keep existing python job without to much changes.
posts are post cmd commands, like coverage result making.

This commit also fix issue with create_job dependencies.
2019-07-16 12:06:09 +02:00
..
data [IMP] runbot_cla: add cla_check to All only config 2019-05-23 13:04:56 +02:00
__init__.py [IMP] runbot: replace jobs by build configs 2019-05-18 10:42:31 +02:00
__manifest__.py [IMP] runbot: replace jobs by build configs 2019-05-18 10:42:31 +02:00
build_config.py [FIX] runbot: fix coverage since shared sources 2019-07-16 12:06:09 +02:00