Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.


Canonical link: https://commits.webkit.org/207612@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aj062 committed Jan 3, 2019
1 parent 375db90 commit 690710f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Tools/BuildSlaveSupport/ews-build/steps.py
Expand Up @@ -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
Expand Down Expand Up @@ -90,14 +90,15 @@ def getBugURL(self, bug_id):
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)


Expand Down
11 changes: 11 additions & 0 deletions Tools/ChangeLog
@@ -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
Expand Down

0 comments on commit 690710f

Please sign in to comment.