QuasarAppCI/BuildBotLib/buildBotChangeSource.py
2020-06-19 13:13:20 +03:00

18 lines
562 B
Python

# This Python file uses the following encoding: utf-8
from BuildBotLib.buildBotModule import BuildBotModule
from BuildBotLib.secretManager import SecretManager
class BuildBotChangeSource(BuildBotModule):
def __init__(self, masterConf):
BuildBotModule.__init__(self, masterConf)
secret = SecretManager("/home/andrei/buildBotSecret/secret.json")
self.masterConf['www']['change_hook_dialects'] = {
'github':
{
'secret': secret.getValue('WebHook'),
},
}