open-nomad/e2e/taskevents/input/failed_batch.nomad
2023-04-10 15:36:59 +00:00

27 lines
412 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
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"
}
}
}
}