open-nomad/jobspec/test-fixtures/parameterized_job.hcl

18 lines
350 B
HCL
Raw Normal View History

job "parameterized_job" {
2017-01-20 20:46:04 +00:00
parameterized {
2016-12-14 20:50:08 +00:00
payload = "required"
2017-01-26 05:13:18 +00:00
meta_required = ["foo", "bar"]
meta_optional = ["baz", "bam"]
2016-11-23 23:48:36 +00:00
}
group "foo" {
task "bar" {
driver = "docker"
resources {}
dispatch_payload {
2016-11-23 23:48:36 +00:00
file = "foo/bar"
}
}
}
}