Skip to content
  • ossy@webkit.org's avatar
    Add SVN mirror handling feature to build.webkit.org · 6b2f531e
    ossy@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=85887
    
    Reviewed by Dirk Pranke.
    
    * BuildSlaveSupport/build.webkit.org-config/config.json: Add SVN mirrors for Qt buildslaves hosted in Szeged.
    * BuildSlaveSupport/build.webkit.org-config/master.cfg:
    (ConfigureBuild.__init__): Add SVNMirror property to be able to watch which slaves use which mirror on build.webkit.org.
    (ConfigureBuild.start):
    (CheckOutSource.__init__): Set baseURL to the SVNMirror or the default http://svn.webkit.org/repository/webkit/
    (WaitForSVNServer): Add new buildstep for waiting the SVNMirror to be in sync with http://svn.webkit.org/repository/webkit/
    (Factory.__init__):
    (BuildFactory.__init__):
    (TestFactory.__init__):
    (BuildAndTestFactory.__init__):
    (BuildAndPerfTestFactory.__init__):
    (BuildAndPerfTestWebKit2Factory.__init__):
    (DownloadAndPerfTestFactory.__init__):
    (DownloadAndPerfTestWebKit2Factory.__init__):
    (loadBuilderConfig): Use kwargs instead of args to be able to add the optional SVNMirror factory argument.
    * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
    (SVNMirrorTest):
    (SVNMirrorTest.setUp): Load config.json once at startup.
    (SVNMirrorTest.get_SVNMirrorFromConfig): Get the SVNMirror from config.json for a given buildslave.
    (SVNMirrorTest.test_CheckOutSource): Compare CheckOutSource.baseURL with SVNMirror in config.json for all builders
    * BuildSlaveSupport/build.webkit.org-config/wait-for-SVN-server.py: Added.
    (getLatestSVNRevision): Get the latest SVN revison from the given server.
    (waitForSVNRevision): Wait until the given SVN revision is committed to the given server. It doesn't wait if the
                          SVN revision is empty (force build triggered without revision) or the server is unavailable.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6b2f531e