Created
August 29, 2019 16:36
-
-
Save dradtke/740f692d2200ce29e2da21da73e0527a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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