feat: use internal wrapper for consul registration
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
This commit is contained in:
20
nomad-config-check.nomad
Normal file
20
nomad-config-check.nomad
Normal 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/"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user