summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildbot/master.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 253afb3..e2c063d 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -28,6 +28,7 @@ import os
import pathlib
import re
+from buildbot.changes.pb import PBChangeSource
from buildbot.steps.source.git import Git
from buildbot.steps.shell import ShellCommand
from buildbot.plugins import reporters
@@ -1249,7 +1250,7 @@ for reponame in container_repos:
fileNames.sort()
for filename in fileNames:
if filename.endswith('.sh'):
- basedir = pathlib.PurePath(parentDir)
+ basedir = pathlib.PurePath(parentDir).name
container_run_step(basedir,
container_factory,
CONTAINER_WORKDIR, reponame,
@@ -1404,7 +1405,7 @@ c["db"] = {
# the 'change_source' setting tells the buildmaster how it should
# find out about source code changes.
-c["change_source"] = [changes.PBChangeSource(user="allcs", passwd="allcs")]
+c["change_source"] = [PBChangeSource(user="allcs", passwd="allcs")]
# 'protocols' contains information about protocols which master
# will use for communicating with workers. You must define at