Merge branch 'snowram/retry-release-ci' into 'master'

Retry release jobs on failure

See merge request veloren/veloren!2702
This commit is contained in:
Marcel 2021-07-31 03:02:59 +00:00
commit e1dad0d997

View File

@ -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