Port Bug 1009981 - Switch non-windows in-house builds to us-west-2 bucket for sccache. rs=bustage
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 15 May 2014 07:14:59 +0900
changeset 20111 89b7a9974c32e34ac81d3296bdeb77de7ca8a682
parent 20110 db700c5b26b649937fdfdcf718aef8ea7f248173
child 20112 fede43de894a4548070aa74fb3be3106425c40c7
push id1179
push userCallek@gmail.com
push dateMon, 21 Jul 2014 20:52:37 +0000
treeherdercomm-beta@84d8ef10a503 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1009981
Port Bug 1009981 - Switch non-windows in-house builds to us-west-2 bucket for sccache. rs=bustage
build/mozconfig.cache
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -10,17 +10,24 @@ if test -z "$bucket"; then
 read branch platform master <<EOF
 $(python2.7 -c 'import json; p = json.loads(open("'"$topsrcdir"'/../buildprops.json").read())["properties"]; print p["branch"], p["platform"], p["master"]' 2> /dev/null)
 EOF
 
 bucket=
 if test -z "$SCCACHE_DISABLE" -a -z "$no_sccache"; then
     case "${branch}_${master}" in
     try_*scl1.mozilla.com*|try_*.scl3.mozilla.com*)
-        bucket=mozilla-releng-ceph-cache-scl3-try
+        case "$platform" in
+        win*)
+            bucket=mozilla-releng-ceph-cache-scl3-try
+            ;;
+        *)
+            bucket=mozilla-releng-s3-cache-us-west-2-try
+            ;;
+        esac
         mk_add_options "export SCCACHE_NO_HTTPS=1"
         ;;
     try_*use1.mozilla.com*)
         bucket=mozilla-releng-s3-cache-us-east-1-try
         ;;
     try_*usw2.mozilla.com*)
         bucket=mozilla-releng-s3-cache-us-west-2-try
         ;;