Skip to content

Instantly share code, notes, and snippets.

@dradtke
Created August 29, 2019 16:36
Show Gist options
  • Save dradtke/740f692d2200ce29e2da21da73e0527a to your computer and use it in GitHub Desktop.
Save dradtke/740f692d2200ce29e2da21da73e0527a to your computer and use it in GitHub Desktop.
job "hubot" {
region = "us"
datacenters = ["us-central"]
type = "service"
group "hubots" {
count = 1
task "hubot" {
driver = "exec"
config {
command = "bash"
args = [
"-c",
"cd local && exec node_modules/hubot/bin/hubot --adapter slack",
]
}
env {
PATH = "node_modules/coffeescript/bin:/usr/bin"
HUBOT_LOG_LEVEL = "debug"
HUBOT_SLACK_TOKEN = "..."
}
artifact {
source = ".../hubot.tar.gz"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment