mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Also - Add test for clustering without weave. - Update test template for docker 1.8 - Prefetch images - Stop all containers when test finishes. - Add small sleep after weave launch, and supply all the hosts to ensure IPAM works correctly.
27 lines
586 B
Bash
Executable File
27 lines
586 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. ./config.sh
|
|
|
|
echo Copying scope images and scripts to hosts
|
|
for HOST in $HOSTS; do
|
|
docker_on $HOST load -i ../scope.tar
|
|
upload_executable $HOST ../scope
|
|
upload_executable $HOST ../scope /usr/local/scope/bin/scope
|
|
done
|
|
|
|
echo Installing weave
|
|
for HOST in $HOSTS; do
|
|
run_on $HOST "sudo curl -sL git.io/weave -o /usr/local/bin/weave"
|
|
run_on $HOST "sudo chmod a+x /usr/local/bin/weave"
|
|
done
|
|
|
|
echo Prefetching Images
|
|
for HOST in $HOSTS; do
|
|
weave_on $HOST setup
|
|
docker_on $HOST pull peterbourgon/tns-db
|
|
done
|
|
|
|
curl -sL git.io/weave -o ./weave
|