-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.py.example
127 lines (110 loc) · 3.9 KB
/
config.py.example
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
import os
# configuration_dir is where all configuration happens
configuration_dir = os.path.dirname(__file__)
# data_dir is where all builds data is stored: intermediate files, ccache, ...
data_dir = os.path.normpath(os.path.join(configuration_dir, "..", "buildbot-data"))
# daily_builds_dir is where all packages are moved and get served
daily_builds_dir = os.path.join(data_dir, 'packages', 'dailybuilds')
# If a relative path is used here, it will be relative to the buildbot base directory, not configuration one
db = {
"db_url": "sqlite:///state.sqlite"
}
docker_socket = 'unix:///var/run/docker.sock'
docker_workers_net = 'workers-net'
# Which port the Buildbot worker will listen
# It will be used on master side to connect to worker
# and it will be used on worker side to configure worker
pb_protocol_port = 9989
# Environment shared by all builds and builders
# When specifying *FLAGS variables, use ${*FLAGS} to recall worker ones
# Failure to comply implies build failures
common_env = {
"LC_ALL": "C.UTF-8",
}
# List of platforms enabled
platforms_whitelist = [
]
platforms_blacklist = [
]
# How many builds can be run in parallel
max_parallel_builds = 1
# How many compilers to run in parallel (make -j value)
# Falsy value means to use cpu core count
max_jobs = None
# Daily builds retention settings
# Number of daily builds to keep
daily_builds_keep_builds = 14
# Number of days to keep a daily build
# Latest one will always be spared from cleaning
daily_builds_obsolete_days = 30
# Whether to remove unknown files in directory
daily_builds_clean_unknown = True
# List which builds won't receive notifications from Webhook
# and must be polled
# Each build entry is in the form
# "name": { poll parameters }
builds_to_poll = {
}
# Github settings
## Secret used when configuring webhook
#github_webhook_secret = None
## Credentials for GitHub OAuth application
#github_auth_clientid = ""
#github_auth_clientsecret = ""
## Define organization and team membership used to determine rights
#github_organization = "scummvm"
#github_admin_group = "admin-group"
# Enable GitHub avatar display
github_avatars = True
# To increase requests limits to GitHub API use a Personal Access Token
#github_token = None
# htpasswd file based authentication
## Plaintext file with username:password lines
#ht_auth_file = './htpasswd'
## List of usernames with admin rights
#ht_auth_admins = ['username']
# UI settings
title = "ScummVM"
title_url = "https://scummvm.org/"
# Where web server must listen
www_port = ("127.0.0.1", 8010)
# URL used to reach Buildbot instance
buildbot_url = "https://buildbot.scummvm.org/"
# Retention time for data (in weeks)
data_retention_weeks = 4
change_horizon = 1000
# URL used to download daily builds
# If serve_daily_builds is True, it will be:
# daily_builds_url = buildbot_url + "plugins/wsgi_dashboards/dailybuilds/packages/"
daily_builds_url = "https://buildbot.scummvm.org/dailybuilds/"
enable_list_daily_builds = True
# Serving daily builds is only available when listing daily builds too
serve_daily_builds = False
# IRC configuration
#irc = {
# # IRC server configuration: hostname, port, ssl
# 'server': 'irc.libera.chat',
# 'port': 6697,
# 'ssl': True,
# # nickname and password to identify to NickServ
# 'nick': 'Scummette',
# 'password': 'password',
# # Use SASL to authenticate to the server
# 'sasl': True,
# # channels the bot will join and talk to
# 'channels': [
# '#scummvm',
# {'channel': '#secret', 'password': 'secret'}
# ],
# # nicknames the bot will talk to
# 'nicks': ['someuser'],
# # nicknames allowed to talk to bot, when commented out bot won't listen at anyone
# 'admins': ['someuser'],
#}
# Discord webhook URL to report build status to
#discord_reporter = None
# A map of states to list of users or roles to mention in the report
#discord_mentions = {
# # Mention @devs in case of build failure
# 'failure': ['&581796319677513729'],
#}