Add status bar to setup.sh, compress the ssh tunnel to make it quicker.

This commit is contained in:
Tom Wilkie
2015-10-20 14:51:00 +00:00
parent 811bde4d4a
commit 7e1a653349
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ dependencies:
- git clone https://github.com/weaveworks/tools.git $TOOLS
- sudo apt-get update
- sudo apt-get --only-upgrade install tar libpcap0.8-dev
- sudo apt-get install jq
- sudo apt-get install jq pv
- curl https://sdk.cloud.google.com | bash
- test -z "$SECRET_PASSWORD" || bin/setup-circleci-secrets "$SECRET_PASSWORD"
- go get $WEAVE_REPO/...

View File

@@ -6,7 +6,8 @@ set -e
echo Copying scope images and scripts to hosts
for HOST in $HOSTS; do
docker_on $HOST load -i ../scope.tar
SIZE=$(stat --printf="%s" ../scope.tar)
cat ../scope.tar | pv -N "scope.tar" -s $SIZE | $SSH -C $HOST sudo docker load
upload_executable $HOST ../scope
upload_executable $HOST ../scope /usr/local/scope/bin/scope
done