[Buildbot-commits] buildbot/contrib/OS-X README, NONE, 1.1 net.sourceforge.buildbot.master.plist, NONE, 1.1 net.sourceforge.buildbot.slave.plist, NONE, 1.1

Brian Warner warner at users.sourceforge.net
Wed Feb 7 08:22:06 UTC 2007


Update of /cvsroot/buildbot/buildbot/contrib/OS-X
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25182/contrib/OS-X

Added Files:
	README net.sourceforge.buildbot.master.plist 
	net.sourceforge.buildbot.slave.plist 
Log Message:
[project @ add Mark Pauley's launchd .plist files]

Original author: warner at lothar.com
Date: 2007-02-07 08:19:42

--- NEW FILE: README ---
Mark Pauley contributed the two launchd plist files for OS-X (10.4+) to start
a buildmaster or buildslave automatically at startup:

 contrib/OS-X/net.sourceforge.buildbot.master.plist
 contrib/OS-X/net.sourceforge.buildbot.slave.plist

His email message is as follows:

  Message-Id: <C0E57556-0432-4EB6-9A6C-22CDC72208E9 at apple.com>
  From: Mark Pauley <mpauley at apple.com>
  To: buildbot-devel <buildbot-devel at lists.sourceforge.net>
  Date: Wed, 24 Jan 2007 11:05:44 -0800
  Subject: [Buildbot-devel] Sample buildbot launchd plists for MacOS 10.4+

  Hi guys,
  	I've had these kicking around for a while and thought that maybe
  someone would like to see them.  Installing either of these two to /
  Library/LaunchDaemons will cause the bulidbot slave or master to auto-
  start as whatever user you like on launch.  This is the "right way to
  do this" going forward, startupitems are deprecated.  Please note that
  this means any tests that require a windowserver connection on os x
  won't work.


--- NEW FILE: net.sourceforge.buildbot.master.plist ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
">
<plist version="1.0">
<dict>
         <key>Label</key>
         <string>net.sourceforge.buildbot.slave</string>

         <!-- Change this to the user you want to run buildbot as -->
         <key>UserName</key>
         <string>buildbot</string>

         <!-- Change this to your buildbot working directory -->
         <key>WorkingDirectory</key>
         <string>/Users/buildbot/Buildbot_Master</string>

         <key>ProgramArguments</key>
         <array>
                 <string>/usr/bin/twistd</string>
                 <string>--nodaemon</string>
                 <string>--python=buildbot.tac</string>
                 <string>--logfile=buildbot.log</string>
                 <string>--prefix=master</string>
         </array>

         <!-- Hack to keep buildbot running even if it crashes -->
         <key>QueueDirectories</key>
         <array> <string>/</string> </array>

	<key>KeepAlive</key>
         <dict>
                 <key>SuccessfulExit</key>
                 <false/>
         </dict>

         <key>RunAtLoad</key>
         <true/>

         <key>StandardErrorPath</key>
         <string>/var/log/build_master.log</string>
</dict>
</plist>

--- NEW FILE: net.sourceforge.buildbot.slave.plist ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
">
<plist version="1.0">
<dict>
         <key>Label</key>
         <string>net.sourceforge.buildbot.slave</string>

         <!-- Change this to the user you want to run buildbot as -->
         <key>UserName</key>
         <string>buildbot</string>

         <!-- Change this to your buildbot working directory -->
         <key>WorkingDirectory</key>
         <string>/Users/buildbot/Buildbot_Slave</string>

         <key>ProgramArguments</key>
         <array>
                 <string>/usr/bin/twistd</string>
                 <string>--nodaemon</string>
                 <string>--python=buildbot.tac</string>
                 <string>--logfile=buildbot.log</string>
                 <string>--prefix=slave</string>
         </array>

         <key>KeepAlive</key>
         <dict>
                 <key>SuccessfulExit</key>
                 <false/>
         </dict>

         <key>RunAtLoad</key>
         <true/>

</dict>
</plist>





More information about the Commits mailing list