Caution
This page documents the latest, unreleased version of Buildbot. For documentation for released versions, see https://docs.buildbot.net/current/.
5.97. Release Notes for Buildbot 0.9.0b8
The following are the release notes for Buildbot 0.9.0b8 This version was released on April 11, 2016.
See Upgrading to Buildbot 0.9.0 for a guide to upgrading from 0.8.x to 0.9.x
5.97.1. Master
5.97.1.1. Features
GitPoller
now has abuildPushesWithNoCommits
option to allow the rebuild of already known commits on new branches.Add GitLab authentication plugin for web UI. See
buildbot.www.oauth2.GitLabAuth
.DockerLatentWorker
now has ahostconfig
parameter that can be used to setup host configuration when creating a new container.DockerLatentWorker
now has anetworking_config
parameter that can be used to setup container networks.The
DockerLatentWorker
volumes
attribute is now renderable.CMake
build step is added. It provides a convenience interface to CMake build system.MySQL InnoDB tables are now supported.
HttpStatusPush
has been ported to reporter API.StashStatusPush
has been ported to reporter API.GithubStatusPush
has been ported to reporter API.summaryCB of
GerritStatusPush
now gets not only pre-processed information but the actual build as well.EC2LatentWorker supports VPCs, instance profiles, and advanced volume mounts.
5.97.1.2. Fixes
Fix loading
LdapUserInfo
plugin and its documentation (bug #3371).Fix deprecation warnings seen with docker-py >= 1.4 when passing arguments to
docker_client.start()
.GitHubEventHandler
now uses the['repository']['html_url']
key in the webhook payload to populaterepository
, as the previously used['url']
and['clone_url']
keys had a different format between push and pull requests and GitHub and GitHub Enterprise instances.Fix race condition where log compression could lead to empty log results in reporter api
Error while applying db upgrade is now properly reported in the buildbot upgrade-master command line.
Made
Interpolate
safe for deepcopy or serialization/deserializationOptimized UI REST requests for child builds and change page.
Fix
DockerLatentWorker
use of volume parameter, they now properly manage src:dest syntax.Fix
DockerLatentWorker
to properly create properties so that docker parameters can be renderable.Lock down autobahn version for python 2.6 (note that autobahn and twisted are no longer supporting 2.6, and thus do not receive security fixes anymore).
Fix docs and example to always use port 8020 for the web ui.
5.97.1.3. Deprecations, Removals, and Non-Compatible Changes
Deprecated
workdir
property has been removed,builddir
property should be used instead.To support MySQL InnoDB, the size of six VARCHAR(256) columns
changes.(author, branch, category, name); object_state.name; user.identifier
was reduced to VARCHAR(255).StatusPush
has been removed from buildbot.Please use the much simpler
HttpStatusPush
instead.
5.97.1.4. Changes for Developers
Worker changes described in below worker section will probably impact a buildbot developer who uses undocumented ‘slave’ API. Undocumented APIs have been replaced without failover, so any custom code that uses it shall be updated with new undocumented API.
5.97.2. Worker
Package buildbot-slave is being renamed buildbot-worker. As the work is not completely finished, neither buildbot-slave==0.9.0b8 or buildbot-worker==0.9.0b8 have been released.
You can safely use any version of buildbot-slave with buildbot==0.9.0b8, either buildbot-slave==0.8.12 or buildbot-slave==0.9.0b7.
5.97.3. Transition to “worker” terminology
Since version 0.9.0 of Buildbot “slave”-based terminology is deprecated in favor of “worker”-based terminology.
For details about public API changes see Transition to “worker” terminology in BuildBot 0.9.0.
API changes done without providing fallback:
Old name |
New name |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other changes done without providing fallback:
Functions argument
buildslaveName
renamed toworkerName
.Loop variables, local variables, helper functions:
Old name
New name
s
w
orworker
sl
w
orworker
bs
(“buildslave”)w
sb
wfb
(“worker for builder”)bs1()
,bs2()
w1()
,w2()
bslave
worker
BS1_NAME
,BS1_ID
,BS1_INFO
W1_NAME
,W1_ID
,W1_INFO
In
buildbot.config.BuilderConfig.getConfigDict
result'slavenames'
key changed to'workernames'
;'slavebuilddir'
key changed to'workerbuilddir'
;'nextSlave'
key changed to'nextWorker'
.buildbot.process.builder.BuilderControl.ping
now generates["ping", "no worker"]
event, instead of["ping", "no slave"]
.buildbot.plugins.util.WorkerChoiceParameter
(previouslyBuildslaveChoiceParameter
) label was changed fromBuild slave
toWorker
.buildbot.plugins.util.WorkerChoiceParameter
(previouslyBuildslaveChoiceParameter
) default name was changed fromslavename
toworkername
.buildbot.status.builder.SlaveStatus
fallback was removed.SlaveStatus
was moved tobuildbot.status.builder.slave
previously, and now it’sbuildbot.status.worker.WorkerStatus
.buildbot.status.status_push.StatusPush
events generation changed (this module will be completely removed in 0.9.x):instead of
slaveConnected
with dataslave=...
now generatedworkerConnected
event with dataworker=...
;instead of
slaveDisconnected
with dataslavename=...
now generatedworkerDisconnected
with dataworkername=...
;instead of
slavePaused
with dataslavename=...
now generatedworkerPaused
event with dataworkername=...
;instead of
slaveUnpaused
with dataslavename=...
now generatedworkerUnpaused
event with dataworkername=...
;
buildbot.status.build.BuildStatus.asDict
returns worker name under'worker'
key, instead of'slave'
key.buildbot.status.builder.BuilderStatus.asDict
returns worker names under'workers'
key, instead of'slaves'
key.Definitely privately used “slave”-named variables and attributes were renamed, including tests modules, classes and methods.
5.97.3.1. Database
Database API changes done without providing fallback.
Old name |
New name |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.97.3.2. Data API
Python API changes:
Old name |
New name |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Changed REST endpoints:
Old name |
New name |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Changed REST object keys:
Old name |
New name |
---|---|
|
|
|
|
|
|
|
|
data_module
version bumped from 1.2.0
to 2.0.0
.
5.97.3.3. Web UI
In base web UI (www/base
) and Material Design web UI (www/md_base
) all “slave”-named messages and identifiers were renamed to use “worker” names and new REST API endpoints.
5.97.3.4. MQ layer
buildslaveid
key in messages were replaced with workerid
.
5.97.4. Details
For a more detailed description of the changes made in this version, see the git log itself:
git log v0.9.0b7..v0.9.0b8