mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 18:51:17 +00:00
- Increase waits for system to settle - Add polling for containers and edges - Tabs formatting in setup.sh - 300_internet_edge: Don't let curl fail in subshell (main source of flakyness) - Make last param (count) optional for has_container (from Paul)
29 lines
622 B
Bash
Executable File
29 lines
622 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
|
|
docker_on $HOST pull alpine
|
|
docker_on $HOST pull nginx
|
|
done
|
|
|
|
curl -sL git.io/weave -o ./weave
|