chore: backup infrastructure configurations [skip ci]

This commit is contained in:
github-actions[bot]
2026-02-08 02:08:34 +00:00
parent 8814f0bdc9
commit 828fa9d62d
36 changed files with 356 additions and 96 deletions

View File

@@ -0,0 +1,25 @@
job "cleanup-litefs-all" {
datacenters = ["dc1"]
type = "batch"
group "cleanup" {
count = 4
constraint {
attribute = "${attr.unique.hostname}"
operator = "regexp"
value = "odroid6|odroid7|odroid8|opti1"
}
task "clean" {
driver = "docker"
config {
image = "busybox"
volumes = [
"/mnt/configs/navidrome_litefs:/mnt/data"
]
command = "sh"
args = ["-c", "rm -rf /mnt/data/* && echo \"Cleaned $(hostname)\""]
}
}
}
}