Highlight setup and sanity checks in CircleCI's logs.

This commit is contained in:
Marc CARRE committed 2017-02-08 14:15:59 +00:00
1 parent a2679794b3
commit e647fe6331
2 files changed
+4 -4

No files matched your search

+2 -1
View File
@@ -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")."
+2 -3
View File
@@ -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")."