← Back to team overview

yellow team mailing list archive

Juju for buildbot master

 

Hi Graham,

On Friday I got the Juju charm working to deploy a buildbot master, using the default configuration to run with pyflakes as the source code under test, and could hit it using the public EC2 address.  The branch for it is at lp:~yellow/launchpad/buildbot-master

To see it you need to do the normal stuff:

% juju bootstrap
% juju deploy --repository=. local:buildbot

And then:

% juju expose

Talking to Kapil he suggested for configuration as complicated as buildbot's that we should just pass the entire configuration string as a setting using "juju set".  We'll have to write a config-changed hook to catch it, write it locally, and then restart buildbot. 

You'll also notice I moved the master.cfg.template file out of hooks into a new subdirectory.  In the hooks we can use $CHARM_DIR to actually find where it put us on the other side.

--Brad