919f5db431
Fix the application resources to work on Chef 14
2019-04-10 11:49:26 +02:00
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
1ef24a2091
Install bundler 1.17.3 since we're still on Ruby 2.5 for now
...
Bundler 2.0 needs Ruby 2.6 or RubyGems 3.0
2019-04-03 11:02:51 +02:00
58b5e5ac22
Move the creation of the SystemD service files outside of the application
...
This prevents a crash on the initial Chef run due to the service files
not being there yet before the services gets notified to restart
2019-04-03 11:02:25 +02:00
17f1b2a20a
Create a nginx_certbot_site resource to remove duplication
...
It creates a folder, the nginx vhost for certbot and HTTP redirects, and
also runs certbot and recreates the nginx vhost that includes the TLS
cert
2019-03-15 19:03:28 +01:00
36e046ea73
Run certbot using the binary provided by the Ubuntu PPA
2019-03-14 10:52:44 +01:00
f082269e66
Use Gitea repo, new branch, new Ruby
2019-01-27 12:46:21 +08:00
90851fb7de
Update Mastodon's Ruby
2018-11-01 12:19:30 +01:00
4bccf4dd88
Fix missing Mastodon/PosgreSQL backups
...
The backup cookbook was incomplete, and also there was no database
configured to be backed up.
2018-09-08 12:54:51 +08:00
e6a3460a2c
Make the number of sidekiq threads configurable, bump to 25
2018-09-03 19:11:42 +02:00
adbfc14765
Update Mastodon deps
2018-05-24 21:29:54 +02:00
c3933012dd
We install nodejs from package, update paths
2018-04-17 13:19:23 +02:00
8653a8fa97
Use jemalloc1 on Puma and Sidekiq to lower the memory usage
...
More details:
https://www.speedshop.co/2017/12/04/malloc-doubles-ruby-memory.html
2018-03-20 16:07:55 +01:00
206e807ac7
Use custom version of poise-javascript
...
Fixes npm-outdated breaking chef runs all the time.
See https://github.com/poise/poise-javascript/pull/8
2017-11-05 00:37:20 +01:00
5b1c583313
Update node and yarn
2017-10-29 17:24:29 +01:00
08330e8749
Update Ruby and Yarn for Mastodon
2017-10-28 23:36:13 +02:00
69b38552c6
Add vapid keys
2017-07-31 13:00:20 +02:00
2f6ab1e0b1
Add new apt deps, missing yarn install
2017-07-27 12:07:56 +02:00
e39792ea36
Update Mastodon Redis config
...
They introduced Redis URLs for the config, so I removed our own
additions and added the URL.
2017-06-16 12:09:22 -07:00
9065db8476
Update mastodon cookbook for 1.4.1
...
There is a strange issue with assets precompilation. I have found a
workaround but it looks like a bug in application_ruby (in production I
fixed it manually)
2017-06-02 18:30:57 +02:00
2f0ff1f559
Fixed code styling
2017-04-28 15:45:59 +02:00
208d6de94d
Add dependency on redis and do backups again
2017-04-21 12:54:16 +02:00
fe44b29b62
Use kosmos branch for Mastodon
2017-04-17 16:52:59 +02:00
764746a009
Remove obsolete commented code
2017-04-17 16:15:41 +02:00
0cf22f7f71
Use server name from attribute everywhere
2017-04-17 16:12:06 +02:00
54332db8de
Use ruby-build for Mastodon, update cookbooks
...
This uses the ruby_build provider for Mastodon, installing Ruby 2.4.1
currently. It also updates some other cookbooks and the runlists.
2017-04-17 11:40:31 +02:00
4530190df6
Use "kosmos" branch for Mastodon deploys
2017-04-08 16:10:43 +01:00
99a5091760
Backup the mastodon PostgreSQL database
2017-04-07 18:21:20 +02:00
de11c0d691
Set up an instance of Mastodon for Kosmos
...
Refs #19
Use new application cookbook, update our cookbooks
2017-04-06 21:20:51 +02:00