enable sccache on windows gcp builders
Categories
(Infrastructure & Operations :: RelOps: OpenCloudConfig, task)
Tracking
(Not tracked)
People
(Reporter: grenade, Assigned: grenade)
References
Details
Attachments
(1 file)
thanks to ted's documenting sccache support for gcp in bug 1529951, comment 11, it might be simple to enable sccache on windows gcp builders.
let's give it a shot.
Assignee | ||
Comment 1•5 years ago
•
|
||
the windows gcp builders now have all the pieces required to use sccache
- buckets exist ccgc/storage/browser
- iam level 1, 2 & 3 roles exist and are applied to the workers when provisioned
next step is to attempt some try pushes where we make use of ted's step 1 instructions in bug 1529951, comment 11.
Assignee | ||
Comment 2•5 years ago
•
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=f1acdf6 https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=b3fe62c
Assignee | ||
Comment 3•5 years ago
|
||
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 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 textREAD_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.
Assignee | ||
Comment 4•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c56116718a33499f0b98c3d3e09555b95c5f1c9f
Assignee | ||
Comment 5•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0ce6de8a8523170ecf438e0dbc6fcf6506bad59f
Assignee | ||
Comment 6•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e8f96d8bfcb18b67c58154f358daf8dbcf62a3e9
Assignee | ||
Comment 7•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6a088c18c5018e6e444112a1df4c0edf78e99c11
Assignee | ||
Comment 8•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=324c4eefc78c9b571b5bbf83d438c0f926a904c1
Assignee | ||
Comment 9•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cb7b1b61250c9ba6f9e78dbf767acd60d9a9d2c9
Assignee | ||
Comment 10•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a90acfefbf6dfdcf242891ca258dfeb3a304c46b
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 11•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c0f3d3d63d24a7c89b82519cddea15962659c168
Assignee | ||
Comment 12•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8cec9e76a8ceee44046eaf945660e36917370232
Assignee | ||
Comment 13•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=effbc8e24ca93658a1a6af7c4c34472831e6f9c4
Assignee | ||
Comment 14•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b6084df1423881d6952aa444ea91b276cee1167c
Assignee | ||
Comment 15•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9687c2b76ba86f83e97900eca9f945abaac564f3
Assignee | ||
Comment 16•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f693109749369f84b15db68d91d65a082c42e722
Assignee | ||
Comment 17•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=17617939ee005aef5d212aedceb450e83014cf28
Assignee | ||
Comment 18•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc485bf076faee03b193d6c5a0bff0393e79c5ba
Assignee | ||
Comment 19•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=edc42e19e39d56a3e85eb067c4ddf4ac73cc9bab
Assignee | ||
Comment 20•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3e9e7c301523db66d86c6f6d37806a727e8b97cb
Assignee | ||
Comment 21•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=37d9d5f3e4451e153634bba909e313895d65180c
Assignee | ||
Comment 22•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2d2eb48bae05cee1133b44924b0328a22a723590
Assignee | ||
Comment 23•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=85063bde04d9bf57943c272f43a4f5b8fa1ea7cf
Assignee | ||
Comment 24•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=38dd5c07bc420131e2d76f730d2702b0c3a0e8da
Assignee | ||
Comment 25•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4a6e7710244208cd6fbab850b03da80d320324de
Assignee | ||
Comment 26•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f3cbcd0485fd7ce3ec873803e7d716b8a2047eb7
Assignee | ||
Comment 27•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d3a18c1d409203027a3e53c8667e46d7255250d5
Assignee | ||
Comment 28•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=796907523f03069e1b6be4cbb575bf332788dd75
Assignee | ||
Comment 29•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0cb7085b7d9dd155c6d7a23a1667f96d6f922b05
Assignee | ||
Comment 30•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=495945c372af514e6c871790ae72ca42e747d25a
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 31•5 years ago
|
||
Comment on attachment 9062135 [details]
enable sccache on gcp
r+ in phabricator
Comment 32•5 years ago
|
||
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b08dd3eeec9
enable sccache on gcp r=wcosta
Comment 33•5 years ago
|
||
bugherder |
Description
•