ci: removed (funt)

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-03-29 11:03:10 +05:30
parent c1ab7ed363
commit d170ae0e1a
2 changed files with 0 additions and 153 deletions

View File

@@ -1,39 +0,0 @@
job "singh4" {
region = "global"
datacenters = ["nazrin"]
type = "service"
group "svc" {
count = 1
network {
mode = "bridge"
}
vault {
policies = ["singh4-policy"]
}
task "bot" {
driver = "docker"
config {
image = "natto17/singh4:latest"
force_pull = true
volumes = [ "/tmp:/tmp" ]
}
template {
data = <<EOF
{{with secret "kv/data/singh4/discord"}}
DISCORD_TOKEN="{{.Data.data.token}}"
{{end}}
RUST_BACKTRACE=1
EOF
destination = "${NOMAD_SECRETS_DIR}/data.env"
env = true
}
}
}
}