From e647fe6331415175b7a118d3026353cf64a4ed4a Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Mon, 16 Jan 2017 16:40:00 +0000 Subject: [PATCH] Highlight setup and sanity checks in CircleCI's logs. --- test/sanity_check.sh | 3 ++- test/setup.sh | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/sanity_check.sh b/test/sanity_check.sh index 657bdf71..d5b8768d 100755 --- a/test/sanity_check.sh +++ b/test/sanity_check.sh @@ -7,6 +7,7 @@ set -e begin=$(date +%s) sanity_checks_files=${WEAVE_NET_SANITY_CHECKS_FILES:-"/tmp/weave_net_sanity_check_*.log"} +greenly echo "> Sanity-checking test machines: ping, check Docker, and check Weave..." whitely echo Ping each host from the other # We wrap ping and echo in a function as we want the below parallel for loop @@ -68,4 +69,4 @@ for host in $HOSTS; do done for pid in $pids; do wait $pid; done -echo "Sanity checks completed successfully in $(date -u -d @$(($(date +%s)-$begin)) +"%T")." +greenly echo "> Sanity checks completed successfully in $(date -u -d @$(($(date +%s)-$begin)) +"%T")." diff --git a/test/setup.sh b/test/setup.sh index 4d21c3de..3bab725a 100755 --- a/test/setup.sh +++ b/test/setup.sh @@ -9,8 +9,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")" (cd ./tls && ./tls $HOSTS) -echo "Copying weave images, scripts, and certificates to hosts, and" -echo " prefetch test images" +greenly echo "> Setting up test machines: copying weave images, scripts and certificates to hosts, and prefetch test images..." exists_on() { docker_on $1 inspect --format=" " $2 >/dev/null 2>&1 @@ -60,4 +59,4 @@ for ppid in $ppids; do wait $ppid; done -echo "Setup completed successfully in $(date -u -d @$(($(date +%s)-$begin)) +"%T")." +greenly echo "> Setup completed successfully in $(date -u -d @$(($(date +%s)-$begin)) +"%T")."