50 Commits

Author SHA1 Message Date
9f430fa6d2
Bump cookbook version 2020-10-25 11:25:48 +01:00
05a04ac832
Update go-ipfs to 0.7 2020-10-25 11:18:25 +01:00
2dfbc073ed
Merge pull request #16 from 67P/bugfix/14-restart_on_update
Restart the service on update
2019-08-14 19:01:33 +02:00
e2c00c2afb
Merge pull request #15 from 67P/bugfix/specs
Fix the specs
2019-08-14 18:59:32 +02:00
Greg Karékinian
b3b03a9744 Remove Ubuntu 16.04 from the Travis matrix 2019-08-14 17:10:14 +02:00
Greg Karékinian
d845e3443a Add the CHEF_LICENSE environment variable again 2019-08-14 17:07:30 +02:00
Greg Karékinian
ae5a27d100 Fix a linting error 2019-08-14 17:05:39 +02:00
Greg Karékinian
200552d1b7 Restart the service on update
A restart notification on the service was missing on the ark resource
that takes care of downloading and installing/updating go-ipfs

Fixes #14
2019-08-14 17:02:20 +02:00
Greg Karékinian
856b48d015 Fix the specs not being seen on Travis 2019-08-14 16:49:16 +02:00
Greg Karékinian
9fd88a7da3 Accept the Chef license as part of the config files 2019-08-14 16:47:41 +02:00
Greg Karékinian
2552847d7e Remove the deleted cluster specs from the kitchen config files 2019-08-14 16:38:30 +02:00
Greg Karékinian
b6028ffff8 Do not run specs on Ubuntu 16.04 2019-08-14 16:38:30 +02:00
Greg Karékinian
f25802a6ce Fix the checks for the default config in the integration specs 2019-08-14 16:33:03 +02:00
5c31191ff8
Merge pull request #12 from 67P/feature/go-ipfs_0.4.22
Update go-ipfs to 0.4.22
v0.4.1
2019-08-14 11:32:43 +02:00
Greg Karékinian
7dc20eea12 Update go-ipfs to 0.4.22
https://blog.ipfs.io/054-go-ipfs-0.4.22

Closes #11
2019-08-14 11:27:17 +02:00
Greg Karékinian
1d09c15108 Fix Markdown line break 2019-07-05 16:01:24 +02:00
Greg Karékinian
79a12165a2 Update the README v0.4.0 2019-07-05 15:59:53 +02:00
0c6416f9c7
Merge pull request #10 from 67P/feature/better_config
Improve the default config
2019-07-05 15:56:11 +02:00
Greg Karékinian
7b524204c8 Update the README for the changes to the config attribute 2019-07-05 15:50:30 +02:00
Greg Karékinian
f118a954fa Another linting fix 2019-07-05 15:46:22 +02:00
Greg Karékinian
468b6d9a9d Fix the linting warnings 2019-07-05 15:42:13 +02:00
Greg Karékinian
679f78d248 Bump the cookbook version
Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
2019-07-05 15:29:13 +02:00
Greg Karékinian
9cdbf6d947 Use the new attributes for ulimit and max memory
Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
2019-07-05 15:29:08 +02:00
Greg Karékinian
0e6ac38434 Improve the default config
Enable CORS and writeable gateway by default, remove config that only
applies to Kosmos

Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
2019-07-05 15:29:02 +02:00
Greg Karékinian
d54e962926 Get rid of the cluster recipes and tests
Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
2019-07-05 15:28:54 +02:00
Greg Karékinian
95e92a0703 Bump the ipfs version, remove the ipfs-cluster attributes
Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
2019-07-05 15:28:12 +02:00
3d4e9cceea
Merge pull request #7 from 67P/feature/5-default_config_attributes
Move the default config to a Chef attribute
2019-06-25 15:47:03 +02:00
Greg Karékinian
cfa3435c40 Fix the indentation of an EOF in the integration tests 2019-06-20 19:10:29 +02:00
Greg Karékinian
01c2246454 Bump the cookbook version 2019-06-20 18:22:57 +02:00
Greg Karékinian
b2c7416087 Merge branch 'master' into feature/5-default_config_attributes 2019-06-20 18:22:44 +02:00
Greg Karékinian
6d31746a87
Merge pull request #8 from 67P/feature/cluster_checksums
Add the checksums for the cluster packages
2019-06-20 18:20:26 +02:00
Greg Karékinian
18d04d68fd Accept the Chef license agreement on Travis
Based on
c3eaf7eac2/.travis.yml
2019-06-20 18:08:24 +02:00
Greg Karékinian
ddad121924 Add the checksums for the cluster packages
It prevents Chef from trying to download the packages again if the files
are already present with the correct checksum
2019-06-20 13:00:08 +02:00
Greg Karékinian
ae97c0d739 Fix the linting errors 2019-05-09 19:29:38 +02:00
Greg Karékinian
553ec510eb Move the default config to a Chef attribute
This is tested by serverspec integration test

Closes #5
2019-05-09 18:38:56 +02:00
c6a0159e82
Merge pull request #4 from 67P/feature/reduce_memory_usage
Reduce the memory usage of go-ipfs
2019-05-07 15:21:08 +02:00
Greg Karékinian
5aa50ecc7e Fix the ipfs_config resource to handle integers too 2019-05-07 14:55:41 +02:00
Greg Karékinian
f22b7d9b1f Update the Berksfile.lock file 2019-05-07 14:55:29 +02:00
Greg Karékinian
5303612854 Turn integers into strings for now 2019-05-07 14:41:06 +02:00
Greg Karékinian
76d60b87dd Reduce the memory usage of go-ipfs
Lower the number of connections, change the routing mode to dhtclient,
and disable bandwidth metrics. This is hardcoded for now
2019-05-07 14:30:29 +02:00
Greg Karékinian
c6853c4d09 Set the maximum number of open files in the systemd unit
This prevents IPFS reaching the limit (1024 by default), which is
treated like a low disk space threshold by ipfs and ipfs-cluster
v0.1.3
2019-04-26 15:54:33 +02:00
Greg Karékinian
78d3edfd78 Set bash as the shell for the ipfs user v0.1.2 2019-03-13 10:55:54 +01:00
Greg Karékinian
0668eae4c5
Merge pull request #3 from 67P/feature/ipfs-cluster_upgrade
Run ipfs-cluster with the --upgrade switch
v0.1.1
2019-02-25 12:55:30 +01:00
Greg Karékinian
c6c5d00f36 Run ipfs-cluster with the --upgrade switch
It upgrades the state if needed
2019-02-25 12:51:37 +01:00
Greg Karékinian
81fcb97657 Fix the link to the custom resources docs in the README 2019-01-04 11:59:09 +01:00
Greg Karékinian
b98b45584c Migrate IPFS repo automatically if necessary
go-ipfs can automatically migrate the repo if necessart after a software
upgrade, but it needs to the `--migrate` option flag to do so.
2018-10-26 17:39:36 +02:00
Greg Karékinian
ec2cda08f6 Update the default ipfs version to the latest one 2018-10-26 16:55:21 +02:00
Greg Karékinian
e83b3da34e
Merge pull request #2 from 67P/mit_license
Change the license to MIT
2018-10-26 16:38:35 +02:00
Greg Karékinian
f920b23253 Change the license to MIT 2018-08-13 11:36:08 +02:00
Greg Karékinian
5578cada68 Initial commit 2018-08-10 16:35:14 +02:00