Revert "Cache $CARGO_HOME"

This reverts commit d0f228ff8c.
This commit is contained in:
Simon Sapin 2018-08-29 18:15:18 +02:00
parent d0f228ff8c
commit 248c23039c
2 changed files with 0 additions and 11 deletions

View file

@ -18,8 +18,6 @@ tasks:
source: ${event.compare} source: ${event.compare}
scopes: scopes:
- "queue:create-task:aws-provisioner-v1/github-worker" - "queue:create-task:aws-provisioner-v1/github-worker"
- "docker-worker:cache:cargo-registry-cache"
- "docker-worker:cache:cargo-git-cache"
payload: payload:
maxRunTime: 600 maxRunTime: 600

View file

@ -19,18 +19,9 @@ payload = {
"owner": os.environ["DECISION_TASK_OWNER"], "owner": os.environ["DECISION_TASK_OWNER"],
"source": os.environ["DECISION_TASK_SOURCE"], "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": { "payload": {
"maxRunTime": 600, "maxRunTime": 600,
"image": "buildpack-deps:bionic-scm", "image": "buildpack-deps:bionic-scm",
"cache": {
"cargo-registry-cache": "/root/.cargo/registry",
"cargo-git-cache": "/root/.cargo/git",
},
"command": [ "command": [
"/bin/bash", "/bin/bash",
"--login", "--login",