Commit Graph

434 Commits

Author SHA1 Message Date
Greg Karékinian 7271065c5b Add names to the execute resources 2019-05-08 16:58:31 +02:00
Greg Karékinian 81192f7277 Fix the backup config format to work with backup 5 2019-05-08 12:26:47 +02:00
basti 89027f1f32 Fix maintenance page paths 2019-05-07 16:10:23 +02:00
basti 99a677ec47 Configure maintenance error page for 503 2019-05-07 15:52:58 +02:00
basti 1ee2b5ad41 Add maintenance page feature to Mastodon nginx site 2019-05-07 15:49:01 +02:00
basti 36a50489d0 Add maintenance page to nginx default recipe 2019-05-07 15:46:00 +02:00
basti 9811490aad Add self-contained maintenance web page
This can be used for any of our services when doing planned maintenance
or migrations.
2019-05-07 15:11:26 +02:00
raucao 8f4e2ca77a Merge branch 'feature/54-certbot_dev_env' of kosmos/chef into master 2019-05-03 11:31:47 +00:00
Greg Karékinian 37aa87df5e Add a missing dependency on the zlib1g-dev for the backup gem
Fixes #56
2019-05-03 10:58:39 +02:00
Greg Karékinian 5bb34554a7 The nginx_certbot_site resource does nothing in the dev environment
No need to check for the environment in recipes that use the resource

Closes #54
2019-05-03 10:55:02 +02:00
Greg Karékinian 61607f77c4 Update ipfs-cluster to 0.10.1
ipfs-cluster-ctl commands such as `pin rm` now work

Closes #48
2019-04-30 12:58:10 +02:00
Greg Karékinian 696d7cd561 Set up kosmos-hubot to use ipfs-cluster
That way a new document will be added and pinned on all members of the
cluster

Fixes #46
2019-04-26 16:54:02 +02:00
Greg Karékinian c186ebf703 Update go-ipfs to 0.4.20
https://github.com/ipfs/go-ipfs/blob/v0.4.20/CHANGELOG.md
2019-04-25 19:20:16 +02:00
gregkare ec067d4b80 Merge branch 'feature/35-kredits_github' of kosmos/chef into master 2019-04-25 14:03:15 +00:00
gregkare 3566184277 Merge branch 'feature/hubot-kredits_config' of kosmos/chef into master 2019-04-25 14:02:34 +00:00
gregkare d4514a1871 Merge branch 'feature/add_ipfs_id' of kosmos/chef into master 2019-04-25 13:21:33 +00:00
basti d162233e8d Add Gitea config for hal8000 2019-04-24 17:50:45 +01:00
Greg Karékinian 2cf611279b Make the systemd unit for kredits-github not world readable
This way the environment variables are kept secret. Only root can read
`/proc/$ID/environ`
2019-04-23 14:12:55 +02:00
Greg Karékinian f5051d6352 Revert "Move the environment variables to an EnvironmentFile"
This reverts commit 79023a65f2.
2019-04-23 14:12:16 +02:00
Greg Karékinian ecf5870195 Only add the Let's Encrypt set up when not in the dev environment 2019-04-23 11:41:12 +02:00
Greg Karékinian 79023a65f2 Move the environment variables to an EnvironmentFile 2019-04-23 11:40:33 +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 47d2ebe409 Add missing firewall rule for botka on freenode 2019-04-23 11:15:06 +02:00
Greg Karékinian bafa24351a Remove firewall rule that is already defined 2019-04-23 11:14:33 +02:00
Greg Karékinian 3b2a3bf3fa Replace reference to sockethub, remove comment that's not relevant 2019-04-23 10:33:31 +02:00
basti 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
basti 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
basti e62393e443 Update cookbook README 2019-04-19 18:52:44 +01:00
basti 1d98bf14fe Configure kosmos-github
closes #35
2019-04-19 18:45:13 +01:00
basti 7c29957ed9 Fix and consolidate firewall rules
Most of them are already defined in the appropriate recipe. And one can
be moved. (These are currently opened on every server for no reason.)
2019-04-19 15:52:56 +01:00
Greg Karékinian 94cb7c8e20 Add the id endpoint to our IPFS reverse proxy 2019-04-18 11:00:22 +02:00
Greg Karékinian b45430f63a Set permissions for the upload folder 2019-04-17 11:22:12 +02:00
basti 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
Greg Karékinian 0e379644c5 MIT license for the kosmos-ejabberd cookbook 2019-04-17 10:30:29 +02:00
Greg Karékinian 1b770c0e95 Set up Let's Encrypt for the kosmos.org ejabberd server 2019-04-17 10:14:50 +02:00
Greg Karékinian 80449ccbeb Add a recipe that sets up backups for ejabberd 2019-04-17 10:14:50 +02:00
Greg Karékinian 9346188ca7 Initial kosmos-ejabberd cookbook 2019-04-17 10:11:52 +02:00
gregkare 1d8686e07f Merge branch 'chore/hubot_help_config' of kosmos/chef into master 2019-04-17 07:43:26 +00:00
basti 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
basti 13de5b8bd5 Update kredits config
We're on Rinkeby now.
2019-04-16 17:22:24 +01:00
basti 2def42b744 Update Ruby version for Mastodon 2019-04-16 12:56:37 +01: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
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 67a2c1ea55 Fix the mastodon user variable 2019-04-10 16:38:57 +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