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
Hector Sanjuan
d0fff1022d
Fix #105 : Panic when calling globalPinInfoCid and peers are down
...
We were setting a nil Cid on the PinInfo object for errors.
Cleaned up the logic a bit, and added comments
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-06-21 14:24:23 +02:00
ZenGround0
6e4b325b35
Docker test image random reaper ( #106 )
...
* 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
2017-06-20 12:23:11 +02:00
ZenGround0
0c9f729662
Docker test image build ( #103 )
...
* First draft of test dockerfile build
* Test dockerfile, build works, container runs and cluster tests go through
* Removed fifo for output
* renaming dockerfile
2017-06-16 15:07:08 +02:00
Hector Sanjuan
7943a7fb6c
Merge pull request #102 from ipfs/fix/status-when-peer-down
...
Fixes #100 : EOF responses when cluster peer is not responding
2017-05-19 22:26:47 +02:00
Hector Sanjuan
cc8c9da28d
Fixes #100 : EOF responses when cluster peer is not responding
...
The ReadTimeout for the API was the same as for RPC. So the error
did not have time to be correctly returned to the client.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-05-18 13:16:27 +02:00
Hector Sanjuan
837e90b685
Merge pull request #93 from ZenGround0/sharness_WIP
...
Sharness Tests
2017-05-06 09:32:15 +02:00
Wyatt
633c97961c
Fixing whitespace and minor Make issues
2017-05-05 10:02:07 -07:00
Wyatt
22c0503a71
Correct untar during make
2017-05-05 10:01:09 -07:00
Wyatt
8286cd0ae2
Address 2nd round of comments
2017-05-05 10:00:17 -07:00
Wyatt
6f4c139cf9
Sharness Tests updated
...
I have attempted to address all of the comments on the original PR.
The sharness tests now make use of prereqs, see test-lib for details
and helper functions.
2017-05-05 09:59:23 -07:00
Wyatt
eac6c08a22
Sharness tests and library precondition setting fns updated
2017-05-05 09:59:22 -07:00
Wyatt
4a231b746f
ctl basic cleanup
2017-05-05 09:59:22 -07:00
Wyatt
568b69b721
GPL compatability, fully automatic sharness build and clean
2017-05-05 09:59:22 -07:00
Wyatt
af9166b059
Build fully automated, including aggregation
2017-05-05 09:56:41 -07:00
Wyatt
795b494517
Removing unused functions from test-lib.sh
2017-05-05 09:55:22 -07:00
Wyatt
65eaaa83c2
Pin tests fixed, cleanup issue resolved. Build tweaking remaining
2017-05-05 09:55:22 -07:00
Wyatt
bf228d9f4c
WIP for standup. Still blocking on daemonPID/teardown issue. Making progress on pin. Still need to include aggregate in build
2017-05-05 09:55:21 -07:00
Wyatt
e3f6079052
Pinning tests sketched out. Does not work because ipfs still can't find home directory
2017-05-05 09:55:21 -07:00
Wyatt
d4967b0eb3
Added service basic commands, cleaning up files in trash
2017-05-05 09:55:21 -07:00
Wyatt
ab2f0273e3
Added test_sharness target and fixed small error. Also added gitignore
2017-05-05 09:55:21 -07:00
Wyatt
f9110c5fce
Sharness WIP. Remaining: fix up cleanup, pin, flags, basic service
2017-05-05 09:09:48 -07:00
Wyatt
f547077700
Sharness Tests updated
...
I have attempted to address all of the comments on the original PR.
The sharness tests now make use of prereqs, see test-lib for details
and helper functions.
2017-05-05 09:09:48 -07:00
Wyatt
916b7e8849
Sharness tests and library precondition setting fns updated
2017-05-05 09:09:48 -07:00
Wyatt
148b08ffb8
ctl basic cleanup
2017-05-05 09:09:48 -07:00
Wyatt
1a966aee53
GPL compatability, fully automatic sharness build and clean
2017-05-05 09:09:47 -07:00
Wyatt
14a047c2f3
Build fully automated, including aggregation
2017-05-05 09:09:47 -07:00