Commit 52ca3093 authored by Stan Hu's avatar Stan Hu

Merge branch 'do-not-retry-forward_deployment_failure-jobs' into 'master'

Do not auto-retry unrecoverable `forward_deployment_failure` job failure

See merge request gitlab-org/gitlab!72281
parents 97d34106 73273585
......@@ -10,7 +10,8 @@ class Gitlab::Ci::Build::AutoRetry
RETRY_OVERRIDES = {
ci_quota_exceeded: 0,
no_matching_runner: 0,
missing_dependency_failure: 0
missing_dependency_failure: 0,
forward_deployment_failure: 0
}.freeze
def initialize(build)
......
......@@ -25,6 +25,7 @@ RSpec.describe Gitlab::Ci::Build::AutoRetry do
"quota is exceeded" | 0 | { max: 2 } | :ci_quota_exceeded | false
"no matching runner" | 0 | { max: 2 } | :no_matching_runner | false
"missing dependencies" | 0 | { max: 2 } | :missing_dependency_failure | false
"forward deployment failure" | 0 | { max: 2 } | :forward_deployment_failure | false
end
with_them do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment