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