diff --git a/.gitlab/templates/pipeline.yaml.tpl b/.gitlab/templates/pipeline.yaml.tpl index 76e1e3598..c6b3e5395 100644 --- a/.gitlab/templates/pipeline.yaml.tpl +++ b/.gitlab/templates/pipeline.yaml.tpl @@ -51,6 +51,14 @@ bottlecap ({{ $flavor.name }}): image: registry.ddbuild.io/images/docker:20.10 tags: ["arch:{{ $flavor.arch }}"] needs: [] + # This job sometimes times out on GitLab for unclear reason. + # Set a short timeout with retries to work around this. + timeout: 10m + retry: + max: 1 + when: + - stuck_or_timeout_failure + - runner_system_failure artifacts: expire_in: 1 week paths: