runbot/runbot/models
Christophe Monniez a931af2fed [IMP] runbot: fully garbage collect old builds
When a build is garbage collected and the local folders are cleaned, the
log files are kept to allow build errors investigations.

With this commit, a full local cleanup will be done 365 days after the
garbage collect.  This means that the build dir will be completely
removed.  The default number of days can be tweaked with the
`runbot.full_gc_days` ir.config_parameter.

Also, the _local_cleanup method can be called with a `full` boolean
parameter to force a full cleanup. e.g.: when called in a config step.

While at it, the res_config_settings view is a bit reorganized.
2022-02-10 13:39:50 +01:00
..
__init__.py [IMP] runbot: add a codeowner model 2021-11-25 15:19:26 +01:00
batch.py [IMP] runbot: link on reference batch 2022-02-07 08:59:28 +01:00
branch.py [FIX] runbot: small fixed to ease deployment 2022-01-27 10:08:39 +01:00
build_config.py [FIX] runbot: avoid docker state UNKNOWN after slow fetch 2021-12-08 15:06:49 +01:00
build_error.py [IMP] runbot: add a runbot team model 2021-11-25 15:19:26 +01:00
build_stat_regex.py [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00
build_stat.py [IMP] runbot: remove _log_access on build_stat 2021-08-04 10:46:59 +02:00
build.py [IMP] runbot: fully garbage collect old builds 2022-02-10 13:39:50 +01:00
bundle.py [IMP] runbot: use custom layout and improve views 2022-01-11 09:11:48 +01:00
codeowner.py [FIX] runbot: fix codowner match 2022-02-07 13:03:26 +01:00
commit.py [FIX] runbot: removing failed git export 2022-01-27 10:19:54 +01:00
database.py [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00
dockerfile.py [IMP] runbot: add a Dockerfile on project 2021-06-29 09:22:41 +02:00
event.py [IMP] runbot: add a runbot team model 2021-11-25 15:19:26 +01:00
host.py [FIX] runbot: small fixed to ease deployment 2022-01-27 10:08:39 +01:00
ir_cron.py [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00
ir_ui_view.py [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00
project.py [IMP] runbot: add populated data 2022-01-11 09:11:48 +01:00
repo.py [FIX] runbot: small fixed to ease deployment 2022-01-27 10:08:39 +01:00
res_config_settings.py [IMP] runbot: fully garbage collect old builds 2022-02-10 13:39:50 +01:00
res_users.py [IMP] runbot: add a runbot team model 2021-11-25 15:19:26 +01:00
runbot.py [IMP] runbot: use custom layout and improve views 2022-01-11 09:11:48 +01:00
upgrade.py [IMP] runbot: add a runbot team model 2021-11-25 15:19:26 +01:00
user.py [IMP] runbot: enable screencast, add access control, small fixes 2020-09-23 13:27:59 +02:00
version.py [IMP] runbot: use a Dockerfile model 2020-11-10 09:52:48 +01:00