open-nomad/e2e/taskevents/input/failed_batch.nomad

24 lines
344 B
HCL

job "failed_batch" {
type = "batch"
datacenters = ["dc1"]
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "failed_batch" {
restart {
attempts = 0
}
task "failed_batch" {
driver = "raw_exec"
config {
command = "SomeInvalidCommand"
}
}
}
}