Commit Graph

745 Commits

Author SHA1 Message Date
basti fe1821739c Remove obsolete port opening
We have an nginx reverse proxy for botka instead.
2019-05-09 23:44:28 +02:00
basti 584aab76a7 Add hal8000_xmpp recipe
Also, configure express ports in attributes, so they are both easy to
see at once, as well as override per node/env.
2019-05-09 23:44:18 +02:00
Greg Karékinian 6b38396c3c Remove the 5apps hubots from dev 2019-05-08 17:53:36 +02:00
Greg Karékinian ba8b73a4dd Add mastodon to andromeda 2019-05-08 17:00:23 +02:00
Greg Karékinian 1e7f21bd41 Remove the mastodon recipes from dev 2019-05-08 17:00:07 +02:00
Greg Karékinian 90815bb274 Fix the postgresql credentials for the backup attributes 2019-05-08 16:58:47 +02:00
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
raucao afc9a6da43 Merge branch 'feature/maintenance_page' of kosmos/chef into master 2019-05-07 14:53:22 +00:00
basti 89027f1f32 Fix maintenance page paths 2019-05-07 16:10:23 +02:00
basti 016f75f89b Merge branch 'master' into feature/maintenance_page 2019-05-07 15:54:12 +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
Greg Karékinian c4d5a2c6bb Remove the ipfs cluster recipe from dev's run list 2019-05-07 14:57:47 +02:00
Greg Karékinian 36e8950eba Update ipfs again, to fix a bug in the ipfs_config resource
It could not handle integers
2019-05-07 14:56:40 +02:00
Greg Karékinian 14f0fbc7be Use the last commit of the ipfs PR 2019-05-07 14:41:57 +02:00
Greg Karékinian 4b0818177d Use an unreleased version of our ipfs cookbook to lower RAM usage 2019-05-07 14:35:53 +02:00
raucao 8df512ed0a Merge branch 'feature/51-hubot_barnard' of kosmos/chef into master 2019-05-07 12:12:47 +00:00
Greg Karékinian 4fe3b8e8e7 Move botka and hal8000 from dev to barnard
Refs #51
2019-05-07 14:10:07 +02:00
gregkare c5506d2d12 Merge branch 'bugfix/35-kredits-github_nginx' of kosmos/chef into master 2019-05-07 11:48:19 +00:00
raucao 8f4e2ca77a Merge branch 'feature/54-certbot_dev_env' of kosmos/chef into master 2019-05-03 11:31:47 +00:00
raucao 71556c50e2 Merge branch 'bugfix/56-backup_dependency' of kosmos/chef into master 2019-05-03 11:29:00 +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 64a3444c40 Use the kredits_github role on barnard
This sets up the app and its nginx reverse proxy
2019-05-02 12:40:38 +02:00
Greg Karékinian 9284b4fe85 Add the missing kredits-web::nginx recipe for barnard
This was causing the firewall rules for ports 80 and 443 to be deleted

Refs #35
2019-05-02 11:33:53 +02:00
gregkare 0a62f2d5e0 Merge branch 'chore/48-ipfs-cluster_0.10.1' of kosmos/chef into master 2019-05-02 09:16:51 +00:00
Greg Karékinian 21987c502e Add initial instructions for joining the IPFS cluster
Refs #4
2019-04-30 17:18:43 +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
raucao c6c997fcd1 Merge branch 'bugfix/46-hubot-kredits_ipfs-cluster' of kosmos/chef into master 2019-04-26 15:03:55 +00: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
raucao 30e225f63c Merge branch 'bugfix/44-ipfs_max_open_files' of kosmos/chef into master 2019-04-26 14:38:32 +00:00
Greg Karékinian ed8a8f1225 Update the ipfs cookbook to set a maximum number of files
The default is too low and was treated like a low disk space alert by
ipfs and ipfs-cluster, set it to 64000

Closes #44
2019-04-26 15:58:37 +02:00
raucao e951771a42 Merge branch 'feature/42-update_ipfs' of kosmos/chef into master 2019-04-25 17:37:43 +00: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 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
gregkare e9121f69b0 Merge branch 'chore/firewall_rules' of kosmos/chef into master 2019-04-23 09:18:57 +00:00
Greg Karékinian 47d2ebe409 Add missing firewall rule for botka on freenode 2019-04-23 11:15:06 +02:00