Break early in build if docker-in-docker fails 25/7625/3
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Thu, 21 Jan 2016 15:04:15 +0000 (16:04 +0100)
committerStefan Berg <stefan.k.berg@ericsson.com>
Sun, 24 Jan 2016 00:06:37 +0000 (00:06 +0000)
Change-Id: Ic5d8779f938133a958627170bd379198bec36342
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
build/Makefile

index 74ed634..d867df0 100644 (file)
@@ -113,6 +113,8 @@ $(ISOCACHE):
        # cd /tmp/fuel-main && patch -f -p0 < $(TOPDIR)/fuel-main_docker_dns.patch
        #
        cd /tmp/fuel-main && ./prepare-build-env.sh
+       # Verify that Docker is alive
+       sudo docker info
        cd /tmp/fuel-main && make repos
        $(REPOINFO) -r /tmp/fuel-main > gitinfo_fuel.txt
        # Repeat build up to ten times