Add more retries in CI for AWS "spot" instances

This commit is contained in:
Alexey Milovidov 2022-01-22 13:10:45 +03:00
parent 2e7a1fe229
commit 30b436b9b1

View File

@ -22,8 +22,12 @@ SUSPICIOUS_PATTERNS = [
"release",
]
# Number of retries for API calls.
MAX_RETRY = 5
MAX_WORKFLOW_RERUN = 7
# Number of times a check can re-run as a whole.
# It is needed, because we are using AWS "spot" instances, that are terminated very frequently.
MAX_WORKFLOW_RERUN = 20
WorkflowDescription = namedtuple(
"WorkflowDescription",