Skip to content
Snippets Groups Projects
Commit 0021df53 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Fix indentation

parent 1b48db84
No related branches found
No related tags found
No related merge requests found
......@@ -11,44 +11,44 @@ job "reposync_scheduler" {
}
task "reposync_scheduler" {
driver = "docker"
config {
image = "https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/reposync_scheduler:${IMAGE_VER}"
logging {
type = "syslog"
config {
syslog-facility = "local4"
tag = "reposync_scheduler"
}
task "reposync_scheduler" {
driver = "docker"
config {
image = "https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/reposync_scheduler:${IMAGE_VER}"
logging {
type = "syslog"
config {
syslog-facility = "local4"
tag = "reposync_scheduler"
}
}
}
vault {
policies = ["nomad_write"]
}
template {
data = <<EOF
NOMAD_TOKEN="{{ with secret "nomad/creds/write" }}{{.Data.secret_id}}{{end}}"
EOF
destination = "secrets/nomad_token.env"
env = true
}
vault {
policies = ["nomad_write"]
}
template {
data = <<EOF
NOMAD_TOKEN="{{ with secret "nomad/creds/write" }}{{.Data.secret_id}}{{end}}"
EOF
destination = "secrets/nomad_token.env"
env = true
}
env {
NOMAD_ADDR = "$NOMAD_ADDR"
VAULT_ADDR = "$VAULT_ADDR"
}
env {
NOMAD_ADDR = "$NOMAD_ADDR"
VAULT_ADDR = "$VAULT_ADDR"
}
resources {
cpu = 100 # Mhz
memory = 128 # MB
resources {
cpu = 100 # Mhz
memory = 128 # MB
network {
mbits = 1
}
network {
mbits = 1
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment