2019-07-22 10:20:59 +03:00
|
|
|
# This Python file uses the following encoding: utf-8
|
2019-12-26 13:48:06 +03:00
|
|
|
from BuildBotLib.buildBotModule import BuildBotModule
|
|
|
|
|
2019-07-22 10:20:59 +03:00
|
|
|
|
|
|
|
class BuildBotDB(BuildBotModule):
|
2020-06-19 11:09:23 +03:00
|
|
|
def __init__(self, masterConf):
|
|
|
|
BuildBotModule.__init__(self, masterConf)
|
2019-07-22 10:20:59 +03:00
|
|
|
|
2019-12-26 13:48:06 +03:00
|
|
|
# DB URL
|
2019-07-22 10:20:59 +03:00
|
|
|
|
|
|
|
self.masterConf['db'] = {
|
2019-12-26 13:48:06 +03:00
|
|
|
# This specifies what database
|
|
|
|
# buildbot uses to store its state. You can leave
|
2019-07-22 10:20:59 +03:00
|
|
|
# this at its default for all but the largest installations.
|
2019-12-26 13:48:06 +03:00
|
|
|
'db_url': "sqlite:///state.sqlite",
|
2019-07-22 10:20:59 +03:00
|
|
|
}
|