Hector Sanjuan
d94aa5ba4f
Fix #138 : Update raft/raft-boltdb/boltdb
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-27 16:28:56 +02:00
Hector Sanjuan
0d9c7ddc0c
Make sure dist READMEs are up to date ( #137 )
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-27 14:42:23 +02:00
Hector Sanjuan
21d4105867
Updated Captain's log and added Q3 Roadmap ( #134 )
...
* Updated Captain's log and added Q3 Roadmap
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-27 14:20:59 +02:00
Hector Sanjuan
a15038e193
Badges fixes ( #135 )
...
* Point IRC badge to our own channel
* Point to protocol.ai
2017-07-26 17:33:04 +02:00
Hector Sanjuan
bcbaea2655
Rename TLS configuration options and set JSON key
...
Also, omit these keys in JSON generation when they are empty.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-25 13:20:24 +02:00
Hector Sanjuan
46bda442b5
Merge pull request #127 from ipfs/release-fixes
...
Release fixes
2017-07-25 12:11:29 +02:00
Hector Sanjuan
bf7ed938fe
Address review comments
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-25 00:21:20 +02:00
Hector Sanjuan
f9d9c0c9a7
Add a space so peer ids can be copy-pasted more easily
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-25 00:16:08 +02:00
Hector Sanjuan
69ffd20dbf
Generate secret by default.
...
This:
* Takes CLUSTER_SECRET as the secret whenever it is defined
* Generates the secret by default in other cases
* Only prompts with -s, -custom-secret.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-25 00:16:07 +02:00
Hector Sanjuan
d2a8cd658f
Merge pull request #125 from ipfs/fix/fmt-pnet_test
...
Ran `go fmt` to format pnet_test.go
2017-07-24 12:43:11 +02:00
Hector Sanjuan
7467ea6f0a
Merge pull request #124 from ipfs/feat/https-api-endpoint
...
HTTPS API endpoint support
2017-07-24 12:42:39 +02:00
dgrisham
31cee53a55
Added --no-check-certificate
flag for TLS API client
2017-07-23 10:11:10 -06:00
dgrisham
dd3db9bbc9
HTTPS REST API support implemented
2017-07-21 16:44:14 -06:00
Hector Sanjuan
683f5adf70
Merge pull request #115 from ipfs/travis-sharness
...
Travis sharness
2017-07-22 00:13:03 +02:00
Hector Sanjuan
1815d38f0e
Revert "increase delays after creation"
...
This reverts commit 5ed5a43432
.
2017-07-21 23:45:59 +02:00
Hector Sanjuan
92b265c19d
Revert "Safer delays for Realloc test"
...
This reverts commit 22ec357793
.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-21 23:45:33 +02:00
Hector Sanjuan
8d3c72b766
Fix tests: Make metric broadcasting async
...
When a peer is down, metric broadcasting hangs, and no more
ticks are sent for a while.
2017-07-21 23:45:33 +02:00
Hector Sanjuan
4ea1777050
Fix sharness tests
...
Use docker to run ipfs
Improve intialization of daemons
Fix a bunch of tests
Improve run script
Make sure everything is shell-compatible (remove bash syntax)
Fit to run in travis
2017-07-21 11:24:17 +02:00
ZenGround0
99217ea84e
Travis sharness ( #110 )
...
* Added travis sharness build
* ipfs-cluster-ctl help text width overflow fixed
* Expect success from fixed sharness test
* First travis-sharness PR touch up
Undoes gx rewrite of cluster-ctl dependencies
Undoess linebreaking of usage descriptions
Changes test to check for lines in excess of 120 chars instead of 80
run-sharness script now correctly tracks exit codes and exits with error
2017-07-21 11:24:17 +02:00
Hector Sanjuan
ab66e92cd9
Merge pull request #126 from ipfs/fix/tests
...
Fix/tests
2017-07-21 11:23:39 +02:00
Hector Sanjuan
22ec357793
Safer delays for Realloc test
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-21 10:34:20 +02:00
Hector Sanjuan
5ed5a43432
increase delays after creation
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-21 10:06:22 +02:00
dgrisham
8e91759cfa
Ran go fmt
to format pnet_test.go
2017-07-20 17:12:34 -06:00
Hector Sanjuan
c2e91c3da7
Merge pull request #118 from ipfs/97-default-data-folder
...
Fix #97 : Assume default DataFolder as subfolder to config folder when empty
2017-07-19 14:57:55 +02:00
Hector Sanjuan
ab1cc47d75
Fix #97 : Assume default DataFolder as subfolder to config folder when empty.
...
We no longer set ConsensusDataFolder. We leave it empty (and ommited from the
configuration). When not set, it will take the path from which the configuration
file was read and use an "ipfs-cluster-data" subfolder in that path.
When set, the behaviour is just as before (ensures backwards compatiblity).
This will facilitate re-use of configuration files, for example, when mounting
them inside docker.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-18 11:36:24 +02:00
Hector Sanjuan
6968d8f2d7
Merge pull request #123 from ipfs/fix/empty-cluster-secret
...
Allow empty cluster secret, update test to reflect this.
2017-07-17 20:56:06 +02:00
Hector Sanjuan
b6dd6d4ade
Merge pull request #114 from ipfs/fix/ctl-descriptions
...
improve ipfs-cluster-ctl command help.
2017-07-15 15:49:50 +02:00
Hector Sanjuan
dcf9502d07
Address feedback in review
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-14 21:22:52 +02:00
dgrisham
7fdb1ad6b2
Allow empty cluster secret, update test to reflect this.
2017-07-14 10:18:34 -06:00
Hector Sanjuan
fc029269ff
Merge pull request #109 from ipfs/feat/pnet
...
Private Network impl
2017-07-13 21:33:55 +02:00
Hector Sanjuan
568bb54256
Latest touches to documentation
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-13 21:12:44 +02:00
Hector Sanjuan
ab1de86b4a
fix golint complaining about some missing docs
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-13 20:58:55 +02:00
dgrisham
1154aff568
Added test for secret format validation.
2017-07-13 11:41:20 -06:00
dgrisham
90d1e97a8e
Cluster secret: Docs, error handling, internal key mgmt.
2017-07-13 11:17:30 -06:00
dgrisham
98335901fc
Refactored private network implementation + config.
2017-07-08 11:11:49 -06:00
Hector Sanjuan
c639ee04d5
Merge pull request #116 from ipfs/update/gx
...
Update gx to v0.12.0 and gx-go to v1.5.0
2017-07-07 10:16:24 +02:00
Hector Sanjuan
2f8f6af030
Update gx to v0.12.0 and gx-go to v1.5.0
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-07 06:45:00 +02:00
Hector Sanjuan
f0552969ff
Merge pull request #113 from ipfs/fix/peer-rm
...
Re-allocate pins on peer removal
2017-07-05 20:30:26 +02:00
Hector Sanjuan
157e98d25e
Print number of candidates when not getting enough
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-05 19:08:37 +02:00
Hector Sanjuan
ec0451d9e8
Print current candidates in the error when there are not enough
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-05 18:53:05 +02:00
Hector Sanjuan
73b7dc53a1
Fix tests
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-05 17:00:19 +02:00
Hector Sanjuan
b1b5bed544
allocate: shortcut when not enough candidates
...
repinFromPeer: use helper function.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-05 16:38:36 +02:00
Hector Sanjuan
faa755f43a
Re-allocate pins on peer removal
...
PeerRm now triggers re-pinning of all the Cids allocated to
the removed peer.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-05 16:38:36 +02:00
dgrisham
59fde30e1e
swarm secret implementation started
2017-07-03 14:00:01 -06:00
Hector Sanjuan
5b0460f514
Fix #101 : Sort peers on output from ipfs-cluster ctl
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-03 20:15:59 +02:00
Hector Sanjuan
235a9fc069
improve ipfs-cluster-ctl command help.
...
It seems that urfave/cli acts differently handling Description and Usage
depending on whether it is dealing with a command or a subcommand.
This fixes most of these issues, as well as the commands output which was
printing some blank lines.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-03 18:36:00 +02:00
dgrisham
1d90130f65
initial tests passing
2017-06-29 18:59:36 -06:00
ZenGround0
1d81a1fedc
Docker test image add cluster respawn ( #111 )
...
* First draft of test dockerfile build
* Test dockerfile, build works, container runs and cluster tests go through
* Removed fifo for output
* renaming dockerfile
* Adding functionality for test 12
Added scripts and entrypoint mods to the testing docker image to allow for random shut down and startup
(both SIGSTOP and SIGINT) of the ipfs-cluster-service.
* test docker image ready for tests 12 and 13
* Added cluster daemon respawn
to docker image
2017-06-29 12:34:00 +02:00
dgrisham
7bcf64f6b5
build succeeds, PNETs seem to work -- still need tests
...
License: MIT
Signed-off-by: David Grisham <dgrisham@mines.edu>
2017-06-27 10:30:15 -06:00
Hector Sanjuan
39276a1e7b
Merge pull request #107 from ipfs/fix/105-panic-rpc-calls
...
Fix #105 : Panic when calling globalPinInfoCid and peers are down
2017-06-23 09:57:16 +02:00