github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/e2e/taskevents/input/failed_batch.nomad (about)

     1  job "failed_batch" {
     2    type        = "batch"
     3    datacenters = ["dc1"]
     4  
     5    constraint {
     6      attribute = "${attr.kernel.name}"
     7      value     = "linux"
     8    }
     9  
    10    group "failed_batch" {
    11      restart {
    12        attempts = 0
    13      }
    14  
    15      task "failed_batch" {
    16        driver = "raw_exec"
    17  
    18        config {
    19          command = "SomeInvalidCommand"
    20        }
    21      }
    22    }
    23  }