retry another flakey network error

Change-Id: I21f24872305d4d9065f9c3ba206607878e621911
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/255109
Reviewed-by: Kyle Rosenbaum <krosenbaum@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-12-14 14:39:18 -08:00
parent 7d190b3def
commit 9b7837030b
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|error pulling image configuration|exceeded while awaiting headers|no basic auth credentials) ]]; then
if [[ $PULL_RESULT =~ (TLS handshake timeout|unknown blob|i/o timeout|Internal Server Error|error pulling image configuration|exceeded while awaiting headers|Temporary failure in name resolution|no basic auth credentials) ]]; then
sleep 10
EXIT_CODE=0