mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 20:11:09 +00:00
Add status bar to setup.sh, compress the ssh tunnel to make it quicker.
This commit is contained in:
@@ -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/...
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user