Skip to content

Commit

Permalink
DockerLatenBuildSlave: Set build_wait_timeout to 0 to better reflect …
Browse files Browse the repository at this point in the history
…documentation
  • Loading branch information
benallard committed Nov 18, 2014
1 parent 5d81f5c commit c3650b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/buildslave/docker.py
Expand Up @@ -38,7 +38,7 @@ class DockerLatentBuildSlave(AbstractLatentBuildSlave):

def __init__(self, name, password, docker_host, image=None, command=None,
max_builds=None, notify_on_missing=None,
missing_timeout=(60 * 20), build_wait_timeout=(60 * 10),
missing_timeout=(60 * 20), build_wait_timeout=0,
properties={}, locks=None, volumes=None, dockerfile=None,
version=None):

Expand Down
4 changes: 3 additions & 1 deletion master/docs/manual/cfg-buildslaves-docker.rst
Expand Up @@ -6,7 +6,9 @@ Docker latent BuildSlave
========================

Docker_ is an open-source project that automates the deployment of applications inside software containers.
Using the Docker latent BuildSlave, a fresh image will be instantiated upon each build, assuring consistency of the environment between builds.
Using the Docker latent BuildSlave, an attempt is made at instantiating a fresh image upon each build, assuring consistency of the environment between builds.
Each image will be discarded once the slave finished processing the build queue (i.e. becomes ``idle``).
See :ref:`build_wait_timeout <Common-Latent-Buildslaves-Options>` to change this behavior.

This document will guide you through the setup of such slaves.

Expand Down
2 changes: 2 additions & 0 deletions master/docs/manual/cfg-buildslaves.rst
Expand Up @@ -131,6 +131,8 @@ Thanks to services such as Amazon Web Services' Elastic Compute Cloud ("AWS EC2"
The buildslaves that are started on-demand are called "latent" buildslaves.
As of this writing, buildbot ships with an abstract base class for building latent buildslaves, and a concrete implementation for AWS EC2 and for libvirt.

.. _Common-Latent-Buildslaves-Options:

Common Options
++++++++++++++

Expand Down

0 comments on commit c3650b9

Please sign in to comment.