aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-03-07 16:57:43 +0100
committerAlex Auvolat <alex@adnab.me>2022-03-07 16:57:43 +0100
commit27ffee95b894a6a8c8af8a4c32453506229c149e (patch)
treed4a2f4bf0f64fc12334694092ae4faf6f4f6f133
parent217e31e4bd2e7f5f96c6dede75d4c005d2e6d57e (diff)
downloadnixcfg-27ffee95b894a6a8c8af8a4c32453506229c149e.tar.gz
nixcfg-27ffee95b894a6a8c8af8a4c32453506229c149e.zip
Updates; change crontab
-rw-r--r--app/telemetry/deploy/telemetry.hcl2
-rw-r--r--cluster/staging/site/neptune.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/telemetry/deploy/telemetry.hcl b/app/telemetry/deploy/telemetry.hcl
index 65f4f7c..fc0c389 100644
--- a/app/telemetry/deploy/telemetry.hcl
+++ b/app/telemetry/deploy/telemetry.hcl
@@ -102,7 +102,7 @@ EOH
task "grafana" {
driver = "docker"
config {
- image = "grafana/grafana:8.3.5"
+ image = "grafana/grafana:8.4.3"
network_mode = "host"
ports = [ "grafana" ]
volumes = [
diff --git a/cluster/staging/site/neptune.nix b/cluster/staging/site/neptune.nix
index 5fed713..1b80144 100644
--- a/cluster/staging/site/neptune.nix
+++ b/cluster/staging/site/neptune.nix
@@ -13,7 +13,7 @@
enable = true;
systemCronJobs = [
"0 2 * * * root nix-collect-garbage --delete-older-than 10d >> /root/nix_gc_log 2>&1"
- "30 2 * * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 30d >> /root/drone_nix_gc_log 2>&1"
+ "30 2 1 * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 30d >> /root/drone_nix_gc_log 2>&1"
];
};
}