Skip to content

Commit dbee537

Browse files
emmatypingzware
andcommitted
Add environment variable to set settings path (python#328)
Co-authored-by: Zachary Ware <[email protected]> Co-authored-by: Zachary Ware <[email protected]>
1 parent 40594a3 commit dbee537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

master/master.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def set_up_sentry():
8080
log.addObserver(logToSentry)
8181

8282
settings_path = os.path.join('/etc', 'buildbot', 'settings.yaml')
83+
settings_path = os.environ.get('PYBUILDBOT_SETTINGS_PATH', settings_path)
8384

8485
try:
8586
settings = Settings.from_file(settings_path)

0 commit comments

Comments
 (0)