From 23576a99cde7a1de9123d5458e2b06d2f35c865f Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 1 Nov 2023 18:00:27 -0300 Subject: [PATCH] Retry jobs for specific failure cases --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bec1fc1..ba27af2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,14 @@ variables: DOCKER_BUILDKIT: 1 GIT_DEPTH: 1 +default: + retry: + max: 2 + when: + - runner_system_failure + - script_failure + - api_failure + stages: - prep - build