Title: [243896] trunk/Tools
- Revision
- 243896
- Author
- aakash_j...@apple.com
- Date
- 2019-04-04 13:34:11 -0700 (Thu, 04 Apr 2019)
Log Message
[ews-app] configure localhost as BUILDBOT_SERVER_HOST in testing mode
https://bugs.webkit.org/show_bug.cgi?id=196620
Reviewed by Lucas Forschler.
* BuildSlaveSupport/ews-app/ews/config.py:
Modified Paths
Diff
Modified: trunk/Tools/BuildSlaveSupport/ews-app/ews/config.py (243895 => 243896)
--- trunk/Tools/BuildSlaveSupport/ews-app/ews/config.py 2019-04-04 20:34:08 UTC (rev 243895)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/config.py 2019-04-04 20:34:11 UTC (rev 243896)
@@ -22,11 +22,16 @@
import os
+is_test_mode_enabled = os.getenv('EWS_PRODUCTION') is None
+
BUG_SERVER_HOST = 'bugs.webkit.org'
BUG_SERVER_URL = 'https://{}/'.format(BUG_SERVER_HOST)
PATCH_FOLDER = '/tmp/'
-BUILDBOT_SERVER_HOST = 'ews-build.webkit.org'
+if is_test_mode_enabled:
+ BUILDBOT_SERVER_HOST = 'localhost'
+else:
+ BUILDBOT_SERVER_HOST = 'ews-build.webkit.org'
BUILDBOT_SERVER_PORT = '5555'
BUILDBOT_TRY_USERNAME = os.getenv('BUILDBOT_TRY_USERNAME', 'sampleuser')
BUILDBOT_TRY_PASSWORD = os.getenv('BUILDBOT_TRY_PASSWORD', 'samplepass')
Modified: trunk/Tools/ChangeLog (243895 => 243896)
--- trunk/Tools/ChangeLog 2019-04-04 20:34:08 UTC (rev 243895)
+++ trunk/Tools/ChangeLog 2019-04-04 20:34:11 UTC (rev 243896)
@@ -1,3 +1,12 @@
+2019-04-04 Aakash Jain <aakash_j...@apple.com>
+
+ [ews-app] configure localhost as BUILDBOT_SERVER_HOST in testing mode
+ https://bugs.webkit.org/show_bug.cgi?id=196620
+
+ Reviewed by Lucas Forschler.
+
+ * BuildSlaveSupport/ews-app/ews/config.py:
+
2019-04-04 Per Arne Vollan <pvol...@apple.com>
[Win] DumpRenderTreeWatchDog.py is not checked into source
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes