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 # Ping interval to keep websocket alive ws_ping_interval = 0 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'], #}