aboutsummaryrefslogtreecommitdiff
path: root/example/example.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-29 13:01:46 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-29 13:01:46 +0100
commitfa49c13513ae5ab66157c634de244fdcf0a6cc1d (patch)
tree32508ecd16e0183767ecb7dd4bbeca82eccfdb0a /example/example.hcl
parentec3eba576a1a9574c6a2be8d90d973badb34f455 (diff)
downloadnomad-driver-nix2-fa49c13513ae5ab66157c634de244fdcf0a6cc1d.tar.gz
nomad-driver-nix2-fa49c13513ae5ab66157c634de244fdcf0a6cc1d.zip
Works better and better, write some examples
Diffstat (limited to 'example/example.hcl')
-rw-r--r--example/example.hcl24
1 files changed, 0 insertions, 24 deletions
diff --git a/example/example.hcl b/example/example.hcl
deleted file mode 100644
index dee0e0e..0000000
--- a/example/example.hcl
+++ /dev/null
@@ -1,24 +0,0 @@
-job "example" {
- datacenters = ["dc1"]
- type = "batch"
-
- group "example" {
- task "test-nix-hello" {
- driver = "nix2"
-
- config {
- command = "sh"
- args = [
- "-c",
- "pwd; ls -l *; mount; hello"
- ]
- packages = [
- "github:NixOS/nixpkgs#coreutils",
- "github:NixOS/nixpkgs#bash",
- "github:NixOS/nixpkgs#hello"
- ]
- }
- user = "lx"
- }
- }
-}