open-nomad/e2e/jobsubmissions/input/xyz.hcl
Seth Hoenig dbb6edd96d
e2e: add e2e tests for job submission api (#16841)
* e2e: add e2e tests for job submission api

* e2e: fixup callers of AllocLogs

* fix typo
2023-04-12 08:36:17 -05:00

37 lines
459 B
HCL

variable "X" {
type = string
}
variable "Y" {
type = number
}
variable "Z" {
type = bool
}
job "xyz" {
type = "batch"
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "group" {
task "task" {
driver = "raw_exec"
config {
command = "echo"
args = ["X ${var.X}, Y ${var.Y}, Z ${var.Z}"]
}
resources {
cpu = 10
memory = 16
}
}
}
}