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:
Aaron Ogata 2020-08-05 12:19:41 -07:00
parent 3719481ce2
commit b87f108e6b
1 changed files with 1 additions and 1 deletions

View File

@ -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