deployerbot: start action at 23:30 UTC

According to 'nixos infra status' finding a good time of day to run the
updates for nixos release non-small is futile.
This commit is contained in:
Motiejus Jakštys 2023-08-02 15:41:06 +03:00
parent 9fff6330b7
commit cf6eeb6f29
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@
systemd.services.deployerbot = { systemd.services.deployerbot = {
description = "Update all known systems"; description = "Update all known systems";
environment = {TZ = "UTC";};
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "deployerbot-main"; User = "deployerbot-main";
@ -74,7 +75,7 @@
# 15:38 UTC was the latest merge that I have observed since # 15:38 UTC was the latest merge that I have observed since
# making the commit by looking at 3 commits of this repo. # making the commit by looking at 3 commits of this repo.
# Let's try to be optimistic. # Let's try to be optimistic.
timerConfig.OnCalendar = "*-*-* 16:00:00 UTC"; timerConfig.OnCalendar = "*-*-* 23:30:00 UTC";
}; };
mj.base.unitstatus.units = ["deployerbot"]; mj.base.unitstatus.units = ["deployerbot"];