github.com/hernad/nomad@v1.6.112/e2e/artifact/input/artifact_limits.nomad (about) 1 # Copyright (c) HashiCorp, Inc. 2 # SPDX-License-Identifier: MPL-2.0 3 4 job "linux" { 5 datacenters = ["dc1"] 6 type = "batch" 7 8 constraint { 9 attribute = "${attr.kernel.name}" 10 value = "linux" 11 } 12 13 group "limits" { 14 15 reschedule { 16 attempts = 0 17 unlimited = false 18 } 19 20 restart { 21 attempts = 0 22 mode = "fail" 23 } 24 25 26 task "zip_bomb" { 27 artifact { 28 source = "https://github.com/hashicorp/go-getter/blob/v1.7.0/testdata/decompress-zip/bomb.zip" 29 destination = "local/" 30 } 31 32 driver = "raw_exec" 33 config { 34 command = "/usr/bin/false" 35 } 36 37 resources { 38 cpu = 16 39 memory = 32 40 } 41 } 42 } 43 }