Merge pull request #388 from squaremo/remote_weaving
Move weave script into tools image with its deps and thus enable weaving on a remote docker Closes #312.
This commit is contained in:
commit
8e65c7127d
18 files changed
+204
-201
No files matched your search
+8
-1
@@ -50,6 +50,13 @@ docker_on() {
|
||||
docker -H tcp://$host:2375 $@
|
||||
}
|
||||
|
||||
weave_on() {
|
||||
host=$1
|
||||
shift 1
|
||||
greyly echo "Weave on $host: $@"
|
||||
DOCKER_HOST=tcp://$host:2375 $WEAVE $@
|
||||
}
|
||||
|
||||
start_suite() {
|
||||
whitely echo $@
|
||||
}
|
||||
@@ -58,5 +65,5 @@ end_suite() {
|
||||
whitely assert_end
|
||||
}
|
||||
|
||||
WEAVE=./bin/weave
|
||||
WEAVE=../weave
|
||||
DOCKER_NS=./bin/docker-ns
|
||||
Reference in new issue
Block a user