/
settings.py
70 lines (63 loc) · 1.78 KB
/
settings.py
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# repos that SETA supports
SETA_PROJECTS = [
'mozilla-inbound',
'autoland'
]
# for taskcluster, only jobs that start with any of these names
# will be supported i.e. may be optimized out by SETA
SETA_SUPPORTED_TC_JOBTYPES = [
'test-',
'desktop-test',
'android-test'
]
# platforms listed here will not be supported by SETA
# i.e. these will never be optimized out by SETA
SETA_UNSUPPORTED_PLATFORMS = [
'android-4-2-armv7-api15',
'android-4-4-armv7-api15',
'android-5-0-armv8-api15',
'android-5-1-armv7-api15',
'android-6-0-armv8-api15',
'osx-10-7', # Build
'osx-10-9',
'osx-10-11',
'other',
'taskcluster-images',
'windows7-64', # We don't test 64-bit builds on Windows 7 test infra
'windows8-32', # We don't test 32-bit builds on Windows 8 test infra
'Win 6.3.9600 x86_64',
'linux64-stylo',
'windowsxp'
]
# testtypes listed here will not be supported by SETA
# i.e. these will never be optimized out by SETA
SETA_UNSUPPORTED_TESTTYPES = [
'dep',
'nightly',
'non-unified',
'valgrind',
'build',
'Opt',
'Debug',
'Dbg',
'(opt)'
'PGO Opt',
'Valgrind Opt',
'Artifact Opt',
'(debug)'
]
# SETA job priority values
SETA_HIGH_VALUE_PRIORITY = 1
SETA_LOW_VALUE_PRIORITY = 5
# analyze_failures retrieves jobs marked 'fixed by commit' for these repos
SETA_FIXED_BY_COMMIT_REPOS = [
'autoland',
'mozilla-central',
'mozilla-inbound'
]
# analyze_failures retrieves jobs marked 'fixed by commit' for the past N days
SETA_FIXED_BY_COMMIT_DAYS = 90
# when retrieving taskcluster runnable jobs, and processing
# them, cache the resulting reference data names map for N seconds; this
# helps reduce the number of API calls when getting job priorities
SETA_REF_DATA_NAMES_CACHE_TIMEOUT = 3600