This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathcfg.toml
106 lines (86 loc) · 2.31 KB
/
cfg.toml
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Priority values above max_priority will be refused.
max_priority = 9002
[github]
# Information for securely interacting with GitHub. These are found/generated
# under <https://github.com/settings/applications>.
# A GitHub personal access token
access_token = "{{ secrets['gh-access-token'] }}"
# A GitHub oauth application for this instance of homu:
app_client_id = "{{ secrets['app-client-id'] }}"
app_client_secret = "{{ secrets['app-client-secret'] }}"
[web]
host = "0.0.0.0"
port = 54856
secret = "{{ secrets['web-secret'] }}"
# When adding a new chooser, also add it to the "branch" field of the "servo-try" entry in
# https://github.com/mozilla/treeherder/blob/master/treeherder/model/fixtures/repository.json
{% set servo_try_choosers = [
"linux",
"mac",
"windows",
"windows-rdp",
"wpt",
"wpt-2020",
"wpt-mac",
"wpt-android",
"android",
"magicleap",
"arm",
] %}
{% set repos = {
"servo": {
"travis": False,
"taskcluster": False,
"github": True,
"try_choosers": servo_try_choosers,
},
} %}
{% set reviewers = [
] %}
{% set operators = [
"moz-servo-sync",
"servo-wpt-sync",
] %}
{% set try = [
"atbrakhi",
"CYBAI",
"delan",
"gterzian",
"Loirooriol",
"mrego",
"mrobinson",
"stshine",
] %}
# Standard per-repo configs (generated)
{% for name, repo in repos.items() %}
[repo."{{ name }}"]
owner = "{{ repo.get("owner", "servo") }}"
name = "{{ name }}"
reviewers = {{ reviewers + operators + repo.get("extra_reviewers", []) }}
try_users = {{ try }}
try_choosers = {{ repo.get("try_choosers", []) }}
[repo."{{ name }}".github]
secret = "{{ secrets['gh-webhook-secret'] }}"
{% if repo.get('github', False) %}
[repo."{{ name }}".checks.github]
name = "homu build finished"
{% endif %}
{% if repo.get('travis', True) %}
[repo."{{ name }}".checks.travis]
name = "Travis CI - Branch"
{% endif %}
{% if repo.get('travis-legacy', False) %}
[repo."{{ name }}".status.travis]
context = 'continuous-integration/travis-ci/push'
{% endif %}
{% if repo.get('appveyor', False) %}
[repo."{{ name }}".status.appveyor]
context = 'continuous-integration/appveyor/branch'
{% endif %}
{% if repo.get('taskcluster', False) %}
[repo."{{ name }}".status.taskcluster]
context = 'Community-TC (push)'
{% endif %}
{% endfor %}
[db]
file = "{{ db }}"