mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 11:30:59 +00:00
ci: Add a default retry policy for jobs
Automatically retry if it's a system failure or similar Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1736>
This commit is contained in:
parent
5dc2d56c0e
commit
b4f22a52ff
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,14 @@ workflow:
|
|||
|
||||
default:
|
||||
interruptible: true
|
||||
# Auto-retry jobs in case of infra failures
|
||||
retry:
|
||||
max: 1
|
||||
when:
|
||||
- 'runner_system_failure'
|
||||
- 'stuck_or_timeout_failure'
|
||||
- 'scheduler_failure'
|
||||
- 'api_failure'
|
||||
|
||||
stages:
|
||||
- "trigger"
|
||||
|
|
Loading…
Reference in a new issue