Skip to content
Snippets Groups Projects

ci: Add a default retry policy for jobs

Merged Jordan Petridіs requested to merge alatiera/gst-plugins-rs:alatiera/ci-things into main
+ 10
1
@@ -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"
@@ -75,7 +83,7 @@ trigger:
- rm -rf target
before_script:
- source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config.toml
.debian:12-stable:
extends: .debian:12
@@ -264,6 +272,7 @@ documentation:
- 'docker'
- 'windows'
- '2022'
- "gstreamer-windows"
script:
# Set the code page to UTF-8
- chcp 65001
Loading