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
Wyatt
434dd3fd3c
Removing unused functions from test-lib.sh
2017-05-05 09:09:47 -07:00
Wyatt
a63b2add6d
Pin tests fixed, cleanup issue resolved. Build tweaking remaining
2017-05-05 09:09:46 -07:00
Wyatt
c0cd922f0a
WIP for standup. Still blocking on daemonPID/teardown issue. Making progress on pin. Still need to include aggregate in build
2017-05-05 09:09:46 -07:00
Wyatt
fff220e790
Pinning tests sketched out. Does not work because ipfs still can't find home directory
2017-05-05 09:09:46 -07:00
Wyatt
9971bbf2df
Added service basic commands, cleaning up files in trash
2017-05-05 09:09:46 -07:00
Wyatt
e9aef89be1
Added test_sharness target and fixed small error. Also added gitignore
2017-05-05 09:09:45 -07:00
Wyatt
856548483e
Sharness WIP. Remaining: fix up cleanup, pin, flags, basic service
2017-05-05 09:09:45 -07:00
Hector Sanjuan
9e58881b19
Merge pull request #95 from ZenGround0/Update-docker-build-WIP
...
Updating dockerfile and entrypoint script to have the same behavior t…
2017-05-04 18:47:24 +02:00
Wyatt
07105dbb65
Update docker build, closes #94
...
Updates dockerfile and entrypoint script to have the same behavior the ipfs-go docker build
moved to in 3477. This fixes a bug where the cluster entrypoint script does not have
sufficient permissions to access /data/ipfs. The entrypoint also now launches a process with
tini
2017-05-02 17:37:18 -07:00
Hector Sanjuan
551c2245ca
Fix link to guide
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-04-27 01:32:08 +02:00
Hector Sanjuan
e654e18447
Merge pull request #90 from ipfs/guide
...
A guide to running ipfs cluster
2017-04-26 13:59:41 +02:00
Hector Sanjuan
ef4132f572
Fix #84 : A guide to running ipfs cluster
...
This should fix what I meant in #84
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-04-22 13:47:08 +02:00
Hector Sanjuan
98039bdd0d
Merge pull request #91 from ipfs/pin-ls-cid
...
Fix #87 : Implement ipfs-cluster-ctl pin ls <cid>
2017-04-07 01:35:01 +02:00
Hector Sanjuan
bb82c27b25
Fix #87 : Implement ipfs-cluster-ctl pin ls <cid>
...
I have updated API endpoints to be /allocations rather than /pinlinst
It's more self-explanatory.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-04-06 21:12:16 +02:00
Hector Sanjuan
e3f6a6c5c1
Merge pull request #89 from ipfs/autosyncs
...
Fix #88 : Run SyncAllLocal() regularly on peers.
2017-04-06 18:10:04 +02:00
Hector Sanjuan
856252e5c6
Fix #88 : Run SyncAllLocal() regularly on peers.
...
It makes a pin ls requests to ipfs and makes sure the pin tracker is
up to date.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-04-05 23:29:22 +02:00
Hector Sanjuan
4ae6486e26
Merge pull request #85 from ipfs/add-config-alloc-default
...
Set default allocation strategy in default configuration
2017-03-31 15:47:19 +02:00
Hector Sanjuan
def0316734
Set default allocation strategy in default configuration
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-31 14:37:41 +02:00
Hector Sanjuan
9b3449e3f8
Remove debugging leftovers in ipfshttp
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-30 15:38:41 +02:00
Hector Sanjuan
63e77d3a6f
gx publish 0.0.12
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-30 14:03:15 +02:00
Hector Sanjuan
257077c5b2
Release 0.0.12
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-30 14:03:04 +02:00
Hector Sanjuan
ff8c24ae0c
Merge pull request #82 from ipfs/catch-sighup
...
Catch SIGHUP too
2017-03-30 13:14:37 +02:00
Hector Sanjuan
c51ac9402f
Catch SIGHUP too
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-30 13:02:09 +02:00
Hector Sanjuan
ee48d84243
Merge pull request #80 from ipfs/add-proxy-hijack
...
Fix #57 : Hijack /add requests and pin items in cluster
2017-03-30 12:12:06 +02:00