From 25951c42aba7a04c59a3449ac190e200224fa0a6 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Apr 08 2014 16:48:16 +0000 Subject: A bit more verbose --- diff --git a/docker-run_tests.sh b/docker-run_tests.sh index 9dcf3d9..79cf657 100755 --- a/docker-run_tests.sh +++ b/docker-run_tests.sh @@ -6,6 +6,7 @@ EPEL6_RELEASE_URL="http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6- EPEL6_GPGKEY_URL="https://fedoraproject.org/static/0608B895.txt" enable_epel() { + printf "Installing EPEL and some tools ...\n" yum -y install wget openssh-clients cd /root wget "$EPEL6_RELEASE_URL" @@ -14,16 +15,19 @@ enable_epel() { } setup_docker() { + printf "Setting up docker ...\n" yum -y install docker-io service docker start chkconfig docker on } test_get_centos_img() { + printf "TEST 1: Pulling CentOS image ...\n" docker pull centos } test_centos_img_runcmd() { + printf "TEST 2: Running a command inside CentOS image ...\n" docker run centos cat /etc/centos-release | grep 'CentOS' }