ci: Auto-Retry jobs on infrastructure failures

This commit is contained in:
Marco Trevisan (Treviño)
2023-06-28 15:56:27 +02:00
parent ba3cc04e84
commit f68e0972c2

View File

@@ -6,6 +6,16 @@ include:
file: '/templates/fedora.yml'
- remote: 'https://gitlab.gnome.org/GNOME/citemplates/-/raw/master/flatpak/flatpak_ci_initiative.yml'
default:
# Auto-retry jobs in case of infra failures
retry:
max: 1
when:
- 'runner_system_failure'
- 'stuck_or_timeout_failure'
- 'scheduler_failure'
- 'api_failure'
variables:
extends: .libfprint_common_variables
FDO_DISTRIBUTION_TAG: $LIBFPRINT_IMAGE_TAG