diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1abeba28..260af5ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,18 @@ stages: - review - build +default: + # Cancel jobs if newer commits are pushed to the branch + interruptible: true + # Auto-retry jobs in case of infra failures + retry: + max: 1 + when: + - 'runner_system_failure' + - 'stuck_or_timeout_failure' + - 'scheduler_failure' + - 'api_failure' + variables: LINT_LOG: "eslint-report.xml" JS_LOG: "js-report.txt"