parent
ad774ccfa1
commit
4678dc7b4d
|
@ -14,7 +14,9 @@ job "identity" {
|
|||
driver = "docker"
|
||||
config {
|
||||
image = "bash:5"
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done"]
|
||||
|
||||
#HACK(schmichael) without the ending `sleep 2` we seem to sometimes miss logs :(
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done; sleep 2"]
|
||||
}
|
||||
resources {
|
||||
cpu = 16
|
||||
|
@ -31,7 +33,9 @@ job "identity" {
|
|||
driver = "docker"
|
||||
config {
|
||||
image = "bash:5"
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done"]
|
||||
|
||||
#HACK(schmichael) without the ending `sleep 2` we seem to sometimes miss logs :(
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done; sleep 2"]
|
||||
}
|
||||
resources {
|
||||
cpu = 16
|
||||
|
@ -51,7 +55,9 @@ job "identity" {
|
|||
driver = "docker"
|
||||
config {
|
||||
image = "bash:5"
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done"]
|
||||
|
||||
#HACK(schmichael) without the ending `sleep 2` we seem to sometimes miss logs :(
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done; sleep 2"]
|
||||
}
|
||||
resources {
|
||||
cpu = 16
|
||||
|
@ -70,7 +76,9 @@ job "identity" {
|
|||
driver = "docker"
|
||||
config {
|
||||
image = "bash:5"
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done"]
|
||||
|
||||
#HACK(schmichael) without the ending `sleep 2` we seem to sometimes miss logs :(
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done; sleep 2"]
|
||||
}
|
||||
resources {
|
||||
cpu = 16
|
||||
|
@ -90,7 +98,9 @@ job "identity" {
|
|||
driver = "docker"
|
||||
config {
|
||||
image = "bash:5"
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done"]
|
||||
|
||||
#HACK(schmichael) without the ending `sleep 2` we seem to sometimes miss logs :(
|
||||
args = ["-c", "wc -c < secrets/nomad_token; env | grep NOMAD_TOKEN; echo done; sleep 2"]
|
||||
}
|
||||
resources {
|
||||
cpu = 16
|
||||
|
|
Loading…
Reference in New Issue