Skip to content

Commit

Permalink
Be more verbose when pulling the agent container
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDerval committed Jun 28, 2015
1 parent b37b1f1 commit adc8907
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/job_managers/remote_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ def __init__(self, docker_daemons, image_aliases, hook_manager=None, is_testing=

# Verify that the image ingi/inginious-agent exists and is up-to-date
if self.is_agent_image_update_needed(docker_connection):
docker_connection.pull("ingi/inginious-agent")
print "Pulling the image ingi/inginious-agent. Please wait, this can take some time..."
for line in docker_connection.pull("ingi/inginious-agent", stream=True):
print line

# Verify again that the image is ok
if self.is_agent_image_update_needed(docker_connection):
Expand Down

0 comments on commit adc8907

Please sign in to comment.