-
Notifications
You must be signed in to change notification settings - Fork 446
/
config.yml
48 lines (40 loc) · 1.64 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Default timeout for all tasks is 1 hour.
# May be overridden by individual tasks.
exec_timeout_secs: 3600
# Default command type is 'system' to indicate failures unrelated to tests or
# their setup. Most commands should define their type as 'setup' or 'test'.
# - setup: before test (lavendar).
# - test: during test (red).
# - system: after test (purple).
command_type: system
# Ensure Evergreen tests earlier commits when a task fails.
stepback: true
# Ensure failure in pre commands is also considered task failure.
pre_error_fails_task: true
# Too many post commands are not designed to handle errors.
# TODO: set to true once failing post commands have been moved into
# teardown_group commands of appropriate task groups.
post_error_fails_task: false
# TODO: move into timeout commands of appropriate task groups.
timeout:
- func: backtrace
# Commands run before all tasks (excluding those in task groups).
# Use sparingly and ensure they are error-proof.
pre:
- func: fetch-source
# Commands run after all tasks (excluding those in task groups).
# Use sparingly and ensure they are error-proof.
# TODO: move into teardown_group commands of appropriate task groups.
post:
- func: backtrace
- func: upload-mo-artifacts
- func: upload-test-results
- func: stop-mongo-orchestration
- func: stop-load-balancer
- func: restore-instance-profile
include:
- filename: .evergreen/generated_configs/legacy-config.yml
- filename: .evergreen/generated_configs/functions.yml
- filename: .evergreen/generated_configs/task_groups.yml
- filename: .evergreen/generated_configs/tasks.yml
- filename: .evergreen/generated_configs/variants.yml