Skip to content

Commit

Permalink
Increase API image build timeout
Browse files Browse the repository at this point in the history
In CN regions it sporadically takes more than 10 mins

Signed-off-by: Francesco De Martino <[email protected]>
  • Loading branch information
demartinofra committed Oct 27, 2021
1 parent 8b29f09 commit a8b4767
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _test_docker_image_refresh(image_builder_pipeline, lambda_name):
@retry(
retry_on_result=lambda result: result["state"]["status"] not in {"AVAILABLE", "CANCELLED", "FAILED", "DELETED"},
wait_fixed=seconds(10),
stop_max_delay=minutes(10),
stop_max_delay=minutes(15),
)
def _wait_for_image_build(image_builder_pipeline):
image_builder = boto3.client("imagebuilder")
Expand Down

0 comments on commit a8b4767

Please sign in to comment.