Skip to content

Commit

Permalink
add docs and NEWS for MasterShellCommand env argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Oct 3, 2010
1 parent d4bdf3f commit ac541c1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
21 changes: 13 additions & 8 deletions master/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ Major User visible changes in Buildbot. -*- outline -*-

* NEXT RELEASE

** New configuration key, 'changeCacheSize'
** New Requirements

This sets the number of changes that buildbot will keep in memory at once.
Users of distributed version control systems should consider setting this to a
high value (e.g. 10,000)
The Buildmaster now requires Jinja-2.1 or higher.

Both master and slave now require Twisted-8.0.0. Although Twisted-2.5.0 may
still work, it is not tested and not supported.

** Command-line options changed

Expand All @@ -22,12 +23,16 @@ command the following changes were done:
Added new `-n|--no-logrotate` flag to create-master command which disables
internal logging and log rotation mechanism in buildbot.tac (ticket #973)

** New Requirements
** MasterShellCommand semantics change

The Buildmaster now requires Jinja-2.1 or higher.
The MasterShellCommand now provides the buildmaster's environment to the step
by default; pass env={} to pass a clean environment, instead.

Both master and slave now require Twisted-8.0.0. Although Twisted-2.5.0 may
still work, it is not tested and not supported.
** New configuration key, 'changeCacheSize'

This sets the number of changes that buildbot will keep in memory at once.
Users of distributed version control systems should consider setting this to a
high value (e.g. 10,000)

** New libvirt-based Latent Buildslave Support

Expand Down
4 changes: 4 additions & 0 deletions master/docs/cfg-buildsteps.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,10 @@ f.addStep(MasterShellCommand(command="""
mv widgetsoft-new.tar.gz widgetsoft-`date +%a`.tar.gz"""))
@end example

Note that, by default, this step passes a copy of the buildmaster's environment
variables to the subprocess. To pass an explicit environment instead, add an
@code{env=@{..@}} argument.

@node Triggering Schedulers
@subsection Triggering Schedulers
@bsindex buildbot.steps.trigger.Trigger
Expand Down

0 comments on commit ac541c1

Please sign in to comment.