From cc1b9f83cc956539ee01855982b13c3a4dca52ca Mon Sep 17 00:00:00 2001 From: wizzdom Date: Thu, 14 Mar 2024 17:39:54 +0000 Subject: [PATCH] add midnight calendarbot job (#32) --- .../general/midnight-calendarbot.hcl | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 jobs/user-projects/general/midnight-calendarbot.hcl diff --git a/jobs/user-projects/general/midnight-calendarbot.hcl b/jobs/user-projects/general/midnight-calendarbot.hcl new file mode 100644 index 0000000..1362e7b --- /dev/null +++ b/jobs/user-projects/general/midnight-calendarbot.hcl @@ -0,0 +1,26 @@ +job "midnight-calendarbot" { + datacenters = ["aperture"] + type = "service" + + group "calendarbot" { + count = 1 + + task "calendarbot" { + driver = "docker" + + config { + image = "ghcr.io/nightmarishblue/calendarbot:master" + force_pull = true + } + + template { + data = <