[80191] contrib/buildbot/master.cfg

wsiegrist at apple.com wsiegrist at apple.com
Wed Jul 6 08:37:47 PDT 2011


Revision: 80191
          http://trac.macports.org/changeset/80191
Author:   wsiegrist at apple.com
Date:     2011-07-06 08:37:47 -0700 (Wed, 06 Jul 2011)
Log Message:
-----------
Allow for non-production usage on not-80/tcp

Modified Paths:
--------------
    contrib/buildbot/master.cfg

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2011-07-06 15:35:46 UTC (rev 80190)
+++ contrib/buildbot/master.cfg	2011-07-06 15:37:47 UTC (rev 80191)
@@ -201,7 +201,6 @@
     stopAllBuilds = False,
     cancelPendingBuild = False,
 )
-c['status'].append(html.WebStatus(http_port=80, authz=authz_cfg))
 
 ####### PROJECT IDENTITY
 
@@ -212,14 +211,13 @@
 c['title'] = "MacPorts"
 c['titleURL'] = "http://www.macports.org/"
 
-# the 'buildbotURL' string should point to the location where the buildbot's
-# internal web server (usually the html.WebStatus page) is visible. This
-# typically uses the port number set in the Waterfall 'status' entry, but
-# with an externally-visible host name which the buildbot cannot figure out
-# without some help.
+if production:
+    c['buildbotURL'] = "http://build.macports.org/"
+    c['status'].append(html.WebStatus(http_port=80, authz=authz_cfg))
+else:
+    c['buildbotURL'] = "http://localhost:8010/"
+    c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))
 
-c['buildbotURL'] = "http://build.macports.org/"
-
 ####### DB URL
 
 # This specifies what database buildbot uses to store change and scheduler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110706/cf8b4017/attachment.html>


More information about the macports-changes mailing list