Skip to content

ci: add retry if internal runner error

Виталий Шунков requested to merge ci_retry into master

Summary

  • add retry if internal runner error
  • allow_failure: true on dev branches

docs: https://docs.gitlab.com/ee/ci/yaml/

В частности поможет избежать случая, когда yandex cloud не успевает поднять ноду для запуска пайплайна.

always: Retry on any failure (default).
unknown_failure: Retry when the failure reason is unknown.

api_failure: Retry on API failure.
stuck_or_timeout_failure: Retry when the job got stuck or timed out.
runner_system_failure: Retry if there is a runner system failure (for example, job setup failed).
runner_unsupported: Retry if the runner is unsupported.
stale_schedule: Retry if a delayed job could not be executed.
job_execution_timeout: Retry if the script exceeded the maximum execution time set for the job.
archived_failure: Retry if the job is archived and can’t be run.
unmet_prerequisites: Retry if the job failed to complete prerequisite tasks.
scheduler_failure: Retry if the scheduler failed to assign the job to a runner.
data_integrity_failure: Retry if there is an unknown job problem.

  • Close #...
  • Cherry-pick to: none
  • Docs follow-up: not necessary / new issue
Edited by Виталий Шунков

Merge request reports