From 54f6474bdadb0bdb4d76e288bd36dcab83014880 Mon Sep 17 00:00:00 2001 From: Ashwin Das Date: Mon, 6 Jan 2025 15:08:50 -0500 Subject: [PATCH] [konflux] increase yarn install timeout --- doozer/doozerlib/backend/rebaser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doozer/doozerlib/backend/rebaser.py b/doozer/doozerlib/backend/rebaser.py index 5629c44df..9c813784c 100644 --- a/doozer/doozerlib/backend/rebaser.py +++ b/doozer/doozerlib/backend/rebaser.py @@ -816,7 +816,7 @@ def _modify_cachito_commands(self, df_path): # Due to network flakiness, yarn install commands error out due to insufficient retries. # So increase timeout to 600000 ms, i.e. 10 mins - line = line.replace("yarn install", "yarn config set network-timeout 600000 && yarn install") + line = line.replace("RUN yarn", "RUN yarn config set network-timeout 600000 && yarn") updated_lines.append(line) line_commented = False