mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #21918 - servo:cache-gradle, r=jdm
Taskcluster: cache ~/.gradle This is where are kept files whose downloads sometimes fail, so downloading less often will reduce the impact of those failures. ``` > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'. > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'. > Read timed out ``` https://tools.taskcluster.net/groups/PGuIkH5QQmqghZozhVtmoQ/tasks/CBa6IbLmQJqYgoswRn-hiw/runs/0/logs/public%2Flogs%2Flive.log#L3411 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21918) <!-- Reviewable:end -->
This commit is contained in:
commit
7b464ab75d
2 changed files with 7 additions and 7 deletions
|
@ -28,7 +28,7 @@ tasks:
|
||||||
# Granted to role "repo:github.com/servo/servo:branch:*"
|
# Granted to role "repo:github.com/servo/servo:branch:*"
|
||||||
- "queue:create-task:highest:aws-provisioner-v1/servo-*"
|
- "queue:create-task:highest:aws-provisioner-v1/servo-*"
|
||||||
- "queue:route:index.project.servo.servo.*"
|
- "queue:route:index.project.servo.servo.*"
|
||||||
- "docker-worker:cache:cargo-*"
|
- "docker-worker:cache:servo-*"
|
||||||
|
|
||||||
payload:
|
payload:
|
||||||
maxRunTime: {$eval: '20 * 60'}
|
maxRunTime: {$eval: '20 * 60'}
|
||||||
|
|
|
@ -249,13 +249,13 @@ def linux_build_task(name):
|
||||||
return (
|
return (
|
||||||
linux_task(name)
|
linux_task(name)
|
||||||
# https://docs.taskcluster.net/docs/reference/workers/docker-worker/docs/caches
|
# https://docs.taskcluster.net/docs/reference/workers/docker-worker/docs/caches
|
||||||
# FIMXE: move to servo-* cache names
|
.with_scopes("docker-worker:cache:servo-*")
|
||||||
.with_scopes("docker-worker:cache:cargo-*")
|
|
||||||
.with_caches(**{
|
.with_caches(**{
|
||||||
"cargo-registry-cache": "/root/.cargo/registry",
|
"servo-cargo-registry": "/root/.cargo/registry",
|
||||||
"cargo-git-cache": "/root/.cargo/git",
|
"servo-cargo-git": "/root/.cargo/git",
|
||||||
"cargo-rustup": "/root/.rustup",
|
"servo-rustup": "/root/.rustup",
|
||||||
"cargo-sccache": "/root/.cache/sccache",
|
"servo-sccache": "/root/.cache/sccache",
|
||||||
|
"servo-gradle": "/root/.gradle",
|
||||||
})
|
})
|
||||||
.with_index_and_artifacts_expire_in(build_artifacts_expire_in)
|
.with_index_and_artifacts_expire_in(build_artifacts_expire_in)
|
||||||
.with_max_run_time_minutes(60)
|
.with_max_run_time_minutes(60)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue