tests/docker: fall back more gracefully when pull fails
commit85c5e69923ebd27aa3bc796d322b4c5f304de9e0
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 9 Jul 2020 14:13:25 +0000 (9 15:13 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:53:00 +0000 (11 15:53 +0100)
tree439a05fa9ed78fb4f02636cf906605d3ca3f93ab
parent506794677594120ff02a0ad3bfbdcb7b0acca608
tests/docker: fall back more gracefully when pull fails

I only spotted this in the small window between my testing with my
registry while waiting for the gitlab PR to go in. As we pre-pull the
registry image we know if that fails there isn't any point attempting
to use the cache. Fall back to the way we used to do it at that point.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200709141327.14631-12-alex.bennee@linaro.org>
tests/docker/docker.py