Changeset 101663 in webkit


Ignore:
Timestamp:
Dec 1, 2011 5:45:54 AM (12 years ago)
Author:
Adam Roben
Message:

Buildbot fix

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: Moved all of the initialization of

BuildmasterConfig not performed by loadBuilderConfig up to the top of the file. This makes
it possible for build steps to reference things like the buildbotURL property of the config.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r101662 r101663  
    11# -*- python -*-
    22# ex: set syntax=python:
    3 
    4 c = BuildmasterConfig = {}
    53
    64from buildbot.buildslave import BuildSlave
     
    2422from webkitpy.common.net.buildbot import BuildBot as wkbuildbot
    2523
     24
     25c = BuildmasterConfig = {}
     26
     27c['change_source'] = PBChangeSource()
     28
     29# permissions for WebStatus
     30authz = Authz(
     31    forceBuild=False,
     32    forceAllBuilds=False,
     33    pingBuilder=True,
     34    gracefulShutdown=False,
     35    stopBuild=True,
     36    stopAllBuilds=True,
     37    cancelPendingBuild=True,
     38    stopChange=True,
     39    cleanShutdown=False)
     40
     41c['status'] = []
     42c['status'].append(html.WebStatus(http_port=8710,
     43                                  revlink="http://trac.webkit.org/changeset/%s",
     44                                  authz=authz))
     45
     46c['slavePortnum'] = 17000
     47c['projectName'] = "WebKit"
     48c['projectURL'] = "http://webkit.org"
     49c['buildbotURL'] = "http://build.webkit.org/"
     50
     51c['buildHorizon'] = 1000
     52c['logHorizon'] = 500
     53c['eventHorizon'] = 200
     54c['buildCacheSize'] = 60
     55
    2656WithProperties = properties.WithProperties
     57
    2758
    2859class ConfigureBuild(buildstep.BuildStep):
     
    774805
    775806loadBuilderConfig(c)
    776 
    777 c['change_source'] = PBChangeSource()
    778 
    779 # permissions for WebStatus
    780 authz = Authz(
    781     forceBuild=False,
    782     forceAllBuilds=False,
    783     pingBuilder=True,
    784     gracefulShutdown=False,
    785     stopBuild=True,
    786     stopAllBuilds=True,
    787     cancelPendingBuild=True,
    788     stopChange=True,
    789     cleanShutdown=False)
    790 
    791 c['status'] = []
    792 c['status'].append(html.WebStatus(http_port=8710,
    793                                   revlink="http://trac.webkit.org/changeset/%s",
    794                                   authz=authz))
    795 
    796 c['slavePortnum'] = 17000
    797 c['projectName'] = "WebKit"
    798 c['projectURL'] = "http://webkit.org"
    799 c['buildbotURL'] = "http://build.webkit.org/"
    800 
    801 c['buildHorizon'] = 1000
    802 c['logHorizon'] = 500
    803 c['eventHorizon'] = 200
    804 c['buildCacheSize'] = 60
  • trunk/Tools/ChangeLog

    r101662 r101663  
     12011-12-01  Adam Roben  <aroben@apple.com>
     2
     3        Buildbot fix
     4
     5        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Moved all of the initialization of
     6        BuildmasterConfig not performed by loadBuilderConfig up to the top of the file. This makes
     7        it possible for build steps to reference things like the buildbotURL property of the config.
     8
    192011-11-30  Adam Roben  <aroben@apple.com>
    210
Note: See TracChangeset for help on using the changeset viewer.