Bug 1285506 - include eu-central-1 in tc sccache bucket regions; r=glandium
authorRob Thijssen <rthijssen@mozilla.com>
Mon, 25 Jul 2016 18:58:23 +0100
changeset 346727 784f2a4f0d225a6d945b2309dd479d7ae2d30527
parent 346726 5af04e12e8600cab5109eeb66c6061c5ad901526
child 346728 12ebefcfed9807c6b433afb402a104c45ae3e270
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1285506
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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