buildbot

Buildbot configurations
git clone git://git.danielmoch.com/buildbot.git
Log | Files | Refs

commit df9ac160992fe58e4b9e5fbccd3d32ffd0b5a79d
parent fa6acbf97309dddfb525373bfbbbb3e2018ea6b2
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu, 13 Dec 2018 05:45:46 -0500

Make secrets path relocatable

Diffstat:
Mserver/master.cfg | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/master.cfg b/server/master.cfg @@ -13,7 +13,8 @@ c = BuildmasterConfig = {} c['buildbotNetUsageData'] = None ####### SECRETS PROVIDERS -c['secretsProviders'] = [secrets.SecretInAFile(dirname='/srv/http/buildbot/secrets')] +secrets_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'secrets') +c['secretsProviders'] = [secrets.SecretInAFile(dirname=secrets_path)] ####### WORKERS