Commit Graph

54 Commits

Author SHA1 Message Date
Basti c1c08b1ced
Bump version 2022-05-12 17:02:27 +02:00
Basti 8f3b79d7f0
Remove superfluous license headers 2022-05-12 17:02:17 +02:00
Basti ee0c6f7de0
Upgrade go-ipfs 2022-05-12 17:02:01 +02:00
Râu Cao d7c25b6ce5 Merge pull request 'Update go-ipfs to 0.7.0' (#4) from chore/update_go_ipfs into master
Reviewed-on: #4
2020-10-25 11:04:21 +00:00
Basti 9f430fa6d2
Bump cookbook version 2020-10-25 11:25:48 +01:00
Basti 05a04ac832
Update go-ipfs to 0.7 2020-10-25 11:18:25 +01:00
Basti 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
Basti e2c00c2afb
Merge pull request #15 from 67P/bugfix/specs
Fix the specs
2019-08-14 18:59:32 +02:00
Greg b3b03a9744 Remove Ubuntu 16.04 from the Travis matrix 2019-08-14 17:10:14 +02:00
Greg d845e3443a Add the CHEF_LICENSE environment variable again 2019-08-14 17:07:30 +02:00
Greg ae5a27d100 Fix a linting error 2019-08-14 17:05:39 +02:00
Greg 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 856b48d015 Fix the specs not being seen on Travis 2019-08-14 16:49:16 +02:00
Greg 9fd88a7da3 Accept the Chef license as part of the config files 2019-08-14 16:47:41 +02:00
Greg 2552847d7e Remove the deleted cluster specs from the kitchen config files 2019-08-14 16:38:30 +02:00
Greg b6028ffff8 Do not run specs on Ubuntu 16.04 2019-08-14 16:38:30 +02:00
Greg f25802a6ce Fix the checks for the default config in the integration specs 2019-08-14 16:33:03 +02:00
Basti 5c31191ff8
Merge pull request #12 from 67P/feature/go-ipfs_0.4.22
Update go-ipfs to 0.4.22
2019-08-14 11:32:43 +02:00
Greg 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 1d09c15108 Fix Markdown line break 2019-07-05 16:01:24 +02:00
Greg 79a12165a2 Update the README 2019-07-05 15:59:53 +02:00
Basti 0c6416f9c7
Merge pull request #10 from 67P/feature/better_config
Improve the default config
2019-07-05 15:56:11 +02:00
Greg 7b524204c8 Update the README for the changes to the config attribute 2019-07-05 15:50:30 +02:00
Greg f118a954fa Another linting fix 2019-07-05 15:46:22 +02:00
Greg 468b6d9a9d Fix the linting warnings 2019-07-05 15:42:13 +02:00
Greg 679f78d248 Bump the cookbook version
Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
2019-07-05 15:29:13 +02:00
Greg 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 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 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 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
Basti 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 cfa3435c40 Fix the indentation of an EOF in the integration tests 2019-06-20 19:10:29 +02:00
Greg 01c2246454 Bump the cookbook version 2019-06-20 18:22:57 +02:00
Greg 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 18d04d68fd Accept the Chef license agreement on Travis
Based on
c3eaf7eac2/.travis.yml
2019-06-20 18:08:24 +02:00
Greg 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 ae97c0d739 Fix the linting errors 2019-05-09 19:29:38 +02:00
Greg 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
Basti 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 5aa50ecc7e Fix the ipfs_config resource to handle integers too 2019-05-07 14:55:41 +02:00
Greg f22b7d9b1f Update the Berksfile.lock file 2019-05-07 14:55:29 +02:00
Greg 5303612854 Turn integers into strings for now 2019-05-07 14:41:06 +02:00
Greg 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 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
2019-04-26 15:54:33 +02:00
Greg 78d3edfd78 Set bash as the shell for the ipfs user 2019-03-13 10:55:54 +01:00
Greg 0668eae4c5
Merge pull request #3 from 67P/feature/ipfs-cluster_upgrade
Run ipfs-cluster with the --upgrade switch
2019-02-25 12:55:30 +01:00
Greg c6c5d00f36 Run ipfs-cluster with the --upgrade switch
It upgrades the state if needed
2019-02-25 12:51:37 +01:00
Greg 81fcb97657 Fix the link to the custom resources docs in the README 2019-01-04 11:59:09 +01:00
Greg 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