projects
/
buildbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cedcc32
)
phase1: allow overriding config.ini location with env var
author
Jo-Philipp Wich
<jo@mein.io>
Sun, 30 Jun 2019 19:24:05 +0000
(21:24 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 2 Jul 2019 15:47:01 +0000
(17:47 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg
patch
|
blob
|
history
diff --git
a/phase1/master.cfg
b/phase1/master.cfg
index 5350a433d32d75b83dd6f43eeff23a99eaa77cec..1061eb27fa72eea36501199b66a56433c2d72721 100644
(file)
--- a/
phase1/master.cfg
+++ b/
phase1/master.cfg
@@
-13,7
+13,7
@@
from buildbot import locks
# 'master.cfg' in your buildmaster's base directory.
ini = ConfigParser.ConfigParser()
-ini.read(
"./config.ini"
)
+ini.read(
os.getenv("BUILDMASTER_CONFIG", "./config.ini")
)
# This is the dictionary that the buildmaster pays attention to. We also use
# a shorter alias to save typing.