mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
* e2e: job expects alloc to run until stopped * e2e: fix case changed by #16306 * e2e: couldn't find a bug but improved test+jobspecs
22 lines
332 B
HCL
22 lines
332 B
HCL
job "operator_scheduler" {
|
|
datacenters = ["dc1"]
|
|
type = "batch"
|
|
|
|
constraint {
|
|
attribute = "${attr.kernel.name}"
|
|
value = "linux"
|
|
}
|
|
|
|
group "operator_scheduler" {
|
|
|
|
task "test" {
|
|
driver = "raw_exec"
|
|
|
|
config {
|
|
command = "bash"
|
|
args = ["-c", "sleep 30"]
|
|
}
|
|
}
|
|
}
|
|
}
|