Bug 1285506 - include eu-central-1 in tc sccache bucket regions; r=glandium draft
authorRob Thijssen <rthijssen@mozilla.com>
Mon, 25 Jul 2016 18:58:23 +0100
changeset 392498 ad07f8726d27fca0308260fd7e4c8f9bdc667fda
parent 392256 b174780b1c6625e5f345555bb64a1cb20608b275
child 526344 96fdab850b6aa0dc742b9816a33c659dde2d6202
push id24040
push userrthijssen@mozilla.com
push dateMon, 25 Jul 2016 17:58:58 +0000
reviewersglandium
bugs1285506
milestone50.0a1
Bug 1285506 - include eu-central-1 in tc sccache bucket regions; r=glandium MozReview-Commit-ID: 801dRLIwGpq
build/mozconfig.cache
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -62,16 +62,19 @@ elif test -z "$CCACHE_DIR" -a -z "$SCCAC
                 ;;
             *hg.mozilla.org/integration/mozilla-inbound*|*hg.mozilla.org/integration/fx-team*)
                 bucket=taskcluster-level-3-sccache-${region}
                 ;;
             esac
 
             # set a dummy master
             case "${region}" in
+            eu-central-1)
+                master=dummy.euc1.mozilla.com
+                ;;
             us-east-1)
                 master=dummy.use1.mozilla.com
                 ;;
             us-west-1)
                 master=dummy.usw1.mozilla.com
                 ;;
             us-west-2)
                 master=dummy.usw2.mozilla.com
@@ -97,17 +100,17 @@ if test -z "$bucket"; then
     esac
 else
     if ! test -e $topsrcdir/sccache/sccache.py; then
         echo "Sccache missing in the tooltool manifest" >&2
         exit 1
     fi
     mk_add_options "export SCCACHE_BUCKET=$bucket"
     case "$master" in
-    *us[ew][12].mozilla.com*)
+    *us[ew][12].mozilla.com*|*euc1.mozilla.com*)
         mk_add_options "export SCCACHE_NAMESERVER=169.254.169.253"
         ;;
     esac
     ac_add_options "--with-compiler-wrapper=python2.7 $topsrcdir/sccache/sccache.py"
     mk_add_options MOZ_PREFLIGHT_ALL+=build/sccache.mk
     mk_add_options MOZ_POSTFLIGHT_ALL+=build/sccache.mk
     mk_add_options "UPLOAD_EXTRA_FILES+=sccache.log.gz"
     case "$platform" in