From 14d31eff9ffe573f17a831cc713298b409c4ea57 Mon Sep 17 00:00:00 2001 From: Mak Date: Tue, 17 Oct 2023 12:59:11 +0100 Subject: [PATCH] increase delay also on pipeline creation --- src/gitlab.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gitlab.ts b/src/gitlab.ts index 74f760e..4430885 100644 --- a/src/gitlab.ts +++ b/src/gitlab.ts @@ -166,6 +166,7 @@ export const runCommandInGitlabPipeline = async (ctx: Context, task: Task): Prom .keys({ id: Joi.number().required(), project_id: Joi.number().required() }) .options({ allowUnknown: true }), ), + { attempts: waitForBranchMaxTries, timeoutMs: waitForBranchRetryDelayMs }, ); logger.info({ pipeline, task }, `Created pipeline for task ${task.id}`);