From 8d71b835e2cdfa865bcb00544141558fee745602 Mon Sep 17 00:00:00 2001 From: Ashish Amarnath Date: Wed, 10 Jul 2019 10:56:02 -0700 Subject: [PATCH] revert debug code Signed-off-by: Ashish Amarnath --- hack/verify-docker-build.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/hack/verify-docker-build.sh b/hack/verify-docker-build.sh index 1d3fb60..4865748 100755 --- a/hack/verify-docker-build.sh +++ b/hack/verify-docker-build.sh @@ -23,23 +23,4 @@ source "$(dirname "$0")/utils.sh" # check if manager docker image builds cd_root_path -# DEBUG CODE BEGIN -service docker start -# the service can be started but the docker socket not ready, wait for ready -WAIT_N=0 -MAX_WAIT=5 -while true; do - # docker ps -q should only work if the daemon is ready - docker ps -q > /dev/null 2>&1 && break - if [[ ${WAIT_N} -lt ${MAX_WAIT} ]]; then - WAIT_N=$((WAIT_N+1)) - echo "Waiting for docker to be ready, sleeping for ${WAIT_N} seconds." - sleep ${WAIT_N} - else - echo "Reached maximum attempts, not waiting any longer..." - break - fi -done -# DEBUG CODE END - docker build --file Dockerfile -t capd-manager:pr-verify .