Skip to content

Commit ea258d1

Browse files
committed
ci: fix retry config — exit_codes is OR not a filter on script_failure
Remove script_failure from the global when: list. Having both script_failure and exit_codes: [75] retries on any script failure OR exit code 75 — not exit code 75 only as intended. exit_codes: [75] alone correctly retries only jobs that exit with code 75 (the EX_TEMPFAIL sentinel from wait-for-service-ready.sh), leaving all other script failures (exit 1, real test failures) unretried.
1 parent ebb68ce commit ea258d1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.gitlab/generate-common.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ function windows_git_setup_with_packages() {
111111
- api_failure
112112
- stuck_or_timeout_failure
113113
- job_execution_timeout
114-
- script_failure
115114
exit_codes:
116-
- 75 # EX_TEMPFAIL: transient infrastructure unavailability (service startup timeout, download failure, etc.)
115+
- 75
117116

118117
.all_targets: &all_minor_major_targets
119118
<?php

0 commit comments

Comments
 (0)