diff options
author | Devan Carpenter <devan@taler.net> | 2023-06-13 00:11:53 -0400 |
---|---|---|
committer | Devan Carpenter <devan@taler.net> | 2023-06-13 00:11:53 -0400 |
commit | 1ad145608ac61b272513cc42bccfdce14721276f (patch) | |
tree | 66dad9d8fd7fc1e07a27191b4ab705d565daa74a | |
parent | 13ff12c811fda692da9e45305528f963b0f71d82 (diff) | |
download | deployment-1ad145608ac61b272513cc42bccfdce14721276f.tar.gz deployment-1ad145608ac61b272513cc42bccfdce14721276f.tar.bz2 deployment-1ad145608ac61b272513cc42bccfdce14721276f.zip |
buildbot: fix some syntactical errors
-rw-r--r-- | buildbot/master.cfg | 5 |
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 |