Teach build workers to fetch archives from S3.
authorlforschler@apple.com <lforschler@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jul 2017 20:42:11 +0000 (20:42 +0000)
committerlforschler@apple.com <lforschler@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jul 2017 20:42:11 +0000 (20:42 +0000)
https://bugs.webkit.org/show_bug.cgi?id=174384

Reviewed by Aakash Jain.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(DownloadBuiltProduct):

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

Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
Tools/ChangeLog

index 0df8416..97a1fb4 100644 (file)
@@ -24,6 +24,7 @@ import urllib
 from committer_auth import CommitterAuth
 import wkbuild
 
+S3URL = "https://s3-us-west-2.amazonaws.com/"
 
 c = BuildmasterConfig = {}
 
@@ -309,7 +310,7 @@ class UploadMinifiedBuiltProduct(UploadBuiltProduct):
 class DownloadBuiltProduct(shell.ShellCommand):
     command = ["python", "./Tools/BuildSlaveSupport/download-built-product",
         WithProperties("--platform=%(platform)s"), WithProperties("--%(configuration)s"),
-        WithProperties(c["buildbotURL"] + "archives/%(fullPlatform)s-%(architecture)s-%(configuration)s/%(got_revision)s.zip")]
+        WithProperties(S3URL + "archives.webkit.org/%(fullPlatform)s-%(architecture)s-%(configuration)s/%(got_revision)s.zip")]
     name = "download-built-product"
     description = ["downloading built product"]
     descriptionDone = ["downloaded built product"]
index 37a783a..c39d24f 100644 (file)
@@ -1,5 +1,15 @@
 2017-07-11  Lucas Forschler  <lforschler@apple.com>
 
+        Teach build workers to fetch archives from S3.
+        https://bugs.webkit.org/show_bug.cgi?id=174384
+
+        Reviewed by Aakash Jain.
+
+        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+        (DownloadBuiltProduct):
+
+2017-07-11  Lucas Forschler  <lforschler@apple.com>
+
         Configure buildbot to transfer all archives to S3.
         Previously this was Mac only, but it's time to expand!
         https://bugs.webkit.org/show_bug.cgi?id=174378