job "builder" { namespace = "ci" type = "batch" datacenters = ["neptune", "jupiter", "corrin", "bespin"] priority = 100 parameterized { payload = "optional" meta_required = [ "REPO_URL", "COMMIT", "BRANCH", "FLAVOR" ] } reschedule { attempts = 0 unlimited = false } constraint { distinct_hosts = true } group "runner" { task "warmup-cache" { driver = "docker" config { image = "nixpkgs/nix:nixos-22.11" args = [ "/tmp/warmup.sh" ] volumes = [ "local/warmup.sh:/tmp/warmup.sh", "/var/cache/albatros/nix:/mnt/nix" ] } lifecycle { hook = "prestart" sidecar = false } template { data = <