feat: use internal wrapper for consul registration
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
2026-02-07 18:14:19 -08:00
parent a10a50a6ea
commit 41874f0ace
14 changed files with 196 additions and 263 deletions

20
nomad-config-check.nomad Normal file
View File

@@ -0,0 +1,20 @@
job "nomad-config-check" {
datacenters = ["dc1"]
type = "batch"
group "check" {
count = 1
constraint {
attribute = "${attr.unique.hostname}"
value = "odroid7"
}
task "config" {
driver = "raw_exec"
config {
command = "grep"
args = ["-r", "disable_script_checks", "/etc/nomad.d/"]
}
}
}
}