From 3b27bdc42058ce433978d1f621be196fd9535061 Mon Sep 17 00:00:00 2001 From: AJ Stuyvenberg Date: Fri, 15 Mar 2024 12:40:43 -0400 Subject: [PATCH] Feat: Automatically retry the runner if it fails to start --- ci/input_files/build.yaml.tpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 449f6978..57f9ff0e 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -11,6 +11,13 @@ stages: - pip install .[dev] - pip install poetry +default: + retry: + max: 1 + when: + # Retry when the runner fails to start + - runner_system_failure + # This is for serverless framework .install-node: &install-node - apt-get update