1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 07:57:30 +08:00

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>
This commit is contained in:
Lars Gierth
2016-02-05 03:05:48 +01:00
parent 81c8cffee9
commit c103efc1a9
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ machine:
environment:
TEST_NO_FUSE: 1
TEST_VERBOSE: 1
TEST_NO_DOCKER: 1
TRAVIS: 1
CIRCLE: 1
IMPORT_PATH: "github.com/ipfs/go-ipfs"

View File

@ -42,7 +42,7 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
# grab + output options
test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE
test "$TEST_EXPENSIVE" = 1 && test_set_prereq EXPENSIVE
type docker && test_set_prereq DOCKER
test "$TEST_NO_DOCKER" != 1 && type docker && test_set_prereq DOCKER
if test "$TEST_VERBOSE" = 1; then
echo '# TEST_VERBOSE='"$TEST_VERBOSE"