mirror of
https://github.com/servo/servo.git
synced 2025-07-04 05:53:39 +01:00
Cache $CARGO_HOME
This commit is contained in:
parent
d731cf610e
commit
d0f228ff8c
2 changed files with 11 additions and 0 deletions
|
@ -19,9 +19,18 @@ payload = {
|
|||
"owner": os.environ["DECISION_TASK_OWNER"],
|
||||
"source": os.environ["DECISION_TASK_SOURCE"],
|
||||
},
|
||||
# https://docs.taskcluster.net/docs/reference/workers/docker-worker/docs/caches
|
||||
"scopes": [
|
||||
"docker-worker:cache:cargo-registry-cache",
|
||||
"docker-worker:cache:cargo-git-cache",
|
||||
],
|
||||
"payload": {
|
||||
"maxRunTime": 600,
|
||||
"image": "buildpack-deps:bionic-scm",
|
||||
"cache": {
|
||||
"cargo-registry-cache": "/root/.cargo/registry",
|
||||
"cargo-git-cache": "/root/.cargo/git",
|
||||
},
|
||||
"command": [
|
||||
"/bin/bash",
|
||||
"--login",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue