Deploy botka from its own public repo
This commit is contained in:
@@ -32,11 +32,17 @@ application "botka_xmpp" do
|
||||
"hubot-remotestorage-logger"
|
||||
].to_json
|
||||
end
|
||||
|
||||
file "#{new_resource.release_path}/external-scripts.json" do
|
||||
mode "0640"
|
||||
owner "hubot"
|
||||
group "hubot"
|
||||
content [].to_json
|
||||
end
|
||||
end
|
||||
|
||||
repository "git@gitlab.com:5apps/schlupp.git"
|
||||
repository "https://github.com/67P/botka.git"
|
||||
revision "master"
|
||||
deploy_key botka_xmpp_data_bag_item['deploy_key']
|
||||
|
||||
nodejs do
|
||||
entry_point "/srv/botka_xmpp/current/bin/hubot -a xmpp --name botka"
|
||||
@@ -54,7 +60,6 @@ application "botka_xmpp" do
|
||||
"RS_LOGGER_USER" => "5apps@5apps.com",
|
||||
"RS_LOGGER_TOKEN" => botka_xmpp_data_bag_item['rs_logger_token'],
|
||||
"RS_LOGGER_SERVER_NAME" => "5apps",
|
||||
"RS_OPS_TOKEN" => botka_xmpp_data_bag_item['rs_ops_token'],
|
||||
"WEBHOOK_TOKEN" => botka_xmpp_data_bag_item['webhook_token']
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user