protect against another flakey docker error
Change-Id: I89186acf8c68ef04cf098b57cdebaeb6da445b15 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/244360 Reviewed-by: James Butters <jbutters@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Aaron Ogata <aogata@instructure.com> Product-Review: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
parent
3719481ce2
commit
b87f108e6b
|
@ -5,7 +5,7 @@ set -o errexit -o errtrace -o nounset -o pipefail -o xtrace
|
|||
EXIT_CODE=0
|
||||
PULL_RESULT=$(docker $1 $2 2>&1) || EXIT_CODE=$?
|
||||
|
||||
if [[ $PULL_RESULT =~ (TLS handshake timeout|unknown blob|i/o timeout|Internal Server Error) ]]; then
|
||||
if [[ $PULL_RESULT =~ (TLS handshake timeout|unknown blob|i/o timeout|Internal Server Error|error pulling image configuration) ]]; then
|
||||
sleep 10
|
||||
|
||||
EXIT_CODE=0
|
||||
|
|
Loading…
Reference in New Issue