-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(ci): Retry failed pulls from devservices #29691
build(ci): Retry failed pulls from devservices #29691
Conversation
This will retry failed pulls from devservices. This happens intermittently in CI (GHA), see https://github.com/getsentry/getsentry/runs/4069112530\?check_suite_focus\=true\#step:4:563 I am not sure of the root cause as docker-py obscures the actual error (docker/docker-py#2101), as a workaround, let us retry the pull a few times and see if this helps.
raise e | ||
current_attempt = current_attempt + 1 | ||
continue | ||
break |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be good if we raise something if we run out of attempts? Or log an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Than you, sir! I just had a moment :)
As a side note, should we switch to using |
I think we should stick to using |
I still think |
This will retry failed pulls from devservices. This happens intermittently in CI (GHA), see https://github.com/getsentry/getsentry/runs/4069112530\?check_suite_focus\=true\#step:4:563
I am not sure of the root cause as docker-py obscures the actual error (docker/docker-py#2101), as a workaround, let us retry the pull a few times and see if this helps.