[ews-build] Use git on OpenSource EWS bots
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Jan 2019 00:48:44 +0000 (00:48 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Jan 2019 00:48:44 +0000 (00:48 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193092

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-build/steps.py:
(CheckOutSource): Use git instead of svn.
(CheckOutSource.__init__): Use timeout of 2 hours since the initial checkout might take a long time.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239582 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-build/steps.py
Tools/ChangeLog

index 4d541d9..b1f2bbb 100644 (file)
@@ -23,7 +23,7 @@
 from buildbot.process import buildstep, logobserver, properties
 from buildbot.process.results import Results, SUCCESS, FAILURE, WARNINGS, SKIPPED, EXCEPTION, RETRY
 from buildbot.steps import master, shell, transfer
-from buildbot.steps.source import svn
+from buildbot.steps.source import git
 from twisted.internet import defer
 
 import re
@@ -90,14 +90,15 @@ class ConfigureBuild(buildstep.BuildStep):
         return '{}show_bug.cgi?id={}'.format(BUG_SERVER_URL, bug_id)
 
 
-class CheckOutSource(svn.SVN):
+class CheckOutSource(git.Git):
     CHECKOUT_DELAY_AND_MAX_RETRIES_PAIR = (0, 2)
 
     def __init__(self, **kwargs):
-        self.repourl = 'https://svn.webkit.org/repository/webkit/trunk'
+        self.repourl = 'https://git.webkit.org/git/WebKit.git'
         super(CheckOutSource, self).__init__(repourl=self.repourl,
                                                 retry=self.CHECKOUT_DELAY_AND_MAX_RETRIES_PAIR,
-                                                preferLastChangedRev=True,
+                                                timeout=2 * 60 * 60,
+                                                progress=True,
                                                 **kwargs)
 
 
index cef356e..b37e4d4 100644 (file)
@@ -1,3 +1,14 @@
+2019-01-02  Aakash Jain  <aakash_jain@apple.com>
+
+        [ews-build] Use git on OpenSource EWS bots
+        https://bugs.webkit.org/show_bug.cgi?id=193092
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-build/steps.py:
+        (CheckOutSource): Use git instead of svn.
+        (CheckOutSource.__init__): Use timeout of 2 hours since the initial checkout might take a long time.
+
 2019-01-02  Daniel Bates  <dabates@apple.com>
 
         [lldb-webkit] Remove broken code to print WTF::OptionSet::m_storage