Skip to content

Commit 04c93df

Browse files
committed
chore: Set 10m timeout and retries for a GitLab job
1 parent 6094949 commit 04c93df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitlab/templates/pipeline.yaml.tpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ bottlecap ({{ $flavor.name }}):
5151
image: registry.ddbuild.io/images/docker:20.10
5252
tags: ["arch:{{ $flavor.arch }}"]
5353
needs: []
54+
# This job sometimes times out on GitLab runner 17227436 for unclear reason.
55+
# Setting a short timeout with retries to work around this.
56+
timeout: 10m
57+
retry:
58+
max: 2
59+
when: stuck_or_timeout_failure
5460
artifacts:
5561
expire_in: 1 week
5662
paths:

0 commit comments

Comments
 (0)