[Buildbot-devel] Updating Buildbot

Mike Winter (miwinter) miwinter at cisco.com
Thu Jul 23 00:08:32 UTC 2009


I would consider backing up all of .../lib/python-2.X/site-packages/*
considering that it depends on twistd, and zope which I assume for now
we dont have to edit.
 
After that I would do an easy-install of buildbot with an upgrade
version parameter -q
 
easy_install -Z -q buildbot==0.7.10

Since you are working in a production env. I would dry-run in a test or
virtualenv first. Including trying production config with a couple of
test-slaves....
 
all usual disclaimers apply
 
#!/bin/bash
# Install virtualenv
 
prefix=$(/bin/pwd)
pythonVersion=2.3
local_lib_dir=lib/python$pythonVersion/site-packages
 
mkdir -p $local_lib_dir
PYTHONPATH=$local_lib_dir easy_install-$pythonVersion -q --prefix
$prefix virtualenv

# assume twistd not changing
bin/virtualenv --no-site-packages test_venv
source test_venv/bin/activate
easy_install -Z -q buildbot==0.7.9
#END SCRIPT
 
> source test_venv/activate
> which python
....../test_venv/bin/python
 
> easy_install -Z -q buildbot==0.7.10

 
________________________________

From: Bob Hood [mailto:bhood2 at comcast.net] 
Sent: Wednesday, July 22, 2009 4:34 PM
To: Buildbot Mailing List
Subject: [Buildbot-devel] Updating Buildbot


I apologize in advance for this question.  I'm sure it's been asked over
and over, but I cannot find an FAQ, and a search of the documentation,
Goolge, and the archives for this mailing list failed to produce the
specific results I needed (probably couldn't get the keywords right).

I have a production system running Buildbot 0.7.9 and I want to update
it in-place.  I cannot seem to find any tutorial or documentation about
how to upgrade Buildbot.  The documentation talks about upgrading the
config files, but not really how to update the actual Buildbot
installation to a new version.  Can somebody point me to the location
that illustrates how this is done?  (It would be nice to be able to
backup the 0.7.9 installation as well in case things go horribly wrong.)

Many thanks.


Render me gone,                       |||
Bob                                 ^(===)^
---------------------------------oOO--(_)--OOo--------------------------
-------
                      "If ya can't beat 'em, tariff 'em."
                                   - Harley-Davidson Motor Company
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090722/b7f31532/attachment.html>


More information about the devel mailing list