From a3851c921493b59324448108e8121b2734731a70 Mon Sep 17 00:00:00 2001 From: Snowram Date: Sat, 31 Jul 2021 00:09:54 +0200 Subject: [PATCH] Retry release jobs on failure --- .gitlab/CI/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab/CI/release.yml b/.gitlab/CI/release.yml index 87484d7816..2a67b406ad 100644 --- a/.gitlab/CI/release.yml +++ b/.gitlab/CI/release.yml @@ -14,6 +14,8 @@ - if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_PIPELINE_SOURCE != "schedule" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/) when: on_success - when: never + retry: + max: 1 # Template to only run if pushes to master or a tag happened for scheduled builds .release-nightly-tmp-fix-airshipper: @@ -22,3 +24,5 @@ - if: $CI_PIPELINE_SOURCE == "schedule" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/) when: on_success - when: never + retry: + max: 1