Bug 1007991 - Enable sccache on mozilla-inbound and fx-team builds on AWS. r=mshal

This commit is contained in:
Mike Hommey 2014-05-15 07:14:37 +09:00
Родитель 554588845b
Коммит d0874c3fec
1 изменённых файлов: 27 добавлений и 19 удалений

Просмотреть файл

@ -13,26 +13,34 @@ 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
mk_add_options "export SCCACHE_NO_HTTPS=1"
case "${branch}" in
try)
case "${master}" in
*scl1.mozilla.com*|*.scl3.mozilla.com*)
bucket=mozilla-releng-ceph-cache-scl3-try
mk_add_options "export SCCACHE_NO_HTTPS=1"
;;
*use1.mozilla.com*)
bucket=mozilla-releng-s3-cache-us-east-1-try
;;
*usw2.mozilla.com*)
bucket=mozilla-releng-s3-cache-us-west-2-try
;;
esac
;;
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
;;
b2g-inbound_*use1.mozilla.com*)
if test -z "$MOZ_PGO"; then
bucket=mozilla-releng-s3-cache-us-east-1-prod
fi
;;
b2g-inbound_*usw2.mozilla.com*)
if test -z "$MOZ_PGO"; then
bucket=mozilla-releng-s3-cache-us-west-2-prod
fi
b2g-inbound|mozilla-inbound|fx-team)
case "${master}" in
*use1.mozilla.com*)
if test -z "$MOZ_PGO"; then
bucket=mozilla-releng-s3-cache-us-east-1-prod
fi
;;
*usw2.mozilla.com*)
if test -z "$MOZ_PGO"; then
bucket=mozilla-releng-s3-cache-us-west-2-prod
fi
;;
esac
;;
esac
fi