github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/artifacts.hcl (about)

     1  job "binstore-storagelocker" {
     2    group "binsl" {
     3      task "binstore" {
     4        driver = "docker"
     5  
     6        artifact {
     7          source      = "http://foo.com/bar"
     8          destination = ""
     9  
    10          options {
    11            foo = "bar"
    12          }
    13        }
    14  
    15        artifact {
    16          source = "http://foo.com/baz"
    17        }
    18  
    19        artifact {
    20          source      = "http://foo.com/bam"
    21          destination = "var/foo"
    22        }
    23      }
    24    }
    25  }