job "builder" { namespace = "ci" type = "batch" datacenters = ["neptune", "jupiter", "corrin", "bespin"] priority = 100 parameterized { payload = "forbidden" meta_required = [ "REPO_URL", "COMMIT", "BRANCH" ] } reschedule { attempts = 0 unlimited = false } task "runner" { driver = "docker" config { image = "nixpkgs/nix:nixos-22.11" args = [ "/tmp/builder.sh" ] volumes = [ "local/builder.sh:/tmp/builder.sh", "local/nix.conf:/etc/nix/nix.conf" ] } template { data = <