Use weave remotely in smoke tests instead of via SSH
This commit is contained in:
1 parent
795d0edc73
commit
9fd468d743
8 files changed
+42
-37
No files matched your search
+8
-1
@@ -49,6 +49,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 $@
|
||||
}
|
||||
@@ -57,5 +64,5 @@ end_suite() {
|
||||
whitely assert_end
|
||||
}
|
||||
|
||||
WEAVE=./bin/weave
|
||||
WEAVE=../weave
|
||||
DOCKER_NS=./bin/docker-ns
|
||||
Reference in new issue
Block a user