From 57400b022332bbdd817a6d0bcde10e5eeb9dd077 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Wed, 30 Apr 2025 16:46:11 +0200 Subject: [PATCH] feat(ci): add retry configuration for CI jobs Adds a default retry configuration for CI jobs to handle various failure scenarios. This improves the robustness of the pipeline by allowing automatic retries for jobs that fail due to temporary issues. --- Defaults.gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Defaults.gitlab-ci.yml diff --git a/Defaults.gitlab-ci.yml b/Defaults.gitlab-ci.yml new file mode 100644 index 0000000..aa75049 --- /dev/null +++ b/Defaults.gitlab-ci.yml @@ -0,0 +1,9 @@ +default: + retry: + max: 2 + when: + - "unknown_failure" + - "runner_system_failure" + - "stuck_or_timeout_failure" + - "scheduler_failure" + - "job_execution_timeout"