Files
weave-scope/integration/setup.sh
Paul Bellamy ff9771f112 initial integration test setup
Integration tests are only run on circle. They checkout the weave
project, and use test helpers from there.

There are just a few basic tests for now, to confirm it works.
2015-06-29 15:40:40 +01:00

18 lines
364 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
done
echo Installing weave
for HOST in $HOSTS; do
run_on $HOST "sudo curl -L git.io/weave -o /usr/local/bin/weave"
run_on $HOST "sudo chmod a+x /usr/local/bin/weave"
done