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
+1
-3
@@ -14,10 +14,8 @@ for HOST in $HOSTS; do
|
||||
docker_on $HOST load -i ../weave.tar
|
||||
docker_on $HOST load -i ../weavedns.tar
|
||||
docker_on $HOST load -i ../weaveexec.tar
|
||||
run_on $HOST mkdir -p `dirname $WEAVE`
|
||||
cat ../weave | run_on $HOST sh -c "cat > $WEAVE"
|
||||
run_on $HOST mkdir -p bin
|
||||
cat ../bin/docker-ns | run_on $HOST sh -c "cat > $DOCKER_NS"
|
||||
run_on $HOST chmod a+x $WEAVE
|
||||
run_on $HOST chmod a+x $DOCKER_NS
|
||||
run_on $HOST sudo service docker restart
|
||||
done
|
||||
Reference in new issue
Block a user