Bug fixes
- Improved handling of not found exceptions when stopping containers in Docker latent worker.
- Fixed garbage output from ANSI escape code sequences in build step logs (#7852)
- Fixed
AuthorizedKeysManhole
not picking up the specifiedssh_host_keydir
- Fixed deprecation warnings being incorrectly raised as errors
- Fixed Git step failures when checking out commits containing LFS objects that require authentication
- Fixed crashes when using callable categories with HgPoller
buildbot.reporters.http.HttpStatusPush
now correctly exposes and passes through theskip_encoding
parameter- Implemented bold text style in build step logs (#7853)
- Websocket connections no longer allow unauthenticated users to connect when authorization is enabled
Changes
Build
now has a mutableenv
attribute, which is deep copied from theBuilder
'sBuilderConfig.env
. This allows steps to modify their current build's environment if needed.
Features
- Added a
Build.do_build
field andBuilderConfig.do_build_if
to allow skipping entire builds - Added support for configuring the database engine via the
db.engine_kwargs
configuration key - Added support for tracking exact commits within codebases
buildbot.util.httpclientservice.HTTPSession
now supports mTLS.buildbot.reporters.http.HttpStatusPush
now supports mTLS endpoints by accepting client certificates via thecert
parameter (as either a combined file or tuple)- Added a
Log.flush()
method to flush incomplete log lines without finishing the log - Added a
runtime_timeout
argument toMasterShellCommand
(#8377) - Added a
builds/<buildid>/triggered_builds
Data API endpoint to retrieve builds triggered by a specific build
Misc
- Added a
path_cls
attribute (eitherPureWindowsPath
orPurePosixPath
depending on worker OS). This will replacepath_module
usage with better ergonomics and typing support.
Deprecations and Removals
- BuildFactory workdir callable support has been deprecated. Use renderables instead.
- Endpoint.pathPatterns as a multiline string has been deprecated. Use list of strings instead.
- ResourceType.eventPathPatterns as a multiline string has been deprecated. Use list of strings instead.
- DataConnector.produceEvent() has been deprecated. Use Data API update methods as replacement.
- The
rootlinks
Data and REST API endpoint has been deprecated - Buildbot Master now requires Python 3.9 or newer. Python 3.8 is no longer supported.
- Raising
NotImplementedError
fromreconfigServiceWithSibling
orreconfigService
has been deprecated. UsecanReconfigWithSibling()
that returnsFalse
as a replacement. buildbot.schedulers.base.BaseScheduler
has been deprecated. Replace uses of it withReconfigurableBaseScheduler
.- Old location of
Dependent
scheduler has been deprecated. Instead ofbuildbot.schedulers.basic.Dependent
usebuildbot.plugins.schedulers.Dependent
.