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
GitPollernow has abuildPushesWithNoCommitsoption to allow the rebuild of already known commits on new branches.Add GitLab authentication plugin for web UI. See
buildbot.www.oauth2.GitLabAuth.DockerLatentWorkernow has ahostconfigparameter that can be used to setup host configuration when creating a new container.DockerLatentWorkernow has anetworking_configparameter that can be used to setup container networks.The
DockerLatentWorkervolumesattribute is now renderable.CMakebuild step is added. It provides a convenience interface to CMake build system.MySQL InnoDB tables are now supported.
HttpStatusPushhas been ported to reporter API.StashStatusPushhas been ported to reporter API.GithubStatusPushhas been ported to reporter API.summaryCB of
GerritStatusPushnow 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
LdapUserInfoplugin and its documentation (bug #3371).Fix deprecation warnings seen with docker-py >= 1.4 when passing arguments to
docker_client.start().GitHubEventHandlernow 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
Interpolatesafe for deepcopy or serialization/deserializationOptimized UI REST requests for child builds and change page.
Fix
DockerLatentWorkeruse of volume parameter, they now properly manage src:dest syntax.Fix
DockerLatentWorkerto 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
workdirproperty has been removed,builddirproperty should be used instead.To support MySQL InnoDB, the size of six VARCHAR(256) columns
changes.(author, branch, category, name); object_state.name; user.identifierwas reduced to VARCHAR(255).StatusPushhas been removed from buildbot.Please use the much simpler
HttpStatusPushinstead.
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
buildslaveNamerenamed toworkerName.Loop variables, local variables, helper functions:
Old name
New name
sworworkerslworworkerbs(“buildslave”)wsbwfb(“worker for builder”)bs1(),bs2()w1(),w2()bslaveworkerBS1_NAME,BS1_ID,BS1_INFOW1_NAME,W1_ID,W1_INFOIn
buildbot.config.BuilderConfig.getConfigDictresult'slavenames'key changed to'workernames';'slavebuilddir'key changed to'workerbuilddir';'nextSlave'key changed to'nextWorker'.buildbot.process.builder.BuilderControl.pingnow generates["ping", "no worker"]event, instead of["ping", "no slave"].buildbot.plugins.util.WorkerChoiceParameter(previouslyBuildslaveChoiceParameter) label was changed fromBuild slavetoWorker.buildbot.plugins.util.WorkerChoiceParameter(previouslyBuildslaveChoiceParameter) default name was changed fromslavenametoworkername.buildbot.status.builder.SlaveStatusfallback was removed.SlaveStatuswas moved tobuildbot.status.builder.slavepreviously, and now it’sbuildbot.status.worker.WorkerStatus.buildbot.status.status_push.StatusPushevents generation changed (this module will be completely removed in 0.9.x):instead of
slaveConnectedwith dataslave=...now generatedworkerConnectedevent with dataworker=...;instead of
slaveDisconnectedwith dataslavename=...now generatedworkerDisconnectedwith dataworkername=...;instead of
slavePausedwith dataslavename=...now generatedworkerPausedevent with dataworkername=...;instead of
slaveUnpausedwith dataslavename=...now generatedworkerUnpausedevent with dataworkername=...;
buildbot.status.build.BuildStatus.asDictreturns worker name under'worker'key, instead of'slave'key.buildbot.status.builder.BuilderStatus.asDictreturns 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