mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.18] chg: test: Retry job in case of AWS Spot Instance interruption event
Closes #4777 Backport of MR !9107 Merge branch '4777-retry-job-aws-spot-instance-interruption-event-9.18' into 'bind-9.18' See merge request isc-projects/bind9!9185
This commit is contained in:
commit
d40f9c1f74
1 changed files with 7 additions and 0 deletions
|
|
@ -62,6 +62,13 @@ default:
|
|||
# See: https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-redundant-pipelines
|
||||
interruptible: true
|
||||
|
||||
# AWS can interrupt the spot instance anytime, so let's retry the job when
|
||||
# the interruption event happens to avoid a pipeline failure.
|
||||
retry:
|
||||
max: 2
|
||||
when:
|
||||
- runner_system_failure
|
||||
|
||||
stages:
|
||||
- autoconf
|
||||
- precheck
|
||||
|
|
|
|||
Loading…
Reference in a new issue