@cryptotaxi247 / kubo / commits / c103efc1a

sharness: disable t0300-docker-image on Circle CI

The actual tests for the IPFS daemon within the image, which were added in the previous commits, made Circle CI unhappy. Circle CI runs an old version of Docker which still uses LXC instead of libcontainer. The existing lxc-attach hack is testament to that. We might be able to get it work [1][2] but it's really not worth it at the moment, and Circle CI isn't a good option for Docker things, right now. [1] https://jpetazzo.github.io/2014/03/23/lxc-attach-nsinit-nsenter-docker-0-9/ [2] https://github.com/jpetazzo/nsenter License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>

Lars Gierth committed Feb 5, 2016 at 03:05 UTC c103efc1a9d3420b1f014a92a4ea7862ac13c57b
2 files changed +2 -1
circle.yml
+1
@@ -2,6 +2,7 @@ machine:
2 environment:
3 TEST_NO_FUSE: 1
4 TEST_VERBOSE: 1
5 + TEST_NO_DOCKER: 1
6 TRAVIS: 1
7 CIRCLE: 1
8 IMPORT_PATH: "github.com/ipfs/go-ipfs"
test/sharness/lib/test-lib.sh
+1 -1
@@ -42,7 +42,7 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
42 # grab + output options
43 test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE
44 test "$TEST_EXPENSIVE" = 1 && test_set_prereq EXPENSIVE
45 -type docker && test_set_prereq DOCKER
45 +test "$TEST_NO_DOCKER" != 1 && type docker && test_set_prereq DOCKER
46
47 if test "$TEST_VERBOSE" = 1; then
48 echo '# TEST_VERBOSE='"$TEST_VERBOSE"