Skip to content

Commit 3dfb535

Browse files
authored
Merge pull request #197 from code0-tech/enable-auto-retry
Enable auto-retry for jobs
2 parents c410f3b + e93582a commit 3dfb535

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@ stages:
22
- container
33
- container:boot
44

5+
default:
6+
retry:
7+
max: 2
8+
when:
9+
- api_failure
10+
- data_integrity_failure
11+
- job_execution_timeout
12+
- runner_provisioning_timeout
13+
- runner_system_failure
14+
- scheduler_failure
15+
- stuck_or_timeout_failure
16+
- unknown_failure
17+
518
.dind:
619
variables:
720
DOCKER_MIRROR: https://mirror.gcr.io

0 commit comments

Comments
 (0)