diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/agent.hcl | 7 | ||||
-rw-r--r-- | example/example.nomad | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/example/agent.hcl b/example/agent.hcl new file mode 100644 index 0000000..c9dd670 --- /dev/null +++ b/example/agent.hcl @@ -0,0 +1,7 @@ +log_level = "TRACE" + +plugin "hello-driver" { + config { + shell = "bash" + } +} diff --git a/example/example.nomad b/example/example.nomad new file mode 100644 index 0000000..cf7e73c --- /dev/null +++ b/example/example.nomad @@ -0,0 +1,14 @@ +job "example" { + datacenters = ["dc1"] + type = "batch" + + group "example" { + task "hello-world" { + driver = "hello-world-example" + + config { + greeting = "hello" + } + } + } +} |