From a9e5003ab305675d6be3c0f032772d0de38df969 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 28 Nov 2022 11:33:28 +0100 Subject: Initial commit --- example/agent.hcl | 7 +++++++ example/example.nomad | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 example/agent.hcl create mode 100644 example/example.nomad (limited to 'example') 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" + } + } + } +} -- cgit v1.2.3