[151272] contrib/buildbot-test/README.md

mojca at macports.org mojca at macports.org
Thu Aug 11 05:02:13 PDT 2016


Revision: 151272
          https://trac.macports.org/changeset/151272
Author:   mojca at macports.org
Date:     2016-08-11 05:02:13 -0700 (Thu, 11 Aug 2016)
Log Message:
-----------
buildbot-test/README.md: for production one would probably want reverse locations of mp installations (instructions have to be reshuffled a bit and started with how to install macports)

Modified Paths:
--------------
    contrib/buildbot-test/README.md

Modified: contrib/buildbot-test/README.md
===================================================================
--- contrib/buildbot-test/README.md	2016-08-11 11:03:30 UTC (rev 151271)
+++ contrib/buildbot-test/README.md	2016-08-11 12:02:13 UTC (rev 151272)
@@ -2,8 +2,15 @@
 
 ## Setting up both buildbot master and slave for testing on localhost
 
-These steps explain how to install buildbot locally for hacking on the infrastructure. This will run both the buildbot master and buildbot slave on localhost. Note the buildbot slave will run in a non-default prefix, to avoid interfering with your installation in /opt/local.
+These steps explain how to install buildbot locally for hacking on the infrastructure. This will run both the buildbot master and buildbot slave on localhost. Note that the buildbot slave will run in a non-default prefix, to avoid interfering with your installation in `/opt/local`.
 
+For a production setup you would probably want the reverse:
+
+  * let the buildbot slave build ports in `/opt/local`
+  * place the auxiliary installation for tools somewhere else, for example under `/opt/mports`
+
+The exact locations can be configured with `config.json.sample`.
+
 ### Setting up buildbot master on localhost
 
 #### 1. Install buildbot
@@ -27,7 +34,7 @@
     cp .../path/to/contrib/buildbot-test/config.json.sample config.json
     cp .../path/to/contrib/buildbot-test/slaves.json.sample slaves.json
 
-Check settings in config.json and adapt as needed.
+Check settings in `config.json` and adapt as needed.
 
 
 #### 4. Set up authentication
@@ -57,7 +64,7 @@
 
 ### Setting up buildbot slave on localhost
 
-This will use your copy of MacPorts in /opt/local for all tooling, but actual builds on the slave will be made in a separate prefix. Make sure this installation provides an up-to-date ports tree.
+This will use your copy of MacPorts in `/opt/local` for all tooling, but actual builds on the slave will be made in a separate prefix. Make sure this installation provides an up-to-date ports tree.
 
 You will need the subversion port in this prefix for tooling, as `/usr/bin/svn` will have problems validating the Subversion server certificate due to a well-known bug in Mac OS X >= 10.7.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160811/842bbbea/attachment.html>


More information about the macports-changes mailing list