Title: [248470] trunk/Tools
Revision
248470
Author
[email protected]
Date
2019-08-09 12:51:39 -0700 (Fri, 09 Aug 2019)

Log Message

[ews] Add buildbot.tac to repository
https://bugs.webkit.org/show_bug.cgi?id=200580

Reviewed by Jonathan Bedard.

* BuildSlaveSupport/ews-build/buildbot.tac: Added.

Modified Paths

Added Paths

Diff

Added: trunk/Tools/BuildSlaveSupport/ews-build/buildbot.tac (0 => 248470)


--- trunk/Tools/BuildSlaveSupport/ews-build/buildbot.tac	                        (rev 0)
+++ trunk/Tools/BuildSlaveSupport/ews-build/buildbot.tac	2019-08-09 19:51:39 UTC (rev 248470)
@@ -0,0 +1,31 @@
+import os
+
+from twisted.application import service
+from buildbot.master import BuildMaster
+
+basedir = '.'
+
+rotateLength = 50000000
+maxRotatedFiles = 15
+configfile = 'master.cfg'
+
+# Default umask for server
+umask = 022
+
+# if this is a relocatable tac file, get the directory containing the TAC
+if basedir == '.':
+    basedir = os.path.abspath(os.path.dirname(__file__))
+
+# note: this line is matched against to check that this is a buildmaster
+# directory; do not edit it.
+application = service.Application('buildmaster')
+from twisted.python.logfile import LogFile
+from twisted.python.log import ILogObserver, FileLogObserver
+logfile = LogFile.fromFullPath(os.path.join(basedir, "twistd.log"), rotateLength=rotateLength,
+                                maxRotatedFiles=maxRotatedFiles)
+application.setComponent(ILogObserver, FileLogObserver(logfile).emit)
+
+m = BuildMaster(basedir, configfile, umask)
+m.setServiceParent(application)
+m.log_rotation.rotateLength = rotateLength
+m.log_rotation.maxRotatedFiles = maxRotatedFiles

Modified: trunk/Tools/ChangeLog (248469 => 248470)


--- trunk/Tools/ChangeLog	2019-08-09 19:50:44 UTC (rev 248469)
+++ trunk/Tools/ChangeLog	2019-08-09 19:51:39 UTC (rev 248470)
@@ -1,3 +1,12 @@
+2019-08-09  Aakash Jain  <[email protected]>
+
+        [ews] Add buildbot.tac to repository
+        https://bugs.webkit.org/show_bug.cgi?id=200580
+
+        Reviewed by Jonathan Bedard.
+
+        * BuildSlaveSupport/ews-build/buildbot.tac: Added.
+
 2019-08-09  Claudio Saavedra  <[email protected]>
 
         [GTK] Add missing spellchecking packages to dependencies script
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to