gecko-dev/build
Rob Thijssen c00716af37 Bug 1543026 - enable sccache on gcp r=wcosta
this change comprises the in-tree changes required to make use of sccache in gcp.
specifically:
- a gcp metadata lookup for availability-zone is added to mozconfig, enabling a build to determine its regional gcp sccache bucket
- the sccache cargo build command is modified to include the gcs feature when the environment contains gcs configuration

note that further changes are required on infra to support sccache use. the required changes already [exist](https://github.com/mozilla-releng/OpenCloudConfig/commit/1d515dc) and are enabled for gcp windows infra, including:
- a json credential file on the build instance filesystem, containing credentials valid for the appropriate scm level bucket for the gcp region
- an `SCCACHE_GCS_KEY_PATH` env variable containing the path to the json credential file
- an `SCCACHE_GCS_RW_MODE` env variable containg the text `READ_WRITE`
- sccache buckets must exist for each region and scm levels 1 & 3
- credentials for scm level 1 buckets **must not** be valid for scm level 3 buckets

on gcp systems which do not contain credential files and the above mentioned env variables (eg gecko-[1-3]-b-linux), sccache should fail gracefully without breaking builds.

Differential Revision: https://phabricator.services.mozilla.com/D29622

--HG--
extra : moz-landing-system : lando
2019-05-02 12:56:20 +00:00
..
autoconf Bug 1537644 - Avoid using link.exe during configure. r=chmanchester 2019-04-09 21:57:19 +00:00
build-clang Bug 1540082 - add support for extra runtime targets in build-clang.py; r=firefox-build-system-reviewers,chmanchester 2019-04-23 19:45:06 +00:00
build-infer Bug 1479401: Include lib directory into the infer tar, and change maintainer. r=andi 2018-07-30 12:45:02 +01:00
clang-plugin Bug 1538060 - Update non-Windows builds to clang 8. r=froydnj 2019-04-02 02:18:10 +00:00
compare-mozconfig Bug 1521584: [win64-aarch64] Add win64-aarch64 release mozconfigs; r=froydnj 2019-01-26 09:50:27 +00:00
debian-packages Bug 1541821 - Update debian7 docker images for CVE-2019-3462. r=tomprince 2019-04-04 16:23:58 +00:00
docs Bug 1526072 - Add build attributes to documentation. r=nalexander 2019-03-27 22:48:24 +00:00
gyp_includes Bug 1480834 - 2. Add x86-64 build support; r=nalexander 2018-09-13 12:09:25 -04:00
macosx Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
mobile Bug 1539603 - Remove obsolete references to MediaPipelineFactory logging; r=jmaher 2019-03-28 00:13:48 +00:00
moz.configure Bug 1536543 - Require rust 1.34. r=froydnj 2019-04-30 22:16:11 +00:00
package/mac_osx
pgo Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku 2019-04-18 01:00:22 +00:00
pymake Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
sanitizers Bug 1518045 - Make Servo use a single thread-pool for layout-related tasks per-process. r=jdm 2019-01-07 00:53:04 +01:00
sparse-profiles Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout 2019-04-10 21:09:46 +03:00
tests/cram Backed out changeset 9567622873d6 (bug 1325897) for causing Toolchains stackwalks bustages CLOSED TREE 2019-04-02 05:36:23 +03:00
unix Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
valgrind Bug 1507340 - Update suppression for bug 966673 to match the libresolv path in the valgrind docker image. r=njn 2018-11-15 01:15:51 +00:00
win32 Bug 1325897 - Unship some Universal CRT DLLs. r=dmajor,glandium 2019-04-04 22:59:55 +00:00
win64 Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
win64-aarch64 Bug 1523540 - Remove WIN64_LIB and WIN64_LINK. r=ted 2019-01-30 21:46:39 +00:00
workspace-hack Bug 1527553 - Update the mozilla-central workspace hack. r=firefox-build-system-reviewers,mshal 2019-02-26 19:37:49 +00:00
.gdbinit_python.in
.lldbinit.in Bug 1525968 - Post: Make $topobjdir/.lldbinit reference full build symbols on Android. r=froydnj 2019-03-27 22:37:58 +00:00
__init__.py
appini_header.py Backed out changeset 602bdd9d5a96 (bug 1461851) for linting failures on /checkouts/gecko/build/appini_header.py on a CLOSED TREE 2018-05-30 19:03:50 +03:00
application.ini.in
automation.py.in Bug 1539603 - Remove obsolete references to MediaPipelineFactory logging; r=jmaher 2019-03-28 00:13:48 +00:00
binary-location.mk
buildconfig.py
cargo-host-linker Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
cargo-host-linker.bat Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
cargo-linker Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
cargo-linker.bat Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
checksums.py Bug 1455143 - Refactor checksumming to occur after upload.py; r=ted 2018-04-18 16:24:03 -07:00
defines.sh
dumbmake-dependencies Bug 1363061 - Rename toolkit/components/jsdownloads to toolkit/components/downloads. r=mak 2018-03-06 17:40:59 +00:00
gecko_templates.mozbuild Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor 2019-01-14 16:58:34 +00:00
gen_automation.py Bug 1372381 - Generate automation.py with GENERATED_FILES rather than Makefile.in r=mshal 2018-04-30 11:08:59 -07:00
gen_symverscript.py Bug 1478499 - Move symbol version script generation for js shared library to moz.build. r=mshal 2018-08-01 13:25:38 -07:00
gen_test_packages_manifest.py Bug 1513570 - Part 4: Back out the jit-tests added in bug 1503012. r=Ms2ger 2018-12-14 18:15:56 +00:00
genrc.sh
gn.mozbuild
gyp.mozbuild Bug 1478000 - nICEr and nrappkit should use the same warnings under clang-cl as with clang; r=dmajor 2018-07-25 14:02:02 -04:00
gyp_base.mozbuild
mach_bootstrap.py Bug 1526072 - Record cpu utilization and clobber/full builds in build telemetry. r=nalexander 2019-03-27 22:42:48 +00:00
merge_profdata.py Bug 1507344 - Add configure machinery for MOZ_PROFILE_USE and merging profile. r=nalexander 2018-12-21 19:02:11 +00:00
moz-automation.mk Bug 1492526: Don't build mar's as part of the build; r=firefox-build-system-reviewers,mshal,Callek 2018-10-01 18:15:40 +00:00
moz.build Bug 1548137 - Change bug component for build/mobile; r=jmaher 2019-04-30 22:45:44 +00:00
mozconfig.artifact Bug 1537707 - Don't use full build symbols artifacts when MOZ_DISABLE_FULL_SYMBOLS is set. r=chmanchester 2019-03-23 09:29:25 +09:00
mozconfig.artifact.automation Bug 1530908 - Always set USE_ARTIFACT from taskcluster for artifact builds. r=chmanchester 2019-03-06 22:48:30 +00:00
mozconfig.automation Bug 1492526: Don't build mar's as part of the build; r=firefox-build-system-reviewers,mshal,Callek 2018-10-01 18:15:40 +00:00
mozconfig.cache Bug 1543026 - enable sccache on gcp r=wcosta 2019-05-02 12:56:20 +00:00
mozconfig.clang-cl Bug 1523145 - Remove mk_export_correct_style. r=froydnj 2019-01-28 21:06:01 +00:00
mozconfig.comm-support no bug - fix spelling of 'mozila' tree-wide r=me 2019-03-18 15:55:18 -07:00
mozconfig.common Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester 2019-03-06 22:48:05 +00:00
mozconfig.common.override Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester 2019-03-06 22:48:05 +00:00
mozconfig.lld-link Bug 1523145 - Remove mk_export_correct_style. r=froydnj 2019-01-28 21:06:01 +00:00
mozconfig.nasm Bug 1520163 - Add linux64-nasm toolchain. r=glandium 2019-02-25 21:10:41 +00:00
mozconfig.no-compile Bug 1544139 - Un-set RUSTFLAGS for artifact builds. r=froydnj 2019-04-12 22:47:52 +00:00
mozconfig.node Bug 1478995 - Add node toolchain path to automation mozconfigs, r=gps 2018-06-01 14:59:45 -07:00
mozconfig.pgo Bug 1528499 - Don't PGO the base-toolchain tasks on release branches. r=ted 2019-02-20 07:46:31 +09:00
mozconfig.rust Bug 1478813 - Auto-generate ServoStyleConsts. r=xidorn,ted 2018-08-17 19:48:23 +02:00
mozconfig.stylo
mozconfig.win-common Bug 1492526: Don't build mar's as part of the build; r=firefox-build-system-reviewers,mshal,Callek 2018-10-01 18:15:40 +00:00
qemu-wrap
submit_telemetry_data.py Bug 1505086: use `mach python` to submit build telemetry r=ted 2018-11-12 14:57:57 +00:00
templates.mozbuild Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
test_templates.mozbuild
update-settings.ini
upload.py Bug 1455127 - Remove --package from upload.py; r=ted 2018-04-19 09:31:00 -07:00
upload_generated_sources.py
variables.py
virtualenv_packages.txt Bug 1522931 - Vendor biplist; r=froydnj 2019-04-12 19:00:15 +00:00
windows_toolchain.py Bug 1530587 - Don't optimize jars without preloading/reordering data. r=chmanchester 2019-02-27 01:26:46 +00:00