439 Commits

Author SHA1 Message Date
Greg Karékinian
451d182ca9 Add kredits_github role for the node app and the nginx vhost 2019-04-23 11:30:59 +02:00
Greg Karékinian
fabbe398a2 Remove the nginx recipe inclusion and the dependency on nginx in the service
The nginx vhost should be set up after the app is deployed. The node app
doesn't need nginx to run
2019-04-23 11:28:23 +02:00
Greg Karékinian
1d0f66adc4 Remove an unused dependency on the firewall cookbook 2019-04-23 11:25:16 +02:00
Greg Karékinian
3b2a3bf3fa Replace reference to sockethub, remove comment that's not relevant 2019-04-23 10:33:31 +02:00
2658b90c5b
Set log level to info
Now that everything works, we don't need detailed output for every
GitHub payload anymore.
2019-04-20 09:34:37 +01:00
f26edab7ad
Fix nginx template
It refused to accept connections when the header directive was before
the server_name one.
2019-04-20 09:25:27 +01:00
e62393e443
Update cookbook README 2019-04-19 18:52:44 +01:00
1d98bf14fe
Configure kosmos-github
closes #35
2019-04-19 18:45:13 +01:00
gregkare
45c764c83e Merge branch 'feature/hubot-schedule' of kosmos/chef into master 2019-04-17 09:15:57 +00:00
72a7b2ed8d
Add hubot-schedule
Already running on the server, with a message schedule for the Kosmos
weekly calls.
2019-04-17 10:06:15 +01:00
gregkare
1d8686e07f Merge branch 'chore/hubot_help_config' of kosmos/chef into master 2019-04-17 07:43:26 +00:00
gregkare
e64b85d532 Merge branch 'chore/update_kredits_config' of kosmos/chef into master 2019-04-17 07:43:10 +00:00
3e054645ac
Hubot Help config for DM replies
Instead of pasting the entire help content publicly, it can now respond
in private (except it seems that only works on IRC, not XMPP).
2019-04-16 17:24:01 +01:00
13de5b8bd5
Update kredits config
We're on Rinkeby now.
2019-04-16 17:22:24 +01:00
b7fe841b6d Merge branch 'chore/update-mastodon-ruby' of kosmos/chef into master 2019-04-16 11:57:57 +00:00
2def42b744
Update Ruby version for Mastodon 2019-04-16 12:56:37 +01:00
cc37219050 Merge branch 'feature/19-btcpayserver_nginx' of kosmos/chef into master 2019-04-16 08:25:53 +00:00
Greg Karékinian
6da6d2a2bf Add the kosmos-btcpayserver nginx reverse proxy to andromeda 2019-04-15 10:54:35 +02:00
Greg Karékinian
6c7ec545ce Initial kosmos-btcpayserver cookbook setting up an nginx reverse proxy
Closes #19
2019-04-15 10:53:55 +02:00
Greg Karékinian
d2142b046f Reload nginx immediately after enabling the Let's Encrypt vhost 2019-04-15 10:51:18 +02:00
gregkare
227288e28e Merge branch 'chef_14' of kosmos/chef into master 2019-04-12 11:31:37 +00:00
Greg Karékinian
cd00f4c049 Remove boilerplate from the CHANGELOG 2019-04-12 11:42:29 +02:00
Greg Karékinian
57d0885d26 Change the licenses of hte kosmos cookbooks to MIT 2019-04-12 11:41:20 +02:00
Greg Karékinian
e65374c893 Add TODO prefix 2019-04-12 11:21:37 +02:00
Greg Karékinian
5a125982af Merge branch 'master' into chef_14 2019-04-11 18:23:23 +02:00
Greg Karékinian
ba6e4220a1 Do not vendor cookbooks using Berkshelf anymore
Instead, use the Berkshelf support in knife-solo and the
vagrant-berkshelf plugin on Vagrant
2019-04-11 18:21:34 +02:00
Greg Karékinian
99fc183172 Do not vendor cookbooks using Berkshelf anymore
Instead, use the Berkshelf support in knife-solo and the
vagrant-berkshelf plugin on Vagrant
2019-04-11 18:16:28 +02:00
Greg Karékinian
67a2c1ea55 Fix the mastodon user variable 2019-04-10 16:38:57 +02:00
Greg Karékinian
4a6c1541ad Add the sockethub firewall rule for dev.kosmos.org 2019-04-10 16:34:25 +02:00
Greg Karékinian
e0aa4c5b11 Move the firewall rule for sockethub to its own recipe 2019-04-10 16:33:56 +02:00
Greg Karékinian
39744f517f Fix an undefined variable on older Ubuntu versions 2019-04-10 16:19:05 +02:00
Greg Karékinian
b3786053a5 Don't try to install packages on older Ubuntu versions (dev.kosmos.org)
The package repositories do not exist anymore
2019-04-10 16:18:22 +02:00
Greg Karékinian
590e1f83d2 Remove sockethub from the run list of dev to avoid updating it 2019-04-10 12:29:27 +02:00
Greg Karékinian
1844422fb8 Update the mediawiki cookbook 2019-04-10 11:50:23 +02:00
Greg Karékinian
919f5db431 Fix the application resources to work on Chef 14 2019-04-10 11:49:26 +02:00
Greg Karékinian
126b5f8dd5 Update the kosmos-mastodon cookbook to use the new postgresql cookbook
Don't depend on the deprecated database cookbook to create the database
2019-04-10 11:49:26 +02:00
Greg Karékinian
f6d88bbd66 Use the new base role in the dev run list 2019-04-10 11:24:56 +02:00
Greg Karékinian
1349020bb9 Remove the mediawiki cookbook from dev, it is now on andromeda 2019-04-10 11:22:12 +02:00
Greg Karékinian
ca118ca8f8 Use the second Redis database for sockethub 2019-04-09 11:39:35 +02:00
Greg Karékinian
2d18e4cd45 Set the mysql version for Ubuntu 18.04
The current mysql cookbook doesn't know the version it ships with
2019-04-09 11:09:54 +02:00
Greg Karékinian
05adca7fb2 Update the mediawiki to avoid setting permissions on /var/www 2019-04-09 11:09:33 +02:00
Greg Karékinian
21f0e4143e Move the hubot user creation to its own recipe 2019-04-08 17:58:02 +02:00
Greg Karékinian
e137188a4e Add the build_essential resource to both recipes 2019-04-08 17:58:02 +02:00
Greg Karékinian
e2c1a43a62 Fix cookbook dependency 2019-04-08 17:58:02 +02:00
Greg Karékinian
58d0557e9d Add the new base role and sockethub (moved from dev.kosmos.org) 2019-04-08 17:58:02 +02:00
Greg Karékinian
12355a6b27 Add a base role, so that chef is updated before anything else 2019-04-08 17:58:02 +02:00
Greg Karékinian
fddadbce25 Install the ruby-dev package since the backup gem needs it 2019-04-08 12:35:43 +02:00
Greg Karékinian
4b75ae78dc Set the minimum Chef version since it depends on the new sudo resource 2019-04-08 12:31:47 +02:00
Greg Karékinian
aa60d19743 Update sockethub to the latest tag
2.0.5 wasn't compatible with Node 10
2019-04-08 12:31:10 +02:00
Greg Karékinian
504ac417e2 Update nodejs to the latest LTS, using packages 2019-04-08 11:23:24 +02:00