[Buildbot-commits] [Buildbot] #2310: upgrade-master doesn't support master.cfg located outside of basedir

Buildbot nobody at buildbot.net
Sun Feb 10 22:37:03 UTC 2013


#2310: upgrade-master doesn't support master.cfg located outside of basedir
-----------------------------+-----------------------
Reporter:  KeiKun            |       Owner:
    Type:  enhancement       |      Status:  assigned
Priority:  patches-accepted  |   Milestone:  0.8.8
 Version:  0.8.6p1           |  Resolution:
Keywords:  simple            |
-----------------------------+-----------------------
Changes (by dustin):

 * owner:  tom.prince =>


Old description:

> Hi!
>
> i was trying to change my master.cfg location
> like for example
> its my buildmaster is located at
> /home/user/master/ (and so as my master.cfg is found)
> i wanna change my master.cfg location to
> /home/user/buildbot/
>
> i tried editing
>
> configfile = r'master.cfg' to configfile =
> r'/home/user/buildbot/master.cfg'
>
> but still buildbot is finding the master.cfg in /home/user/master/
> why is this happening

New description:

 Some buildbot subcommands (e.g., buildbot checkconfig) currently assume
 that its configuration file is named master.cfg, and is located in the
 master's basedir.  This is not always the case.  The name location of the
 config file is specified in the master's basedir, so it isn't difficult to
 find.

 All of the buildbot subcommands should support a master.cfg that is not in
 the default location.  Tests should verify that this is the case.

 At least 'buildbot checkconfig' and 'buildbot upgrade-master' do not work
 correctly.

--

Comment:

 I'm rewriting this description for contributors.  Previous description:
 ----
 Hi!

 i was trying to change my master.cfg location
 like for example
 its my buildmaster is located at
 /home/user/master/ (and so as my master.cfg is found)
 i wanna change my master.cfg location to
 /home/user/buildbot/

 i tried editing

 configfile = r'master.cfg' to configfile =
 r'/home/user/buildbot/master.cfg'

 but still buildbot is finding the master.cfg in /home/user/master/
 why is this happening

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2310#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list