mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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
This commit is contained in:
parent
960cb50ffd
commit
60eff32c9b
2 changed files with 2 additions and 1 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'}
|
||||||
|
|
|
@ -255,6 +255,7 @@ def linux_build_task(name):
|
||||||
"servo-cargo-git": "/root/.cargo/git",
|
"servo-cargo-git": "/root/.cargo/git",
|
||||||
"servo-rustup": "/root/.rustup",
|
"servo-rustup": "/root/.rustup",
|
||||||
"servo-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