Title: [269634] trunk/Tools
Revision
269634
Author
aakash_j...@apple.com
Date
2020-11-10 11:20:21 -0800 (Tue, 10 Nov 2020)

Log Message

[build.webkit.org] Only upload to S3 when running on production server
https://bugs.webkit.org/show_bug.cgi?id=218755

Reviewed by Jonathan Bedard.

* CISupport/build-webkit-org/steps.py:
(TransferToS3.doStepIf):

Modified Paths

Diff

Modified: trunk/Tools/CISupport/build-webkit-org/steps.py (269633 => 269634)


--- trunk/Tools/CISupport/build-webkit-org/steps.py	2020-11-10 19:19:03 UTC (rev 269633)
+++ trunk/Tools/CISupport/build-webkit-org/steps.py	2020-11-10 19:20:21 UTC (rev 269634)
@@ -34,6 +34,7 @@
 import urllib
 
 APPLE_WEBKIT_AWS_PROXY = "http://proxy01.webkit.org:3128"
+BUILD_WEBKIT_HOSTNAME = 'build.webkit.org'
 CURRENT_HOSTNAME = socket.gethostname().strip()
 RESULTS_WEBKIT_URL = 'https://results.webkit.org'
 RESULTS_SERVER_API_KEY = 'RESULTS_SERVER_API_KEY'
@@ -1074,7 +1075,10 @@
     def finished(self, result):
         return master.MasterShellCommand.finished(self, result)
 
+    def doStepIf(self, step):
+        return CURRENT_HOSTNAME == BUILD_WEBKIT_HOSTNAME
 
+
 class ExtractTestResults(master.MasterShellCommand):
     name = 'extract-test-results'
     descriptionDone = ['Extracted test results']

Modified: trunk/Tools/ChangeLog (269633 => 269634)


--- trunk/Tools/ChangeLog	2020-11-10 19:19:03 UTC (rev 269633)
+++ trunk/Tools/ChangeLog	2020-11-10 19:20:21 UTC (rev 269634)
@@ -1,5 +1,15 @@
 2020-11-10  Aakash Jain  <aakash_j...@apple.com>
 
+        [build.webkit.org] Only upload to S3 when running on production server
+        https://bugs.webkit.org/show_bug.cgi?id=218755
+
+        Reviewed by Jonathan Bedard.
+
+        * CISupport/build-webkit-org/steps.py:
+        (TransferToS3.doStepIf):
+
+2020-11-10  Aakash Jain  <aakash_j...@apple.com>
+
         [build.webkit.org] Update ExtractTestResults step for new buildbot
         https://bugs.webkit.org/show_bug.cgi?id=218759
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to