diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-28 01:01:53 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-30 16:20:21 +0300 |
commit | 873987793b05fc0d6e9908f5030b2bca145c4e6d (patch) | |
tree | 6641e447d892e5b364ae7471e7a0a71581c85e91 /INSTALL | |
parent | 018603c5529117b993066f4f3a0f45f48f92e801 (diff) |
Add tenant object
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -394,21 +394,26 @@ our setup. If you still would like to use systemd to run the loader and the cleaner, then you can set it up as a system-wide service which runs the utilities as the brep user/group. Otherwise, a cron job is a natural choice. -Note that the cleaner execution is optional and is only required if the build2 -build bot functionality is enabled (see the build bot documentation for +Note that the builds cleaner execution is optional and is only required if the +build2 build bot functionality is enabled (see the build bot documentation for details). If it is disabled in you setup, then skip the cleaner-related parts in the subsequent subsections. +If the CI request functionality is enabled you most likely will want to +additionally setup the tenants cleanup. + + 8.a Setup Periodic Loader and Cleaner Execution with cron The following crontab entries will execute the loader every five minutes -and the cleaner once a day at midnight: +and the tenants and builds cleaners once a day at midnight: $ crontab -l MAILTO=<brep-admin-email> PATH=/usr/local/bin:/bin:/usr/bin */5 * * * * $HOME/install/bin/brep-load $HOME/config/loadtab -0 0 * * * $HOME/install/bin/brep-clean $HOME/config/buildtab +0 0 * * * $HOME/install/bin/brep-clean tenants 240 +0 0 * * * $HOME/install/bin/brep-clean builds $HOME/config/buildtab ^D Note that here we assume that bpkg (which is executed by brep-load) is in one |