mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
.gitlab-ci.yml: be more resilient to intrastructure failures
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
101237b4e6
commit
e466bac9a8
@ -16,6 +16,12 @@ stages:
|
||||
- report
|
||||
|
||||
variables:
|
||||
# We want to be resilient to runner failures
|
||||
ARTIFACT_DOWNLOAD_ATTEMPTS: "3"
|
||||
EXECUTOR_JOB_SECTION_ATTEMPTS: "3"
|
||||
GET_SOURCES_ATTEMPTS: "3"
|
||||
RESTORE_CACHE_ATTEMPTS: "3"
|
||||
#
|
||||
GIT_STRATEGY: fetch
|
||||
GIT_DEPTH: "3"
|
||||
# "--enable-coverage" or ""
|
||||
@ -122,6 +128,14 @@ include:
|
||||
when:
|
||||
- runner_system_failure
|
||||
- stuck_or_timeout_failure
|
||||
- api_failure
|
||||
- runner_unsupported
|
||||
- stale_schedule
|
||||
- job_execution_timeout
|
||||
- archived_failure
|
||||
- scheduler_failure
|
||||
- data_integrity_failure
|
||||
|
||||
script:
|
||||
# gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
|
||||
# autobuild name, which means we can define a default template that runs most autobuild jobs
|
||||
|
Loading…
Reference in New Issue
Block a user