Keep build/mozconfig.cache in sync (port of bug 1285506). rs=bustage-fix
authorRichard Marti <richard.marti@gmail.com>
Tue, 26 Jul 2016 19:00:41 +0200
changeset 25463 51c54c39a0a036343cf961df2f7fe8c985fdb59d
parent 25462 495261ce314cb0ea17b38be27efc20cd357f23e0
child 25464 90cfebf9066300eb67e60ecff464b118c723f45e
push id1725
push userclokep@gmail.com
push dateMon, 19 Sep 2016 17:35:08 +0000
treeherdercomm-beta@6ead1abf3817 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1285506
Keep build/mozconfig.cache in sync (port of bug 1285506). rs=bustage-fix
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