Delete the IRC schlupp that was running on Grove
This commit is contained in:
parent
6ce2d04879
commit
a045203f80
@ -1,56 +0,0 @@
|
||||
#
|
||||
# Cookbook Name:: 5apps-hubot
|
||||
# Recipe:: default
|
||||
#
|
||||
# Copyright 2016, Kosmos
|
||||
#
|
||||
# All rights reserved - Do Not Redistribute
|
||||
#
|
||||
|
||||
firewall_rule 'hubot_express_schlupp' do
|
||||
port 8081
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
||||
schlupp_5apps_data_bag_item = Chef::EncryptedDataBagItem.load('credentials', 'schlupp_5apps')
|
||||
|
||||
application "schlupp" do
|
||||
path "/srv/schlupp"
|
||||
owner "hubot"
|
||||
group "hubot"
|
||||
|
||||
action :deploy
|
||||
|
||||
repository "git@gitlab.com:5apps/schlupp.git"
|
||||
revision "master"
|
||||
deploy_key schlupp_5apps_data_bag_item['deploy_key']
|
||||
|
||||
nodejs do
|
||||
entry_point "/srv/schlupp/current/bin/hubot -a irc"
|
||||
# Use our own systemd service that depends on redis-server
|
||||
template "nodejs.systemd.service.erb"
|
||||
environment "HUBOT_IRC_SERVER" => "5apps.irc.grove.io",
|
||||
"HUBOT_IRC_SERVER_CERT_EXPIRED" => "false", # Accept expired grove cert
|
||||
"HUBOT_IRC_SERVER_FAKE_SSL" => "true",
|
||||
"HUBOT_IRC_ROOMS" => "#5apps,#5info,#5ops,#core,#deploy,#gymapp,#liveident,#storage,#watercooler",
|
||||
"HUBOT_IRC_NICK" => "schlupp",
|
||||
"HUBOT_IRC_NICKSERV_PASSWORD" => schlupp_5apps_data_bag_item['nickserv_password'],
|
||||
"HUBOT_IRC_PASSWORD" => "5apps",
|
||||
"HUBOT_IRC_UNFLOOD" => "100",
|
||||
"HUBOT_RSS_PRINTSUMMARY" => "false",
|
||||
"HUBOT_RSS_IRCCOLORS" => "true",
|
||||
"EXPRESS_PORT" => "8081",
|
||||
"HUBOT_RSS_HEADER" => "Update:",
|
||||
"HUBOT_AUTH_ADMIN" => "galfert,gregkare,basti",
|
||||
"HUBOT_IRC_USESSL" => "true",
|
||||
"REDIS_URL" => "redis://localhost:6379/5apps",
|
||||
"HUBOT_IRC_PORT" => "6697",
|
||||
"RS_LOGGER_USER" => "5apps@5apps.com",
|
||||
"RS_LOGGER_TOKEN" => schlupp_5apps_data_bag_item['rs_logger_token'],
|
||||
"RS_LOGGER_SERVER_NAME" => "grove-5apps",
|
||||
"RS_OPS_TOKEN" => schlupp_5apps_data_bag_item['rs_ops_token'],
|
||||
"WEBHOOK_TOKEN" => schlupp_5apps_data_bag_item['webhook_token']
|
||||
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user