mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
![]() Since the runbot_merge module, some branches does not need to be built. For example the tmp.* branches. Some other branches does need to be tested but it could be useless to keep them running. For example the staging branches. Finally, some builds are generated by server actions during the night. Those builds does not need to be kept running despite the branch configuration. For example, the master branch can be configured to create builds with testing and running but nightly multiple builds can be generated with testing only. For that purpose, this commit adds a job_type selection field on the branch. That way, a branch can be configured by selecting the type of jobs wanted. A same kind of job_type was also added on the build that uses the branch's value if nothing is specified at build creation. A decorator is used on the job_ methods to specify their job types. For example, a job method decorated by 'testing' will run if the branch/build job_type is 'testing' or 'all'. |
||
---|---|---|
.. | ||
__init__.py | ||
__manifest__.py | ||
runbot.py |